Kconfig 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. menu "Hardware Drivers Config"
  2. config SOC_MCXA153
  3. bool
  4. select SOC_MCXA153_SERIES
  5. select RT_USING_COMPONENTS_INIT
  6. select RT_USING_USER_MAIN
  7. default y
  8. menu "On-chip Peripheral Drivers"
  9. config BSP_USING_DMA
  10. bool "Enable DMA"
  11. select RT_USING_DMA
  12. default n
  13. config BSP_USING_PIN
  14. bool "Enable GPIO"
  15. select RT_USING_PIN
  16. default y
  17. menuconfig BSP_USING_UART
  18. config BSP_USING_UART
  19. bool "Enable UART"
  20. select RT_USING_UART
  21. default y
  22. if BSP_USING_UART
  23. config BSP_USING_UART0
  24. bool "Enable LPUART as UART0"
  25. default y
  26. config BSP_USING_UART1
  27. bool "Enable LPUART as UART1"
  28. default n
  29. config BSP_USING_UART2
  30. bool "Enable LPUART as UART2"
  31. default n
  32. endif
  33. menuconfig BSP_USING_I2C
  34. config BSP_USING_I2C
  35. bool "Enable I2C"
  36. select RT_USING_I2C
  37. default n
  38. if BSP_USING_I2C
  39. config BSP_USING_I2C0
  40. bool "Enable I2C0"
  41. default n
  42. endif
  43. menuconfig BSP_USING_SPI
  44. config BSP_USING_SPI
  45. bool "Enable SPI"
  46. select RT_USING_SPI
  47. select BSP_USING_PIN
  48. default n
  49. if BSP_USING_SPI
  50. config BSP_USING_SPI0
  51. bool "Enable SPI0"
  52. default n
  53. config BSP_USING_SPI1
  54. bool "Enable SPI1"
  55. default n
  56. endif
  57. menuconfig BSP_USING_ADC
  58. config BSP_USING_ADC
  59. bool "Enable ADC Channel"
  60. select RT_USING_ADC
  61. default y
  62. if BSP_USING_ADC
  63. config BSP_USING_ADC0
  64. bool "Enable ADC0"
  65. default y
  66. endif
  67. config BSP_USING_FLASH
  68. bool "Enable onchip driver"
  69. select RT_USING_MTD_NOR
  70. default n
  71. menuconfig BSP_USING_FS
  72. bool "Enable File System"
  73. select RT_USING_DFS
  74. default n
  75. if BSP_USING_FS
  76. config BSP_USING_FLASH_LITTLEFS
  77. bool "Enable ONCHIP FLASH(littlefs)"
  78. select BSP_USING_FLASH
  79. select PKG_USING_LITTLEFS
  80. default y
  81. endif
  82. config BSP_USING_WDT
  83. bool "Enable WatchDog"
  84. select RT_USING_WDT
  85. default n
  86. menuconfig BSP_USING_HWTIMER
  87. config BSP_USING_HWTIMER
  88. bool "Enable Hardware Timer"
  89. select RT_USING_HWTIMER
  90. default y
  91. if BSP_USING_HWTIMER
  92. config BSP_USING_CTIMER0
  93. bool "Enable CIMER0"
  94. default y
  95. config BSP_USING_CTIMER1
  96. bool "Enable CIMER1"
  97. default n
  98. config BSP_USING_CTIMER2
  99. bool "Enable CIMER2"
  100. default n
  101. endif
  102. menuconfig BSP_USING_PWM
  103. config BSP_USING_PWM
  104. bool "Enable PWM"
  105. select RT_USING_PWM
  106. default n
  107. if BSP_USING_PWM
  108. config BSP_USING_PWM0
  109. bool "Enable eFlex PWM0"
  110. default n
  111. config BSP_USING_PWM1
  112. bool "Enable eFlex PWM1"
  113. default n
  114. config BSP_USING_PWM2
  115. bool "Enable eFlex PWM2"
  116. default n
  117. endif
  118. endmenu
  119. menu "Board extended module Drivers"
  120. endmenu
  121. endmenu