Kconfig 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682
  1. mainmenu "RT-Thread Configuration"
  2. config BSP_DIR
  3. string
  4. option env="BSP_ROOT"
  5. default "."
  6. config RTT_DIR
  7. string
  8. option env="RTT_ROOT"
  9. default "../.."
  10. config PKGS_DIR
  11. string
  12. option env="PKGS_ROOT"
  13. default "packages"
  14. source "$RTT_DIR/Kconfig"
  15. source "$PKGS_DIR/Kconfig"
  16. menu "Hardware Drivers Config"
  17. config SOC_RP2040
  18. bool
  19. select ARCH_ARM_CORTEX_M0
  20. select RT_USING_COMPONENTS_INIT
  21. select RT_USING_USER_MAIN
  22. select SOC_SERIES_RP2040_PICO
  23. select PKG_USING_RASPBERRYPI_PICO_SDK
  24. default y
  25. menu "Onboard Peripheral Drivers"
  26. config BSP_USING_LVGL
  27. bool "Enable LVGL for LCD"
  28. select PKG_USING_LVGL
  29. select BSP_USING_SPI_LCD
  30. default n
  31. if BSP_USING_LVGL
  32. config BSP_USING_LVGL_DEMO
  33. bool "Enable LVGL demo"
  34. select PKG_USING_LV_MUSIC_DEMO
  35. default y
  36. endif
  37. config BSP_USING_ARDUINO
  38. bool "Compatible with Arduino Ecosystem (RTduino)"
  39. select PKG_USING_RTDUINO
  40. select BSP_USING_UART0
  41. select BSP_UART0_TX_PIN_0
  42. select BSP_UART0_RX_PIN_1
  43. select BSP_USING_UART1
  44. select BSP_UART1_TX_PIN_8
  45. select BSP_UART1_RX_PIN_9
  46. select BSP_USING_GPIO
  47. default n
  48. config BSP_USING_ON_CHIP_FLASH
  49. bool "Enable On-Chip FLASH"
  50. select FAL_DEBUG_CONFIG
  51. select FAL_PART_HAS_TABLE_CFG
  52. default n
  53. endmenu
  54. menu "On-chip Peripheral Drivers"
  55. config BSP_USING_PIN
  56. bool "Enable GPIO"
  57. select RT_USING_PIN
  58. default y
  59. menuconfig BSP_USING_UART
  60. bool "Enable UART"
  61. select RT_USING_SERIAL
  62. default y
  63. if BSP_USING_UART
  64. config BSP_USING_UART0
  65. bool "Enable UART0"
  66. default y
  67. if BSP_USING_UART0
  68. choice
  69. prompt "uart0 tx pin number (GP)"
  70. depends on BSP_USING_UART0
  71. default BSP_UART0_TX_PIN_0
  72. config BSP_UART0_TX_PIN_0
  73. bool "0"
  74. config BSP_UART0_TX_PIN_12
  75. bool "12"
  76. config BSP_UART0_TX_PIN_16
  77. bool "16"
  78. endchoice
  79. config BSP_UART0_TX_PIN
  80. int
  81. default 0 if BSP_UART0_TX_PIN_0
  82. default 12 if BSP_UART0_TX_PIN_12
  83. default 16 if BSP_UART0_TX_PIN_16
  84. choice
  85. prompt "uart0 rx pin number (GP)"
  86. depends on BSP_USING_UART0
  87. default BSP_UART0_RX_PIN_1
  88. config BSP_UART0_RX_PIN_1
  89. bool "1"
  90. config BSP_UART0_RX_PIN_13
  91. bool "13"
  92. config BSP_UART0_RX_PIN_17
  93. bool "17"
  94. endchoice
  95. config BSP_UART0_RX_PIN
  96. int
  97. default 1 if BSP_UART0_RX_PIN_1
  98. default 13 if BSP_UART0_RX_PIN_13
  99. default 17 if BSP_UART0_RX_PIN_17
  100. endif
  101. config BSP_USING_UART1
  102. bool "Enable UART1"
  103. default n
  104. if BSP_USING_UART1
  105. choice
  106. prompt "uart1 tx pin number (GP)"
  107. depends on BSP_USING_UART1
  108. default BSP_UART1_TX_PIN_4
  109. config BSP_UART1_TX_PIN_4
  110. bool "4"
  111. config BSP_UART1_TX_PIN_8
  112. bool "8"
  113. endchoice
  114. config BSP_UART1_TX_PIN
  115. int
  116. default 4 if BSP_UART1_TX_PIN_4
  117. default 8 if BSP_UART1_TX_PIN_8
  118. choice
  119. prompt "uart1 rx pin number (GP)"
  120. depends on BSP_USING_UART1
  121. default BSP_UART1_RX_PIN_5
  122. config BSP_UART1_RX_PIN_5
  123. bool "5"
  124. config BSP_UART1_RX_PIN_9
  125. bool "9"
  126. endchoice
  127. config BSP_UART1_RX_PIN
  128. int
  129. default 5 if BSP_UART1_RX_PIN_5
  130. default 9 if BSP_UART1_RX_PIN_9
  131. endif
  132. endif
  133. menuconfig BSP_USING_SOFT_I2C
  134. bool "Enable I2C BUS (software simulation)"
  135. default n
  136. select RT_USING_I2C
  137. select RT_USING_I2C_BITOPS
  138. select RT_USING_PIN
  139. if BSP_USING_SOFT_I2C
  140. config BSP_USING_SOFT_I2C1
  141. bool "Enable I2C1 Bus (software simulation)"
  142. default n
  143. if BSP_USING_SOFT_I2C1
  144. config BSP_SOFT_I2C1_SCL_PIN
  145. int "i2c1 scl pin number (GP)"
  146. range 0 28
  147. default 2
  148. config BSP_SOFT_I2C1_SDA_PIN
  149. int "I2C1 sda pin number (GP)"
  150. range 0 28
  151. default 3
  152. endif
  153. endif
  154. menuconfig BSP_USING_SOFT_SPI
  155. bool "Enable soft SPI BUS"
  156. default n
  157. select RT_USING_PIN
  158. select RT_USING_SPI_BITOPS
  159. select RT_USING_SPI
  160. if BSP_USING_SOFT_SPI
  161. config BSP_USING_SOFT_SPI0
  162. bool "Enable SPI0 Bus (software simulation)"
  163. default n
  164. if BSP_USING_SOFT_SPI0
  165. config BSP_S_SPI0_SCK_PIN
  166. int "spi0 sck pin number (GP)"
  167. range 0 28
  168. default 6
  169. config BSP_S_SPI0_MOSI_PIN
  170. int "spi0 mosi pin number (GP)"
  171. range 0 28
  172. default 7
  173. config BSP_S_SPI0_MISO_PIN
  174. int "spi0 miso pin number (GP)"
  175. range 0 28
  176. default 4
  177. endif
  178. config BSP_USING_SOFT_SPI1
  179. bool "Enable SPI1 Bus (software simulation)"
  180. default n
  181. if BSP_USING_SOFT_SPI1
  182. config BSP_S_SPI1_SCK_PIN
  183. int "spi1 sck pin number (GP)"
  184. range 0 28
  185. default 10
  186. config BSP_S_SPI1_MOSI_PIN
  187. int "spi1 mosi pin number (GP)"
  188. range 0 28
  189. default 11
  190. config BSP_S_SPI1_MISO_PIN
  191. int "spi1 miso pin number (GP)"
  192. range 0 28
  193. default 12
  194. endif
  195. endif
  196. menuconfig BSP_USING_ADC
  197. bool "Enable ADC"
  198. default n
  199. select RT_USING_ADC
  200. if BSP_USING_ADC
  201. config BSP_USING_ADC0
  202. bool "Enable ADC0 (GP26)"
  203. default n
  204. config BSP_USING_ADC1
  205. bool "Enable ADC1 (GP27)"
  206. default n
  207. config BSP_USING_ADC2
  208. bool "Enable ADC2 (GP28)"
  209. default n
  210. endif
  211. config BSP_USING_WDT
  212. bool "Enable WDT"
  213. select RT_USING_WDT
  214. default n
  215. menuconfig BSP_USING_SPI
  216. bool "Enable SPI"
  217. select RT_USING_SPI
  218. default n
  219. if BSP_USING_SPI
  220. config BSP_USING_SPI0
  221. bool "Enable SPI0"
  222. default n
  223. if BSP_USING_SPI0
  224. choice
  225. prompt "spi0 tx pin number (GP)"
  226. depends on BSP_USING_SPI0
  227. default BSP_SPI0_TX_PIN_3
  228. config BSP_SPI0_TX_PIN_3
  229. bool "3"
  230. config BSP_SPI0_TX_PIN_7
  231. bool "7"
  232. config BSP_SPI0_TX_PIN_19
  233. bool "19"
  234. endchoice
  235. config BSP_SPI0_TX_PIN
  236. int
  237. default 3 if BSP_SPI0_TX_PIN_3
  238. default 7 if BSP_SPI0_TX_PIN_7
  239. default 19 if BSP_SPI0_TX_PIN_19
  240. choice
  241. prompt "spi0 rx pin number (GP)"
  242. depends on BSP_USING_SPI0
  243. default BSP_SPI0_RX_PIN_4
  244. config BSP_SPI0_RX_PIN_0
  245. bool "0"
  246. config BSP_SPI0_RX_PIN_4
  247. bool "4"
  248. config BSP_SPI0_RX_PIN_16
  249. bool "16"
  250. endchoice
  251. config BSP_SPI0_RX_PIN
  252. int
  253. default 0 if BSP_SPI0_RX_PIN_0
  254. default 4 if BSP_SPI0_RX_PIN_4
  255. default 16 if BSP_SPI0_RX_PIN_16
  256. choice
  257. prompt "spi0 sck pin number (GP)"
  258. depends on BSP_USING_SPI0
  259. default BSP_SPI0_SCK_PIN_2
  260. config BSP_SPI0_SCK_PIN_2
  261. bool "2"
  262. config BSP_SPI0_SCK_PIN_6
  263. bool "6"
  264. config BSP_SPI0_SCK_PIN_8
  265. bool "8"
  266. endchoice
  267. config BSP_SPI0_SCK_PIN
  268. int
  269. default 2 if BSP_SPI0_SCK_PIN_2
  270. default 6 if BSP_SPI0_SCK_PIN_6
  271. default 8 if BSP_SPI0_SCK_PIN_8
  272. choice
  273. prompt "spi0 cs pin number (GP)"
  274. depends on BSP_USING_SPI0
  275. default BSP_SPI0_CS_PIN_5
  276. config BSP_SPI0_CS_PIN_1
  277. bool "1"
  278. config BSP_SPI0_CS_PIN_5
  279. bool "5"
  280. config BSP_SPI0_CS_PIN_17
  281. bool "17"
  282. endchoice
  283. config BSP_SPI0_CS_PIN
  284. int
  285. default 1 if BSP_SPI0_CS_PIN_1
  286. default 5 if BSP_SPI0_CS_PIN_5
  287. default 17 if BSP_SPI0_CS_PIN_17
  288. endif
  289. config BSP_USING_SPI1
  290. bool "Enable SPI1"
  291. default n
  292. if BSP_USING_SPI1
  293. choice
  294. prompt "spi1 tx pin number (GP)"
  295. depends on BSP_USING_SPI1
  296. default BSP_SPI1_TX_PIN_11
  297. config BSP_SPI1_TX_PIN_11
  298. bool "11"
  299. config BSP_SPI1_TX_PIN_15
  300. bool "15"
  301. endchoice
  302. config BSP_SPI1_TX_PIN
  303. int
  304. default 11 if BSP_SPI1_TX_PIN_11
  305. default 15 if BSP_SPI1_TX_PIN_15
  306. choice
  307. prompt "spi1 rx pin number (GP)"
  308. depends on BSP_USING_SPI1
  309. default BSP_SPI1_RX_PIN_12
  310. config BSP_SPI1_RX_PIN_8
  311. bool "8"
  312. config BSP_SPI1_RX_PIN_12
  313. bool "12"
  314. endchoice
  315. config BSP_SPI1_RX_PIN
  316. int
  317. default 8 if BSP_SPI1_RX_PIN_8
  318. default 12 if BSP_SPI1_RX_PIN_12
  319. choice
  320. prompt "spi1 sck pin number (GP)"
  321. depends on BSP_USING_SPI0
  322. default BSP_SPI1_SCK_PIN_10
  323. config BSP_SPI1_SCK_PIN_10
  324. bool "10"
  325. config BSP_SPI1_SCK_PIN_14
  326. bool "14"
  327. endchoice
  328. config BSP_SPI1_SCK_PIN
  329. int
  330. default 10 if BSP_SPI1_SCK_PIN_10
  331. default 14 if BSP_SPI1_SCK_PIN_14
  332. choice
  333. prompt "spi1 cs pin number (GP)"
  334. depends on BSP_USING_SPI0
  335. default BSP_SPI1_CS_PIN_13
  336. config BSP_SPI1_CS_PIN_9
  337. bool "9"
  338. config BSP_SPI1_CS_PIN_13
  339. bool "13"
  340. endchoice
  341. config BSP_SPI1_CS_PIN
  342. int
  343. default 9 if BSP_SPI1_CS_PIN_9
  344. default 13 if BSP_SPI1_CS_PIN_13
  345. endif
  346. endif
  347. menuconfig BSP_USING_PWM
  348. bool "Enable PWM(A:CH_0 B:CH_1)"
  349. default n
  350. select RT_USING_PWM
  351. if BSP_USING_PWM
  352. config BSP_USING_PWM0
  353. bool "Enable PWM0"
  354. default n
  355. if BSP_USING_PWM0
  356. config BSP_PWM0_A_PIN
  357. int "pwm slice A pin number (GP)"
  358. range 0 29
  359. default 0
  360. config BSP_PWM0_B_PIN
  361. int "pwm slice B pin number (GP)"
  362. range 0 29
  363. default 1
  364. config BSP_PWM0_A_ALL
  365. bool "pwm slice use all A pin"
  366. default n
  367. config BSP_PWM0_B_ALL
  368. bool "pwm slice use all B pin"
  369. default n
  370. endif
  371. config BSP_USING_PWM1
  372. bool "Enable PWM1"
  373. default n
  374. if BSP_USING_PWM1
  375. config BSP_PWM_A_PIN
  376. int "pwm slice A pin number (GP)"
  377. range 0 29
  378. default 2
  379. config BSP_PWM1_B_PIN
  380. int "pwm slice B pin number (GP)"
  381. range 0 29
  382. default 3
  383. config BSP_PWM1_A_ALL
  384. bool "pwm slice use all A pin"
  385. default n
  386. config BSP_PWM1_B_ALL
  387. bool "pwm slice use all B pin"
  388. default n
  389. endif
  390. config BSP_USING_PWM2
  391. bool "Enable PWM2"
  392. default n
  393. if BSP_USING_PWM2
  394. config BSP_PWM2_A_PIN
  395. int "pwm slice A pin number (GP)"
  396. range 0 29
  397. default 4
  398. config BSP_PWM2_B_PIN
  399. int "pwm slice B pin number (GP)"
  400. range 0 29
  401. default 5
  402. config BSP_PWM2_A_ALL
  403. bool "pwm slice use all A pin"
  404. default n
  405. config BSP_PWM2_B_ALL
  406. bool "pwm slice use all B pin"
  407. default n
  408. endif
  409. config BSP_USING_PWM3
  410. bool "Enable PWM3"
  411. default n
  412. if BSP_USING_PWM3
  413. config BSP_PWM3_A_PIN
  414. int "pwm slice A pin number (GP)"
  415. range 0 29
  416. default 6
  417. config BSP_PWM3_B_PIN
  418. int "pwm slice B pin number (GP)"
  419. range 0 29
  420. default 7
  421. config BSP_PWM3_A_ALL
  422. bool "pwm slice use all A pin"
  423. default n
  424. config BSP_PWM3_B_ALL
  425. bool "pwm slice use all B pin"
  426. default n
  427. endif
  428. config BSP_USING_PWM4
  429. bool "Enable PWM4"
  430. default n
  431. if BSP_USING_PWM4
  432. config BSP_PWM4_A_PIN
  433. int "pwm slice A pin number (GP)"
  434. range 0 29
  435. default 8
  436. config BSP_PWM4_B_PIN
  437. int "pwm slice B pin number (GP)"
  438. range 0 29
  439. default 9
  440. config BSP_PWM4_A_ALL
  441. bool "pwm slice use all A pin"
  442. default n
  443. config BSP_PWM4_B_ALL
  444. bool "pwm slice use all B pin"
  445. default n
  446. endif
  447. config BSP_USING_PWM5
  448. bool "Enable PWM5"
  449. default n
  450. if BSP_USING_PWM5
  451. config BSP_PWM5_A_PIN
  452. int "pwm slice A pin number (GP)"
  453. range 0 29
  454. default 10
  455. config BSP_PWM5_B_PIN
  456. int "pwm slice B pin number (GP)"
  457. range 0 29
  458. default 11
  459. config BSP_PWM5_A_ALL
  460. bool "pwm slice use all A pin"
  461. default n
  462. config BSP_PWM5_B_ALL
  463. bool "pwm slice use all B pin"
  464. default n
  465. endif
  466. config BSP_USING_PWM6
  467. bool "Enable PWM6"
  468. default n
  469. if BSP_USING_PWM6
  470. config BSP_PWM6_A_PIN
  471. int "pwm slice A pin number (GP)"
  472. range 0 29
  473. default 12
  474. config BSP_PWM6_B_PIN
  475. int "pwm slice B pin number (GP)"
  476. range 0 29
  477. default 13
  478. config BSP_PWM6_A_ALL
  479. bool "pwm slice use all A pin"
  480. default n
  481. config BSP_PWM6_B_ALL
  482. bool "pwm slice use all B pin"
  483. default n
  484. endif
  485. config BSP_USING_PWM7
  486. bool "Enable PWM7"
  487. default n
  488. if BSP_USING_PWM7
  489. config BSP_PWM7_A_PIN
  490. int "pwm slice A pin number (GP)"
  491. range 0 29
  492. default 14
  493. config BSP_PWM7_B_PIN
  494. int "pwm slice B pin number (GP)"
  495. range 0 29
  496. default 15
  497. endif
  498. endif
  499. menuconfig BSP_USING_HWTIMER
  500. bool "Enable HWTIMER"
  501. default n
  502. select RT_USING_HWTIMER
  503. if BSP_USING_HWTIMER
  504. config BSP_USING_TIMER0
  505. bool "Enable HWTIMER0"
  506. default n
  507. config BSP_USING_TIMER1
  508. bool "Enable HWTIMER1"
  509. default n
  510. config BSP_USING_TIMER2
  511. bool "Enable HWTIMER2"
  512. default n
  513. config BSP_USING_TIMER3
  514. bool "Enable HWTIMER3"
  515. default n
  516. endif
  517. menuconfig BSP_USING_I2C
  518. bool "Enable I2C"
  519. select RT_USING_I2C
  520. select RT_USING_I2C_BITOPS
  521. select RT_USING_PIN
  522. default n
  523. if BSP_USING_I2C
  524. config BSP_USING_I2C0
  525. bool "Enable I2C0"
  526. default n
  527. if BSP_USING_I2C0
  528. choice
  529. prompt "i2c0 scl pin number (GP)"
  530. depends on BSP_USING_I2C0
  531. default BSP_I2C0_SCL_PIN_21
  532. config BSP_I2C0_SCL_PIN_1
  533. bool "1"
  534. config BSP_I2C0_SCL_PIN_5
  535. bool "5"
  536. config BSP_I2C0_SCL_PIN_9
  537. bool "9"
  538. config BSP_I2C0_SCL_PIN_13
  539. bool "13"
  540. config BSP_I2C0_SCL_PIN_17
  541. bool "17"
  542. config BSP_I2C0_SCL_PIN_21
  543. bool "21"
  544. endchoice
  545. config BSP_I2C0_SCL_PIN
  546. int
  547. default 1 if BSP_I2C0_SCL_PIN_1
  548. default 5 if BSP_I2C0_SCL_PIN_5
  549. default 9 if BSP_I2C0_SCL_PIN_9
  550. default 13 if BSP_I2C0_SCL_PIN_13
  551. default 17 if BSP_I2C0_SCL_PIN_17
  552. default 21 if BSP_I2C0_SCL_PIN_21
  553. choice
  554. prompt "i2c0 sda pin number (GP)"
  555. depends on BSP_USING_I2C0
  556. default BSP_I2C0_SDA_PIN_20
  557. config BSP_I2C0_SDA_PIN_0
  558. bool "0"
  559. config BSP_I2C0_SDA_PIN_4
  560. bool "4"
  561. config BSP_I2C0_SDA_PIN_8
  562. bool "8"
  563. config BSP_I2C0_SDA_PIN_12
  564. bool "12"
  565. config BSP_I2C0_SDA_PIN_16
  566. bool "16"
  567. config BSP_I2C0_SDA_PIN_20
  568. bool "20"
  569. endchoice
  570. config BSP_I2C0_SDA_PIN
  571. int
  572. default 0 if BSP_I2C0_SDA_PIN_0
  573. default 4 if BSP_I2C0_SDA_PIN_4
  574. default 8 if BSP_I2C0_SDA_PIN_8
  575. default 12 if BSP_I2C0_SDA_PIN_12
  576. default 16 if BSP_I2C0_SDA_PIN_16
  577. default 20 if BSP_I2C0_SDA_PIN_20
  578. endif
  579. config BSP_USING_I2C1
  580. bool "Enable I2C1"
  581. default n
  582. if BSP_USING_I2C1
  583. choice
  584. prompt "i2c1 scl pin number (GP)"
  585. depends on BSP_USING_I2C1
  586. config BSP_I2C1_SCL_PIN_3
  587. bool "3"
  588. config BSP_I2C1_SCL_PIN_7
  589. bool "7"
  590. config BSP_I2C1_SCL_PIN_11
  591. bool "11"
  592. config BSP_I2C1_SCL_PIN_15
  593. bool "15"
  594. config BSP_I2C1_SCL_PIN_19
  595. bool "19"
  596. config BSP_I2C1_SCL_PIN_27
  597. bool "27"
  598. endchoice
  599. config BSP_I2C1_SCL_PIN
  600. int
  601. default 3 if BSP_I2C1_SCL_PIN_3
  602. default 7 if BSP_I2C1_SCL_PIN_7
  603. default 11 if BSP_I2C1_SCL_PIN_11
  604. default 15 if BSP_I2C1_SCL_PIN_15
  605. default 19 if BSP_I2C1_SCL_PIN_19
  606. default 27 if BSP_I2C1_SCL_PIN_27
  607. choice
  608. prompt "i2c1 sda pin number (GP)"
  609. depends on BSP_USING_I2C1
  610. config BSP_I2C1_SDA_PIN_2
  611. bool "2"
  612. config BSP_I2C1_SDA_PIN_6
  613. bool "6"
  614. config BSP_I2C1_SDA_PIN_10
  615. bool "10"
  616. config BSP_I2C1_SDA_PIN_14
  617. bool "14"
  618. config BSP_I2C1_SDA_PIN_18
  619. bool "18"
  620. config BSP_I2C1_SDA_PIN_26
  621. bool "26"
  622. endchoice
  623. config BSP_I2C1_SDA_PIN
  624. int
  625. default 2 if BSP_I2C1_SDA_PIN_2
  626. default 6 if BSP_I2C1_SDA_PIN_6
  627. default 10 if BSP_I2C1_SDA_PIN_10
  628. default 14 if BSP_I2C1_SDA_PIN_14
  629. default 18 if BSP_I2C1_SDA_PIN_18
  630. default 26 if BSP_I2C1_SDA_PIN_26
  631. endif
  632. endif
  633. endmenu
  634. endmenu