Kconfig 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697
  1. menu "Hardware Drivers Config"
  2. config SOC_HC32F448MC
  3. bool
  4. select SOC_SERIES_HC32F4
  5. select RT_USING_COMPONENTS_INIT
  6. select RT_USING_USER_MAIN
  7. default y
  8. menu "On-chip Drivers"
  9. menuconfig BSP_USING_ON_CHIP_FLASH_CACHE
  10. bool "Enable on-chip Flash Cache"
  11. default y
  12. if BSP_USING_ON_CHIP_FLASH_CACHE
  13. config BSP_USING_ON_CHIP_FLASH_ICODE_CACHE
  14. bool "Enable on-chip Flash ICODE Cache"
  15. default y
  16. config BSP_USING_ON_CHIP_FLASH_DCODE_CACHE
  17. bool "Enable on-chip Flash DCODE Cache"
  18. default y
  19. config BSP_USING_ON_CHIP_FLASH_ICODE_PREFETCH
  20. bool "Enable on-chip Flash ICODE Prefetch"
  21. default y
  22. endif
  23. endmenu
  24. menu "Onboard Peripheral Drivers"
  25. config BSP_USING_TCA9539
  26. bool "Enable TCA9539"
  27. select BSP_USING_I2C
  28. select BSP_USING_I2C1
  29. default n
  30. config BSP_USING_SPI_FLASH
  31. bool "Enable SPI FLASH (w25q64 spi1)"
  32. select BSP_USING_SPI
  33. select BSP_USING_SPI1
  34. select BSP_USING_ON_CHIP_FLASH
  35. select RT_USING_SFUD
  36. select RT_USING_DFS
  37. select RT_USING_FAL
  38. select RT_USING_MTD_NOR
  39. default n
  40. config BSP_USING_EXT_IO
  41. bool
  42. default y
  43. endmenu
  44. menu "On-chip Peripheral Drivers"
  45. config BSP_USING_GPIO
  46. bool "Enable GPIO"
  47. select RT_USING_PIN
  48. select BSP_USING_TCA9539
  49. default y
  50. menuconfig BSP_USING_UART
  51. bool "Enable UART"
  52. default y
  53. select RT_USING_SERIAL
  54. if BSP_USING_UART
  55. menuconfig BSP_USING_UART1
  56. bool "Enable UART1"
  57. default y
  58. if BSP_USING_UART1
  59. config BSP_UART1_RX_USING_DMA
  60. bool "Enable UART1 RX DMA"
  61. depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
  62. default n
  63. config BSP_UART1_TX_USING_DMA
  64. bool "Enable UART1 TX DMA"
  65. depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
  66. default n
  67. config BSP_UART1_RX_BUFSIZE
  68. int "Set UART1 RX buffer size"
  69. range 64 65535
  70. depends on RT_USING_SERIAL_V2
  71. default 256
  72. config BSP_UART1_TX_BUFSIZE
  73. int "Set UART1 TX buffer size"
  74. range 0 65535
  75. depends on RT_USING_SERIAL_V2
  76. default 256
  77. config BSP_UART1_DMA_PING_BUFSIZE
  78. int "Set UART1 RX DMA ping-pong buffer size"
  79. range 32 65535
  80. depends on RT_USING_SERIAL_V2 && BSP_UART1_RX_USING_DMA
  81. default 64
  82. endif
  83. menuconfig BSP_USING_UART2
  84. bool "Enable UART2"
  85. default n
  86. if BSP_USING_UART2
  87. config BSP_UART2_RX_USING_DMA
  88. bool "Enable UART2 RX DMA"
  89. depends on BSP_USING_UART2 && RT_SERIAL_USING_DMA
  90. default n
  91. config BSP_UART2_TX_USING_DMA
  92. bool "Enable UART2 TX DMA"
  93. depends on BSP_USING_UART2 && RT_SERIAL_USING_DMA
  94. default n
  95. config BSP_UART2_RX_BUFSIZE
  96. int "Set UART2 RX buffer size"
  97. range 64 65535
  98. depends on RT_USING_SERIAL_V2
  99. default 256
  100. config BSP_UART2_TX_BUFSIZE
  101. int "Set UART2 TX buffer size"
  102. range 0 65535
  103. depends on RT_USING_SERIAL_V2
  104. default 0
  105. config BSP_UART2_DMA_PING_BUFSIZE
  106. int "Set UART2 RX DMA ping-pong buffer size"
  107. range 32 65535
  108. depends on RT_USING_SERIAL_V2 && BSP_UART2_RX_USING_DMA
  109. default 64
  110. endif
  111. menuconfig BSP_USING_UART3
  112. bool "Enable UART3"
  113. default n
  114. if BSP_USING_UART3
  115. config BSP_UART3_RX_BUFSIZE
  116. int "Set UART3 RX buffer size"
  117. range 64 65535
  118. depends on RT_USING_SERIAL_V2
  119. default 256
  120. config BSP_UART3_TX_BUFSIZE
  121. int "Set UART3 TX buffer size"
  122. range 0 65535
  123. depends on RT_USING_SERIAL_V2
  124. default 0
  125. endif
  126. menuconfig BSP_USING_UART4
  127. bool "Enable UART4"
  128. default n
  129. if BSP_USING_UART4
  130. config BSP_UART4_RX_USING_DMA
  131. bool "Enable UART4 RX DMA"
  132. depends on BSP_USING_UART4 && RT_SERIAL_USING_DMA
  133. default n
  134. config BSP_UART4_TX_USING_DMA
  135. bool "Enable UART4 TX DMA"
  136. depends on BSP_USING_UART4 && RT_SERIAL_USING_DMA
  137. default n
  138. config BSP_UART4_RX_BUFSIZE
  139. int "Set UART4 RX buffer size"
  140. range 64 65535
  141. depends on RT_USING_SERIAL_V2
  142. default 256
  143. config BSP_UART4_TX_BUFSIZE
  144. int "Set UART4 TX buffer size"
  145. range 0 65535
  146. depends on RT_USING_SERIAL_V2
  147. default 256
  148. config BSP_UART4_DMA_PING_BUFSIZE
  149. int "Set UART4 RX DMA ping-pong buffer size"
  150. range 32 65535
  151. depends on RT_USING_SERIAL_V2 && BSP_UART4_RX_USING_DMA
  152. default 64
  153. endif
  154. menuconfig BSP_USING_UART5
  155. bool "Enable UART5"
  156. default n
  157. if BSP_USING_UART5
  158. config BSP_UART5_RX_USING_DMA
  159. bool "Enable UART5 RX DMA"
  160. depends on BSP_USING_UART5 && RT_SERIAL_USING_DMA
  161. default n
  162. config BSP_UART5_TX_USING_DMA
  163. bool "Enable UART5 TX DMA"
  164. depends on BSP_USING_UART5 && RT_SERIAL_USING_DMA
  165. default n
  166. config BSP_UART5_RX_BUFSIZE
  167. int "Set UART5 RX buffer size"
  168. range 64 65535
  169. depends on RT_USING_SERIAL_V2
  170. default 256
  171. config BSP_UART5_TX_BUFSIZE
  172. int "Set UART5 TX buffer size"
  173. range 0 65535
  174. depends on RT_USING_SERIAL_V2
  175. default 256
  176. config BSP_UART5_DMA_PING_BUFSIZE
  177. int "Set UART5 RX DMA ping-pong buffer size"
  178. range 32 65535
  179. depends on RT_USING_SERIAL_V2 && BSP_UART5_RX_USING_DMA
  180. default 64
  181. endif
  182. menuconfig BSP_USING_UART6
  183. bool "Enable UART6"
  184. default n
  185. if BSP_USING_UART6
  186. config BSP_UART6_RX_BUFSIZE
  187. int "Set UART6 RX buffer size"
  188. range 64 65535
  189. depends on RT_USING_SERIAL_V2
  190. default 256
  191. config BSP_UART6_TX_BUFSIZE
  192. int "Set UART6 TX buffer size"
  193. range 0 65535
  194. depends on RT_USING_SERIAL_V2
  195. default 0
  196. endif
  197. endif
  198. menuconfig BSP_USING_I2C
  199. bool "Enable I2C BUS"
  200. default n
  201. select RT_USING_I2C
  202. if BSP_USING_I2C
  203. menuconfig BSP_USING_I2C1_SW
  204. bool "Enable I2C1 BUS (software simulation)"
  205. default n
  206. select RT_USING_I2C_BITOPS
  207. select RT_USING_PIN
  208. if BSP_USING_I2C1_SW
  209. config BSP_I2C1_SCL_PIN
  210. int "i2c1 scl pin number"
  211. range 1 80
  212. default 10
  213. config BSP_I2C1_SDA_PIN
  214. int "I2C1 sda pin number"
  215. range 1 80
  216. default 9
  217. endif
  218. endif
  219. if BSP_USING_I2C
  220. config BSP_I2C_USING_DMA
  221. bool
  222. default n
  223. config BSP_USING_I2C_HW
  224. bool
  225. default n
  226. menuconfig BSP_USING_I2C1
  227. bool "Enable I2C1 BUS"
  228. default n
  229. select BSP_USING_I2C_HW
  230. if BSP_USING_I2C1
  231. config BSP_I2C1_USING_DMA
  232. bool
  233. default n
  234. config BSP_I2C1_TX_USING_DMA
  235. bool "Enable I2C1 TX DMA"
  236. default n
  237. select BSP_I2C_USING_DMA
  238. select BSP_I2C1_USING_DMA
  239. config BSP_I2C1_RX_USING_DMA
  240. bool "Enable I2C1 RX DMA"
  241. default n
  242. select BSP_I2C_USING_DMA
  243. select BSP_I2C1_USING_DMA
  244. endif
  245. menuconfig BSP_USING_I2C2
  246. bool "Enable I2C2 BUS"
  247. default n
  248. select BSP_USING_I2C_HW
  249. if BSP_USING_I2C2
  250. config BSP_I2C2_USING_DMA
  251. bool
  252. default n
  253. config BSP_I2C2_TX_USING_DMA
  254. bool "Enable I2C2 TX DMA"
  255. default n
  256. select BSP_I2C_USING_DMA
  257. select BSP_I2C2_USING_DMA
  258. config BSP_I2C2_RX_USING_DMA
  259. bool "Enable I2C2 RX DMA"
  260. default n
  261. select BSP_I2C_USING_DMA
  262. select BSP_I2C2_USING_DMA
  263. endif
  264. endif
  265. config BSP_USING_ON_CHIP_FLASH
  266. bool "Enable on-chip FLASH"
  267. default n
  268. menuconfig BSP_USING_SPI
  269. bool "Enable SPI BUS"
  270. default n
  271. select RT_USING_SPI
  272. if BSP_USING_SPI
  273. config BSP_SPI_USING_DMA
  274. bool
  275. default n
  276. menuconfig BSP_USING_SPI1
  277. bool "Enable SPI1 BUS"
  278. default n
  279. if BSP_USING_SPI1
  280. config BSP_SPI1_TX_USING_DMA
  281. bool "Enable SPI1 TX DMA"
  282. select BSP_SPI_USING_DMA
  283. default n
  284. config BSP_SPI1_RX_USING_DMA
  285. bool "Enable SPI1 RX DMA"
  286. select BSP_SPI_USING_DMA
  287. select BSP_SPI1_TX_USING_DMA
  288. default n
  289. endif
  290. menuconfig BSP_USING_SPI2
  291. bool "Enable SPI2 BUS"
  292. default n
  293. if BSP_USING_SPI2
  294. config BSP_SPI2_TX_USING_DMA
  295. bool "Enable SPI2 TX DMA"
  296. select BSP_SPI_USING_DMA
  297. default n
  298. config BSP_SPI2_RX_USING_DMA
  299. bool "Enable SPI2 RX DMA"
  300. select BSP_SPI_USING_DMA
  301. select BSP_SPI2_TX_USING_DMA
  302. default n
  303. endif
  304. menuconfig BSP_USING_SPI3
  305. bool "Enable SPI3 BUS"
  306. default n
  307. if BSP_USING_SPI3
  308. config BSP_SPI3_TX_USING_DMA
  309. bool "Enable SPI3 TX DMA"
  310. select BSP_SPI_USING_DMA
  311. default n
  312. config BSP_SPI3_RX_USING_DMA
  313. bool "Enable SPI3 RX DMA"
  314. select BSP_SPI_USING_DMA
  315. select BSP_SPI3_TX_USING_DMA
  316. default n
  317. endif
  318. endif
  319. menuconfig BSP_USING_ADC
  320. bool "Enable ADC"
  321. default n
  322. select RT_USING_ADC
  323. if BSP_USING_ADC
  324. menuconfig BSP_USING_ADC1
  325. bool "Enable ADC1"
  326. default n
  327. if BSP_USING_ADC1
  328. config BSP_ADC1_USING_DMA
  329. bool "using adc1 dma"
  330. default n
  331. endif
  332. menuconfig BSP_USING_ADC2
  333. bool "Enable ADC2"
  334. default n
  335. if BSP_USING_ADC2
  336. config BSP_ADC2_USING_DMA
  337. bool "using adc2 dma"
  338. default n
  339. endif
  340. menuconfig BSP_USING_ADC3
  341. bool "Enable ADC3"
  342. default n
  343. if BSP_USING_ADC3
  344. config BSP_ADC3_USING_DMA
  345. bool "using adc3 dma"
  346. default n
  347. endif
  348. endif
  349. menuconfig BSP_USING_DAC
  350. bool "Enable DAC"
  351. default n
  352. select RT_USING_DAC
  353. if BSP_USING_DAC
  354. config BSP_USING_DAC1
  355. bool "using dac1"
  356. default n
  357. endif
  358. menuconfig BSP_USING_MCAN
  359. bool "Enable MCAN"
  360. default n
  361. select RT_USING_CAN
  362. select RT_CAN_USING_HDR
  363. select BSP_USING_TCA9539
  364. if BSP_USING_MCAN
  365. config BSP_USING_MCAN1
  366. bool "using mcan1"
  367. default n
  368. config BSP_USING_MCAN2
  369. bool "using mcan2"
  370. default n
  371. endif
  372. menuconfig BSP_USING_WDT_TMR
  373. bool "Enable Watchdog Timer"
  374. default n
  375. select RT_USING_WDT
  376. if BSP_USING_WDT_TMR
  377. choice
  378. prompt "Select SWDT/WDT"
  379. default BSP_USING_SWDT
  380. config BSP_USING_SWDT
  381. bool "SWDT(3.72hour(max))"
  382. config BSP_USING_WDT
  383. bool "WDT(10.7s(max))"
  384. endchoice
  385. config BSP_WDT_CONTINUE_COUNT
  386. bool "Low Power Mode Keeps Counting"
  387. default n
  388. endif
  389. menuconfig BSP_USING_RTC
  390. bool "Enable RTC"
  391. select RT_USING_RTC
  392. default n
  393. if BSP_USING_RTC
  394. choice
  395. prompt "Select clock source"
  396. default BSP_RTC_USING_XTAL32
  397. config BSP_RTC_USING_XTAL32
  398. bool "RTC Using XTAL32"
  399. config BSP_RTC_USING_LRC
  400. bool "RTC Using LRC"
  401. config BSP_RTC_USING_XTAL_DIV
  402. bool "RTC Using XTAL Division"
  403. endchoice
  404. endif
  405. menuconfig BSP_USING_PM
  406. bool "Enable PM"
  407. default n
  408. select RT_USING_PM
  409. if BSP_USING_PM
  410. choice
  411. prompt "Select WKTM Clock Src"
  412. default BSP_USING_WKTM_LRC
  413. config BSP_USING_WKTM_XTAL32
  414. bool "Using Xtal32"
  415. config BSP_USING_WKTM_LRC
  416. bool "Using LRC"
  417. if BSP_RTC_USING_XTAL32
  418. config BSP_USING_WKTM_64HZ
  419. bool "Using 64HZ(Note:must use XTAL32 and run RTC)"
  420. endif
  421. endchoice
  422. endif
  423. menuconfig BSP_USING_HWCRYPTO
  424. bool "Using Hardware Crypto drivers"
  425. default n
  426. select RT_USING_HWCRYPTO
  427. if BSP_USING_HWCRYPTO
  428. config BSP_USING_UQID
  429. bool "Enable UQID (unique id)"
  430. default n
  431. config BSP_USING_RNG
  432. bool "Using Hardware RNG"
  433. default n
  434. select RT_HWCRYPTO_USING_RNG
  435. config BSP_USING_CRC
  436. bool "Using Hardware CRC"
  437. default n
  438. select RT_HWCRYPTO_USING_CRC
  439. config BSP_USING_AES
  440. bool "Using Hardware AES"
  441. default n
  442. select RT_HWCRYPTO_USING_AES
  443. if BSP_USING_AES
  444. choice
  445. prompt "Select AES Mode"
  446. default BSP_USING_AES_ECB
  447. config BSP_USING_AES_ECB
  448. bool "ECB mode"
  449. select RT_HWCRYPTO_USING_AES_ECB
  450. endchoice
  451. endif
  452. config BSP_USING_HASH
  453. bool "Using Hardware Hash"
  454. default n
  455. select RT_HWCRYPTO_USING_SHA2
  456. if BSP_USING_HASH
  457. choice
  458. prompt "Select Hash Mode"
  459. default BSP_USING_SHA2_256
  460. config BSP_USING_SHA2_256
  461. bool "SHA2_256 Mode"
  462. select RT_HWCRYPTO_USING_SHA2_256
  463. endchoice
  464. endif
  465. endif
  466. menuconfig BSP_USING_PWM
  467. bool "Enable output PWM"
  468. default n
  469. select RT_USING_PWM
  470. if BSP_USING_PWM
  471. menuconfig BSP_USING_PWM_TMRA
  472. bool "Enable timerA output PWM"
  473. default n
  474. if BSP_USING_PWM_TMRA
  475. menuconfig BSP_USING_PWM_TMRA_1
  476. bool "Enable timerA-1 output PWM"
  477. default n
  478. if BSP_USING_PWM_TMRA_1
  479. config BSP_USING_PWM_TMRA_1_CH1
  480. bool "Enable timerA-1 channel1"
  481. default n
  482. config BSP_USING_PWM_TMRA_1_CH2
  483. bool "Enable timerA-1 channel2"
  484. default n
  485. endif
  486. menuconfig BSP_USING_PWM_TMRA_2
  487. bool "Enable timerA-2 output PWM"
  488. default n
  489. if BSP_USING_PWM_TMRA_2
  490. config BSP_USING_PWM_TMRA_2_CH1
  491. bool "Enable timerA-2 channel1"
  492. default n
  493. config BSP_USING_PWM_TMRA_2_CH2
  494. bool "Enable timerA-2 channel2"
  495. default n
  496. endif
  497. endif
  498. menuconfig BSP_USING_PWM_TMR4
  499. bool "Enable timer4 output PWM"
  500. default n
  501. if BSP_USING_PWM_TMR4
  502. menuconfig BSP_USING_PWM_TMR4_1
  503. bool "Enable timer4-1 output PWM"
  504. default n
  505. if BSP_USING_PWM_TMR4_1
  506. config BSP_USING_PWM_TMR4_1_OUH
  507. bool "Enable TMR4_1_OUH channel0"
  508. default n
  509. config BSP_USING_PWM_TMR4_1_OUL
  510. bool "Enable TMR4_1_OUL channel1"
  511. default n
  512. config BSP_USING_PWM_TMR4_1_OVH
  513. bool "Enable TMR4_1_OVH channel2"
  514. default n
  515. config BSP_USING_PWM_TMR4_1_OVL
  516. bool "Enable TMR4_1_OVL channel3"
  517. default n
  518. config BSP_USING_PWM_TMR4_1_OWH
  519. bool "Enable TMR4_1_OWH channel4"
  520. default n
  521. config BSP_USING_PWM_TMR4_1_OWL
  522. bool "Enable TMR4_1_OWL channel5"
  523. default n
  524. endif
  525. endif
  526. menuconfig BSP_USING_PWM_TMR6
  527. bool "Enable timer6 output PWM"
  528. default n
  529. if BSP_USING_PWM_TMR6
  530. menuconfig BSP_USING_PWM_TMR6_1
  531. bool "Enable timer6-1 output PWM"
  532. default n
  533. if BSP_USING_PWM_TMR6_1
  534. config BSP_USING_PWM_TMR6_1_A
  535. bool "Enable TMR6_1_A channel0"
  536. default n
  537. config BSP_USING_PWM_TMR6_1_B
  538. bool "Enable TMR6_1_B channel1"
  539. default n
  540. endif
  541. endif
  542. endif
  543. menuconfig BSP_USING_QSPI
  544. bool "Enable QSPI BUS"
  545. select RT_USING_QSPI
  546. select RT_USING_SPI
  547. default n
  548. if BSP_USING_QSPI
  549. config BSP_QSPI_USING_DMA
  550. bool "Enable QSPI DMA support"
  551. default n
  552. config BSP_QSPI_USING_SOFT_CS
  553. bool "Enable QSPI Soft CS Pin"
  554. default n
  555. endif
  556. menuconfig BSP_USING_PULSE_ENCODER
  557. bool "Enable Pulse Encoder"
  558. default n
  559. select RT_USING_PULSE_ENCODER
  560. if BSP_USING_PULSE_ENCODER
  561. menuconfig BSP_USING_TMRA_PULSE_ENCODER
  562. bool "Use TIMERA As The Pulse Encoder"
  563. default n
  564. if BSP_USING_TMRA_PULSE_ENCODER
  565. config BSP_USING_PULSE_ENCODER_TMRA_1
  566. bool "Use TIMERA_1 As The Pulse Encoder"
  567. default n
  568. endif
  569. menuconfig BSP_USING_TMR6_PULSE_ENCODER
  570. bool "Use TIMER6 As The Pulse Encoder"
  571. default n
  572. if BSP_USING_TMR6_PULSE_ENCODER
  573. config BSP_USING_PULSE_ENCODER_TMR6_1
  574. bool "Use TIMER6_1 As The Pulse Encoder"
  575. default n
  576. endif
  577. endif
  578. menuconfig BSP_USING_HWTIMER
  579. bool "Enable Hw Timer"
  580. default n
  581. select RT_USING_HWTIMER
  582. if BSP_USING_HWTIMER
  583. config BSP_USING_TMRA_1
  584. bool "Use Timer_a1 As The Hw Timer"
  585. default n
  586. config BSP_USING_TMRA_2
  587. bool "Use Timer_a2 As The Hw Timer"
  588. default n
  589. config BSP_USING_TMRA_3
  590. bool "Use Timer_a3 As The Hw Timer"
  591. default n
  592. config BSP_USING_TMRA_4
  593. bool "Use Timer_a4 As The Hw Timer"
  594. default n
  595. config BSP_USING_TMRA_5
  596. bool "Use Timer_a5 As The Hw Timer"
  597. default n
  598. endif
  599. menuconfig BSP_USING_INPUT_CAPTURE
  600. bool "Enable Input Capture"
  601. default n
  602. select RT_USING_INPUT_CAPTURE
  603. if BSP_USING_INPUT_CAPTURE
  604. menuconfig BSP_USING_INPUT_CAPTURE_TMR6
  605. bool "Use Timer6 As The Input Capture"
  606. default n
  607. if BSP_USING_INPUT_CAPTURE_TMR6
  608. config BSP_USING_INPUT_CAPTURE_TMR6_1
  609. bool "unit 1"
  610. config BSP_USING_INPUT_CAPTURE_TMR6_2
  611. bool "unit 2"
  612. endif
  613. endif
  614. menuconfig BSP_USING_SENSOR
  615. bool "Enable SENSOR"
  616. default n
  617. select RT_USING_HWTIMER
  618. if BSP_USING_SENSOR
  619. config BSP_USING_TMR0_2B
  620. bool "Use KEYSCAN"
  621. select RT_USING_KEYSCAN
  622. default n
  623. endif
  624. endmenu
  625. menu "Board extended module Drivers"
  626. endmenu
  627. endmenu