Kconfig 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. menu "Hardware Drivers Config"
  2. config SOC_MCXN947
  3. bool
  4. select SOC_MCXN947_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_UART4
  24. bool "Enable Flexcomm4 as UART"
  25. default y
  26. endif
  27. menuconfig BSP_USING_I2C
  28. config BSP_USING_I2C
  29. bool "Enable I2C"
  30. select RT_USING_I2C
  31. default y
  32. if BSP_USING_I2C
  33. config BSP_USING_I2C0
  34. bool "Enable Flexcomm0 I2C"
  35. default y
  36. config BSP_USING_I2C1
  37. bool "Enable Flexcomm1 I2C"
  38. default y
  39. endif
  40. menuconfig BSP_USING_SPI
  41. config BSP_USING_SPI
  42. bool "Enable SPI"
  43. select RT_USING_SPI
  44. default y
  45. if BSP_USING_SPI
  46. config BSP_USING_SPI3
  47. bool "Enable Flexcomm3 as SPI"
  48. default n
  49. config BSP_USING_SPI8
  50. bool "Enable Flexcomm8 as High Speed SPI"
  51. default y
  52. endif
  53. menuconfig BSP_USING_ADC
  54. config BSP_USING_ADC
  55. bool "Enable ADC Channel"
  56. select RT_USING_ADC
  57. default y
  58. if BSP_USING_ADC
  59. config BSP_USING_ADC0_CH0
  60. bool "Enable ADC0 Channel0"
  61. default y
  62. config BSP_USING_ADC0_CH1
  63. bool "Enable ADC0 Channel1"
  64. default n
  65. config BSP_USING_ADC0_CH8
  66. bool "Enable ADC0 Channel8"
  67. default n
  68. config BSP_USING_ADC0_CH13
  69. bool "Enable ADC0 Channel13"
  70. default n
  71. config BSP_USING_ADC0_CH26
  72. bool "Enable ADC0 Channel26"
  73. default n
  74. endif
  75. config BSP_USING_SDIO
  76. bool "Enable SDIO SD Card Interface"
  77. select RT_USING_SDIO
  78. select RT_USING_DFS
  79. select RT_USING_DFS_ELMFAT
  80. default y
  81. config BSP_USING_RTC
  82. bool "Enable RTC"
  83. select RT_USING_RTC
  84. default y
  85. config BSP_USING_WDT
  86. bool "Enable WatchDog"
  87. select RT_USING_WDT
  88. default n
  89. menuconfig BSP_USING_HWTIMER
  90. config BSP_USING_HWTIMER
  91. bool "Enable Timer"
  92. select RT_USING_HWTIMER
  93. default y
  94. if BSP_USING_HWTIMER
  95. config BSP_USING_CTIMER0
  96. bool "Enable CIMER0"
  97. default y
  98. config BSP_USING_CTIMER1
  99. bool "Enable CIMER1"
  100. default n
  101. config BSP_USING_CTIMER3
  102. bool "Enable CIMER3"
  103. default n
  104. config BSP_USING_CTIMER4
  105. bool "Enable CIMER4"
  106. default n
  107. endif
  108. menuconfig BSP_USING_PWM
  109. config BSP_USING_PWM
  110. bool "Enable PWM"
  111. select RT_USING_PWM
  112. default y
  113. if BSP_USING_PWM
  114. config BSP_USING_CTIMER1_MAT0
  115. bool "Enable CIMER1 Match0 as PWM output"
  116. default y
  117. config BSP_USING_CTIMER2_MAT0
  118. bool "Enable CIMER2 Match0 as PWM output"
  119. default n
  120. config BSP_USING_CTIMER2_MAT1
  121. bool "Enable CIMER2 Match1 as PWM output"
  122. default n
  123. config BSP_USING_CTIMER2_MAT2
  124. bool "Enable CIMER2 Match2 as PWM output"
  125. default n
  126. config BSP_USING_CTIMER3_MAT2
  127. bool "Enable CIMER3 Match2 as PWM output"
  128. default n
  129. endif
  130. endmenu
  131. menu "Board extended module Drivers"
  132. endmenu
  133. endmenu