Kconfig 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. menu "Hardware Drivers Config"
  2. config SOC_MCXC444
  3. bool
  4. select RT_USING_COMPONENTS_INIT
  5. select RT_USING_USER_MAIN
  6. default y
  7. menu "On-chip Peripheral Drivers"
  8. config BSP_USING_DMA
  9. bool "Enable DMA"
  10. select RT_USING_DMA
  11. default n
  12. config BSP_USING_PIN
  13. bool "Enable GPIO"
  14. select RT_USING_PIN
  15. default y
  16. menuconfig BSP_USING_UART
  17. bool "Enable UART"
  18. default y
  19. select RT_USING_SERIAL
  20. if BSP_USING_UART
  21. config BSP_USING_UART0
  22. bool "Enable UART0"
  23. default y
  24. config BSP_USING_UART1
  25. bool "Enable UART1"
  26. default y
  27. endif
  28. menuconfig BSP_USING_I2C
  29. config BSP_USING_I2C
  30. bool "Enable I2C"
  31. select RT_USING_I2C
  32. default y
  33. if BSP_USING_I2C
  34. config BSP_USING_I2C0
  35. bool "Enable I2C0"
  36. default y
  37. config BSP_USING_I2C1
  38. bool "Enable I2C1"
  39. default y
  40. endif
  41. menuconfig BSP_USING_SPI
  42. config BSP_USING_SPI
  43. bool "Enable SPI"
  44. select RT_USING_SPI
  45. select BSP_USING_PIN
  46. default y
  47. if BSP_USING_SPI
  48. config BSP_USING_SPI0
  49. bool "Enable SPI0"
  50. default n
  51. endif
  52. if BSP_USING_SPI
  53. config BSP_USING_SPI1
  54. bool "Enable SPI1"
  55. default n
  56. endif
  57. config BSP_USING_RTC
  58. bool "Enable RTC"
  59. select RT_USING_RTC
  60. default y
  61. config BSP_USING_WDT
  62. bool "Enable WatchDog"
  63. select RT_USING_WDT
  64. default n
  65. menuconfig BSP_USING_HWTIMER
  66. config BSP_USING_HWTIMER
  67. bool "Enable Timer"
  68. select RT_USING_HWTIMER
  69. default y
  70. menuconfig BSP_USING_PWM
  71. config BSP_USING_PWM
  72. bool "Enable PWM"
  73. select RT_USING_PWM
  74. default y
  75. if BSP_USING_PWM
  76. config BSP_USING_LEDG_PWM
  77. bool "Enable on-board green LED as PWM output (pwm0, channel 3)"
  78. default y
  79. endif
  80. endmenu
  81. endmenu