Kconfig 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. menu "Hardware Drivers Config"
  2. config SOC_STM32H743II
  3. bool
  4. select SOC_SERIES_STM32H7
  5. default y
  6. menu "Onboard Peripheral Drivers"
  7. config BSP_USING_SDRAM
  8. bool "Enable SDRAM"
  9. select BSP_USING_FMC
  10. default n
  11. config BSP_USING_LCD
  12. bool "Enable LCD"
  13. select BSP_USING_LTDC
  14. select BSP_USING_SDRAM
  15. default n
  16. endmenu
  17. menu "On-chip Peripheral Drivers"
  18. config BSP_USING_GPIO
  19. bool "Enable GPIO"
  20. select RT_USING_PIN
  21. default y
  22. menuconfig BSP_USING_UART
  23. bool "Enable UART"
  24. default y
  25. select RT_USING_SERIAL
  26. if BSP_USING_UART
  27. config BSP_USING_UART1
  28. bool "Enable UART1"
  29. default y
  30. endif
  31. config BSP_USING_FMC
  32. bool
  33. default n
  34. config BSP_USING_LTDC
  35. bool
  36. default n
  37. menuconfig BSP_USING_ONCHIP_RTC
  38. bool "Enable RTC"
  39. select RT_USING_RTC
  40. select RT_USING_LIBC
  41. default n
  42. if BSP_USING_ONCHIP_RTC
  43. choice
  44. prompt "Select clock source"
  45. default BSP_RTC_USING_LSE
  46. config BSP_RTC_USING_LSE
  47. bool "RTC USING LSE"
  48. config BSP_RTC_USING_LSI
  49. bool "RTC USING LSI"
  50. endchoice
  51. endif
  52. endmenu
  53. menu "Board extended module Drivers"
  54. endmenu
  55. endmenu