Kconfig 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. menu "Hardware Drivers"
  2. menu "On-chip Peripheral Drivers"
  3. menuconfig BSP_USING_UART
  4. bool "Enable UART"
  5. default y
  6. select USE_SERIAL # sdk serial component
  7. select RT_USING_SERIAL
  8. if BSP_USING_UART
  9. config RT_USING_UART1
  10. bool "Enable UART1"
  11. default y
  12. config RT_USING_UART0
  13. bool "Enable UART0"
  14. default n
  15. endif
  16. menuconfig BSP_USING_SPI
  17. bool "Enable Spi"
  18. default n
  19. select USE_SPI # sdk spi component
  20. select RT_USING_SPI
  21. if BSP_USING_SPI
  22. config RT_USING_SPIM0
  23. bool "Enable spim0"
  24. default n
  25. config RT_USING_SPIM1
  26. bool "Enable spim1"
  27. default n
  28. config RT_USING_SPIM2
  29. bool "Enable spim2"
  30. default y
  31. config RT_USING_SPIM3
  32. bool "Enable spim3"
  33. default n
  34. endif
  35. menuconfig BSP_USING_CAN
  36. bool "Enable CAN"
  37. default n
  38. select RT_USING_CAN
  39. select RT_CAN_USING_HDR
  40. select RT_CAN_USING_CANFD
  41. menuconfig BSP_USING_GPIO
  42. bool "Enable GPIO"
  43. default n
  44. select RT_USING_PIN
  45. menuconfig BSP_USING_QSPI
  46. bool "Enable QSPI"
  47. default n
  48. select RT_USING_QSPI
  49. select RT_USING_SPI
  50. select BSP_USING_SPI
  51. select BSP_USING_GPIO
  52. if BSP_USING_QSPI
  53. config USING_QSPI_CHANNEL0
  54. bool "using qspi channel_0"
  55. default n
  56. config USING_QSPI_CHANNEL1
  57. bool "using qspi channel_1"
  58. default n
  59. endif
  60. menuconfig BSP_USING_ETH
  61. bool "Enable ETH"
  62. default y
  63. select USE_ETH
  64. if BSP_USING_ETH
  65. config RT_LWIP_PBUF_POOL_BUFSIZE
  66. int "The size of each pbuf in the pbuf pool"
  67. range 1500 2000
  68. default 1700
  69. endif
  70. menuconfig BSP_USING_SDIO
  71. bool "Enable SDIO"
  72. default y
  73. select RT_USING_SDIO
  74. if BSP_USING_SDIO
  75. config BSP_USING_SDCARD_FATFS
  76. bool "Enable SDCARD (FATFS)"
  77. select RT_USING_DFS_ELMFAT
  78. default y
  79. choice
  80. prompt "Choose a card to mount"
  81. default USING_SDIO1
  82. config USING_SDIO0
  83. bool "Use SDIO0"
  84. config USING_SDIO1
  85. bool "Use SDIO1"
  86. config USING_EMMC
  87. bool "Use EMMC"
  88. endchoice
  89. config SDCARD_OFFSET
  90. hex "Block Offset"
  91. default 0x0
  92. help
  93. Skip access start paration of SD Card to protect BIOS
  94. endif
  95. endmenu
  96. menu "Board extended module Drivers"
  97. endmenu
  98. endmenu