Kconfig 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. menu "Hardware Drivers Config"
  2. menu "On-chip Peripheral Drivers"
  3. source "$(BSP_DIR)/../libraries/n9h30/rtt_port/Kconfig"
  4. endmenu
  5. menu "On-board Peripheral Drivers"
  6. config BSP_USING_CONSOLE
  7. bool "Enable UART0 for RTT Console(uart0)"
  8. select BSP_USING_UART
  9. select BSP_USING_UART0
  10. default y
  11. config BOARD_USING_IP101GR
  12. bool "Enable ethernet phy supporting(over emac/mdio)"
  13. select BSP_USING_EMAC
  14. select BSP_USING_EMAC0
  15. select BSP_USING_EMAC1
  16. default n
  17. config BOARD_USING_NAU8822
  18. bool "NAU8822 Audio Codec supporting(over i2s, i2c0)"
  19. select NU_PKG_USING_NAU8822
  20. select BSP_USING_I2C0
  21. select BSP_USING_I2S
  22. select BSP_USING_I2S0
  23. default n
  24. config BOARD_USING_STORAGE_SDCARD
  25. bool "SDCARD supporting(over sdh_p0)"
  26. select BSP_USING_SDH
  27. select BSP_USING_SDH0
  28. default y
  29. config BOARD_USING_STORAGE_SPIFLASH
  30. bool "SPIFLASH supporting(over qspi0)"
  31. select BSP_USING_QSPI
  32. select BSP_USING_QSPI0
  33. default y
  34. config BOARD_USING_BUZZER
  35. bool "BUZZER.(over pwm0_ch1)"
  36. select BSP_USING_PWM
  37. select BSP_USING_PWM0
  38. default n
  39. config BOARD_USING_USB0_DEVICE_HOST
  40. select BSP_USING_USBH
  41. select BSP_USING_USBD
  42. bool "Enable USB0 Device/Host"
  43. help
  44. Choose this option if you need USB device or host function mode.
  45. If you need USB host, please remember short to ground on JP1 jumper.
  46. config BOARD_USING_USB1_HOST
  47. select BSP_USING_USBH
  48. bool "Enable USB1 Host"
  49. help
  50. Choose this option if you need USB1 HOST.
  51. endmenu
  52. menu "Board extended module drivers"
  53. config BOARD_USING_LCM
  54. bool "Use LCD panel."
  55. default y
  56. if BOARD_USING_LCM
  57. choice
  58. prompt "Select LCD panel devices.(Over VPOST)"
  59. default BOARD_USING_LCM_FW070TFT_WVGA
  60. config BOARD_USING_LCM_FW070TFT_WVGA
  61. bool "NuDesign TFT-LCD7-WVGA"
  62. select BSP_USING_VPOST
  63. select LCM_USING_FW070TFT
  64. help
  65. Choose this option if you use 7" 800x480x32b LCD panel.
  66. config BOARD_USING_LCM_FW043TFT_HVGA
  67. bool "NuDesign TFT-LCD43-HVGA"
  68. select BSP_USING_VPOST
  69. select LCM_USING_FW043TFT
  70. help
  71. Choose this option if you use 4.3" 480x272x32b LCD panel.
  72. config BOARD_USING_LCM_FW070TFT_WSVGA
  73. bool "NuDesign TFT-LCD7-WSVGA"
  74. select BSP_USING_VPOST
  75. select LCM_USING_FW070TFT_WSVGA
  76. help
  77. Choose this option if you use 7" 1024x600x32b LCD panel.
  78. endchoice
  79. choice
  80. prompt "Select Touch devices."
  81. default BOARD_USING_ADCTOUCH
  82. config BOARD_USING_ADCTOUCH
  83. bool "ADC touching"
  84. select BSP_USING_ADC_TOUCH
  85. select NU_PKG_USING_ADC_TOUCH
  86. help
  87. Choose this option if you use internal ADC touching function.
  88. config BOARD_USING_GT911
  89. bool "GT911 TSC"
  90. select BSP_USING_I2C
  91. select BSP_USING_I2C0
  92. select NU_PKG_USING_TPC
  93. select NU_PKG_USING_TPC_GT911
  94. help
  95. Choose this option if you use GT911 external TSC touching function.
  96. config BOARD_USING_FT5446
  97. bool "FT5446 TSC"
  98. select BSP_USING_I2C
  99. select BSP_USING_I2C0
  100. select NU_PKG_USING_TPC
  101. select NU_PKG_USING_TPC_FT5446
  102. help
  103. Choose this option if you use FT5446 external TSC touching function.
  104. endchoice
  105. endif
  106. endmenu
  107. source "$(BSP_DIR)/../libraries/nu_packages/Kconfig"
  108. endmenu