From e83b8fd82000cdfe8cebc406625a5a434bd27557 Mon Sep 17 00:00:00 2001 From: Tian Xufeng Date: Sat, 26 Oct 2024 19:14:47 +0800 Subject: [PATCH] =?UTF-8?q?[bsp][raspberry-pico]=20=E4=BF=AE=E5=A4=8Drtcon?= =?UTF-8?q?fig.h=20SPI1=E9=83=A8=E5=88=86=E5=BC=95=E8=84=9A=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/raspberry-pico/board/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bsp/raspberry-pico/board/Kconfig b/bsp/raspberry-pico/board/Kconfig index a2d6677a98..b4201827b7 100644 --- a/bsp/raspberry-pico/board/Kconfig +++ b/bsp/raspberry-pico/board/Kconfig @@ -328,8 +328,8 @@ menu "On-chip Peripheral Drivers" endchoice config BSP_SPI1_MISO_PIN int - default 8 if BSP_SPI0_MISO_PIN_8 - default 12 if BSP_SPI0_MISO_PIN_12 + default 8 if BSP_SPI1_MISO_PIN_8 + default 12 if BSP_SPI1_MISO_PIN_12 choice prompt "spi1 SCK pin number (GP)" @@ -347,7 +347,7 @@ menu "On-chip Peripheral Drivers" choice 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 config BSP_SPI1_CS_PIN_13 bool "13"