Kconfig 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. menu "Hardware Drivers Config"
  2. config SOC_VEXPRESS_A9
  3. bool
  4. select ARCH_ARM_CORTEX_A9
  5. select RT_USING_CACHE
  6. select ARCH_ARM_MMU
  7. select RT_USING_COMPONENTS_INIT
  8. select RT_USING_USER_MAIN
  9. select RT_USING_GIC_V2
  10. default y
  11. menu "Onboard Peripheral Drivers"
  12. menuconfig BSP_USING_UART
  13. bool "Enable UART"
  14. default y
  15. select RT_USING_SERIAL
  16. if BSP_USING_UART
  17. config BSP_USING_UART0
  18. bool "Enable UART0"
  19. select RT_USING_UART0
  20. default y
  21. config BSP_USING_UART1
  22. bool "Enable UART1"
  23. select RT_USING_UART1
  24. default n
  25. config BSP_USING_UART2
  26. bool "Enable UART2"
  27. select RT_USING_UART2
  28. default n
  29. config BSP_USING_UART3
  30. bool "Enable UART3"
  31. select RT_USING_UART3
  32. default n
  33. endif
  34. config BSP_USING_LVGL
  35. bool "Enable LVGL for LCD"
  36. select PKG_USING_LVGL
  37. select BSP_DRV_CLCD
  38. select BSP_DRV_MOUSE
  39. default n
  40. if BSP_USING_LVGL
  41. config BSP_USING_LVGL_DEMO
  42. bool "Enable LVGL demo"
  43. select PKG_USING_LV_MUSIC_DEMO
  44. default y
  45. endif
  46. config BSP_DRV_CLCD
  47. bool "CLCD driver"
  48. select RT_USING_LCD
  49. default n
  50. config BSP_DRV_MOUSE
  51. bool "MOUSE driver"
  52. default n
  53. if BSP_DRV_CLCD
  54. config BSP_LCD_WIDTH
  55. int "Width of LCD panel"
  56. default 640
  57. config BSP_LCD_HEIGHT
  58. int "Height of LCD panel"
  59. default 480
  60. endif
  61. config BSP_DRV_EMAC
  62. bool "Enable EMAC driver"
  63. select RT_USING_LWIP
  64. select RT_USING_POSIX_FS
  65. select RT_USING_POSIX_SOCKET
  66. default n
  67. config BSP_DRV_AUDIO
  68. bool "Audio driver"
  69. select RT_USING_AUDIO
  70. default n
  71. endmenu
  72. endmenu