Skip to content

Commit e83b8fd

Browse files
skkilysupperthomas
authored andcommitted
[bsp][raspberry-pico] 修复rtconfig.h SPI1部分引脚错误问题
1 parent 948c8a4 commit e83b8fd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

bsp/raspberry-pico/board/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,8 @@ menu "On-chip Peripheral Drivers"
328328
endchoice
329329
config BSP_SPI1_MISO_PIN
330330
int
331-
default 8 if BSP_SPI0_MISO_PIN_8
332-
default 12 if BSP_SPI0_MISO_PIN_12
331+
default 8 if BSP_SPI1_MISO_PIN_8
332+
default 12 if BSP_SPI1_MISO_PIN_12
333333

334334
choice
335335
prompt "spi1 SCK pin number (GP)"
@@ -347,7 +347,7 @@ menu "On-chip Peripheral Drivers"
347347

348348
choice
349349
prompt "spi1 CS pin number (GP)"
350-
depends on BSP_USING_SPI0
350+
depends on BSP_USING_SPI1
351351
default BSP_SPI1_CS_PIN_13 if BSP_USING_ARDUINO
352352
config BSP_SPI1_CS_PIN_13
353353
bool "13"

0 commit comments

Comments
 (0)