Kconfig 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. menu "Hardware Drivers Config"
  2. config SOC_STM32F429IG
  3. bool
  4. select SOC_SERIES_STM32F4
  5. default y
  6. menu "Onboard Peripheral Drivers"
  7. config BSP_USING_USB_TO_USART
  8. bool "Enable USB TO USART (uart1)"
  9. select BSP_USING_UART1
  10. default y
  11. config BSP_USING_COM2
  12. bool "Enable COM2 (uart2 pin conflict with Ethernet)"
  13. select BSP_USING_UART2
  14. default n
  15. config BSP_USING_COM3
  16. bool "Enable COM3 (uart3)"
  17. select BSP_USING_UART3
  18. default n
  19. config BSP_USING_SDRAM
  20. bool "Enable SDRAM"
  21. default n
  22. config BSP_USING_SPI_FLASH
  23. bool "Enable SPI FLASH (w25q256 spi5)"
  24. select BSP_USING_SPI5
  25. select RT_USING_SFUD
  26. select RT_SFUD_USING_SFDP
  27. default n
  28. config BSP_USING_MPU9250
  29. bool "Enable MPU 9250 (i2c1)"
  30. select BSP_USING_I2C1
  31. select PKG_USING_MPU6XXX
  32. default n
  33. config BSP_USING_ETH
  34. bool "Enable Ethernet"
  35. default n
  36. select RT_USING_LWIP
  37. select PKG_USING_PCF8574
  38. select BSP_USING_I2C1
  39. if BSP_USING_ETH
  40. config EXTERNAL_PHY_ADDRESS
  41. hex
  42. default 0x00
  43. endif
  44. endmenu
  45. menu "On-chip Peripheral Drivers"
  46. config BSP_USING_GPIO
  47. bool "Enable GPIO"
  48. select RT_USING_PIN
  49. default y
  50. config BSP_USING_UART1
  51. bool "Enable UART1"
  52. select RT_USING_SERIAL
  53. default y
  54. config BSP_USING_UART2
  55. bool "Enable UART2"
  56. select RT_USING_SERIAL
  57. default n
  58. config BSP_USING_UART3
  59. bool "Enable UART3"
  60. select RT_USING_SERIAL
  61. default n
  62. config BSP_UART_USING_DMA_RX
  63. bool "Enable UART RX DMA support"
  64. default y
  65. config BSP_USING_ON_CHIP_FLASH
  66. bool "Enable on-chip FLASH"
  67. default n
  68. config BSP_USING_SPI1
  69. bool "Enable SPI1 BUS"
  70. select RT_USING_SPI
  71. default n
  72. config BSP_USING_SPI2
  73. bool "Enable SPI2 BUS"
  74. select RT_USING_SPI
  75. default n
  76. config BSP_USING_SPI5
  77. bool "Enable SPI5 BUS"
  78. select RT_USING_SPI
  79. default n
  80. config BSP_SPI_USING_DMA
  81. bool "Enable SPI DMA support"
  82. default n
  83. menuconfig BSP_USING_I2C1
  84. bool "Enable I2C1 BUS (software simulation)"
  85. default n
  86. select RT_USING_I2C
  87. select RT_USING_I2C_BITOPS
  88. select RT_USING_PIN
  89. if BSP_USING_I2C1
  90. comment "Notice: PH4 --> 116; PH5 --> 117"
  91. config BSP_I2C1_SCL_PIN
  92. int "I2C1 scl pin number"
  93. range 1 176
  94. default 116
  95. config BSP_I2C1_SDA_PIN
  96. int "I2C1 sda pin number"
  97. range 1 176
  98. default 117
  99. endif
  100. menuconfig BSP_USING_ADC
  101. bool "Enable ADC"
  102. default n
  103. select RT_USING_ADC
  104. if BSP_USING_ADC
  105. config BSP_USING_ADC1
  106. bool "Enable ADC1"
  107. default n
  108. config BSP_USING_ADC2
  109. bool "Enable ADC2"
  110. default n
  111. config BSP_USING_ADC3
  112. bool "Enable ADC3"
  113. default n
  114. endif
  115. config BSP_USING_ONCHIP_RTC
  116. bool "Enable RTC"
  117. select RT_USING_RTC
  118. select RT_USING_LIBC
  119. default n
  120. config BSP_USING_WDT
  121. bool "Enable Watchdog Timer"
  122. select RT_USING_WDT
  123. default n
  124. endmenu
  125. menu "Board extended module Drivers"
  126. endmenu
  127. endmenu