Kconfig 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. menu "Hardware Drivers Config"
  2. menu "On-chip Peripheral Drivers"
  3. source "$BSP_DIR/../libraries/m480/rtt_port/Kconfig"
  4. endmenu
  5. menu "On-board Peripheral Drivers"
  6. config BSP_USING_NULINKME
  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. default n
  15. config BOARD_USING_ESP8266
  16. bool "ESP8266 Wi-Fi module supporting(over uart1)"
  17. select BSP_USING_UART
  18. select BSP_USING_UART1
  19. select BSP_USING_UART1_RX_DMA
  20. select BSP_USING_UART1_TX_DMA
  21. select PKG_USING_AT_DEVICE
  22. select AT_DEVICE_USING_ESP8266
  23. select AT_DEVICE_ESP8266_INIT_ASYN
  24. default n
  25. config BOARD_USING_BMX055
  26. bool "BMX055 9-axis sensor(over i2c2)"
  27. select NU_PKG_USING_BMX055
  28. select BSP_USING_I2C2
  29. default n
  30. config BOARD_USING_NAU88L25
  31. bool "NAU88L25 Audio Codec supporting(over i2s, i2c2)"
  32. select NU_PKG_USING_NAU88L25
  33. select BSP_USING_I2C2
  34. select BSP_USING_I2S
  35. select BSP_USING_I2S0
  36. default n
  37. config BOARD_USING_STORAGE_SDCARD
  38. bool "SDCARD supporting(over sdh0)"
  39. select BSP_USING_SDH
  40. select BSP_USING_SDH0
  41. default n
  42. config BOARD_USING_STORAGE_SPIFLASH
  43. bool "SPIFLASH supporting(over qspi0)"
  44. select BSP_USING_QSPI
  45. select BSP_USING_QSPI0
  46. default y
  47. choice
  48. prompt "Select FS/HS USB Ports"
  49. config BOARD_USING_HSUSBD
  50. select BSP_USING_HSUSBD
  51. bool "Enable HSUSBD(over USB2.0)"
  52. help
  53. Choose this option if you need HSUSBD function mode.
  54. config BOARD_USING_HSUSBD_USBH
  55. select BSP_USING_USBH
  56. select BSP_USING_HSUSBD
  57. bool "Enable HSUSBD(over USB2.0) and USBH(over USB1.1)"
  58. help
  59. Choose this option if you need HSUSBD and USBH function mode at the same time.
  60. config BOARD_USING_HSUSBH
  61. select BSP_USING_HSUSBH
  62. bool "Enable HSUSBH(over USB2.0)"
  63. help
  64. Choose this option if you need HSUSBH function mode.
  65. config BOARD_USING_HSUSBH_USBD
  66. select BSP_USING_HSUSBH
  67. select BSP_USING_USBD
  68. bool "Enable HSUSBH(over USB2.0) and USBD(over USB1.1)"
  69. help
  70. Choose this option if you need HSUSBH and USBD function mode at the same time.
  71. config BOARD_USING_HSOTG
  72. select BSP_USING_HSOTG
  73. bool "Enable HSOTG(over USB2.0)"
  74. help
  75. Choose this option if you need HSOTG function mode.
  76. endchoice
  77. endmenu
  78. menu "Board extended module drivers"
  79. config BOARD_USING_MAX31875
  80. bool "MAX31875 Temperature sensor(over i2c1)"
  81. select NU_PKG_USING_MAX31875
  82. select BSP_USING_I2C1
  83. default n
  84. config BOARD_USING_LCD_ILI9341
  85. bool "LCD ILI9341 (over spi2)"
  86. select NU_PKG_USING_ILI9341
  87. select NU_PKG_USING_ILI9341_SPI
  88. select BSP_USING_SPI2
  89. default n
  90. if BOARD_USING_LCD_ILI9341
  91. config BOARD_USING_ILI9341_PIN_BACKLIGHT
  92. int "Specify the pin index of backlight pin index"
  93. range 0 127
  94. default 69
  95. config BOARD_USING_ILI9341_PIN_RESET
  96. int "Specify the pin index of reset pin index"
  97. range 0 127
  98. default 19
  99. config BOARD_USING_ILI9341_PIN_DC
  100. int "Specify the pin index of data&command switching"
  101. range 0 127
  102. default 18
  103. endif
  104. endmenu
  105. endmenu