[bsp][raspberry-pico] 修复rtconfig.h SPI1部分引脚错误问题
This commit is contained in:
parent
948c8a4901
commit
e83b8fd820
|
@ -328,8 +328,8 @@ menu "On-chip Peripheral Drivers"
|
||||||
endchoice
|
endchoice
|
||||||
config BSP_SPI1_MISO_PIN
|
config BSP_SPI1_MISO_PIN
|
||||||
int
|
int
|
||||||
default 8 if BSP_SPI0_MISO_PIN_8
|
default 8 if BSP_SPI1_MISO_PIN_8
|
||||||
default 12 if BSP_SPI0_MISO_PIN_12
|
default 12 if BSP_SPI1_MISO_PIN_12
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "spi1 SCK pin number (GP)"
|
prompt "spi1 SCK pin number (GP)"
|
||||||
|
@ -347,7 +347,7 @@ menu "On-chip Peripheral Drivers"
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "spi1 CS pin number (GP)"
|
prompt "spi1 CS pin number (GP)"
|
||||||
depends on BSP_USING_SPI0
|
depends on BSP_USING_SPI1
|
||||||
default BSP_SPI1_CS_PIN_13 if BSP_USING_ARDUINO
|
default BSP_SPI1_CS_PIN_13 if BSP_USING_ARDUINO
|
||||||
config BSP_SPI1_CS_PIN_13
|
config BSP_SPI1_CS_PIN_13
|
||||||
bool "13"
|
bool "13"
|
||||||
|
|
Loading…
Reference in New Issue