From 5b889d05acb2833d9741f7c657b062008d1814a2 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Thu, 17 Jun 2021 06:15:39 +0800 Subject: [PATCH] =?UTF-8?q?[w60x]=20=E4=BF=AE=E5=A4=8DUART1=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E6=97=A0=E6=B3=95=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/w60x/drivers/pin_config.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bsp/w60x/drivers/pin_config.h b/bsp/w60x/drivers/pin_config.h index c704fafb22..130c81ea1c 100644 --- a/bsp/w60x/drivers/pin_config.h +++ b/bsp/w60x/drivers/pin_config.h @@ -14,8 +14,13 @@ #define WM_UART2_RX_PIN 1 // PB19 : UART2_RX (W601) #define WM_UART2_TX_PIN 2 // PB20 : UART2_TX (W601) +#if defined(SOC_W600_A8xx) #define WM_UART1_RX_PIN 31 // PB11 : UART1_RX (W600) #define WM_UART1_TX_PIN 32 // PB12 : UART1_TX (W600) +#elif defined(SOC_W601_A8xx) +#define WM_UART1_RX_PIN 66 // PB11 : UART1_RX (W601) +#define WM_UART1_TX_PIN 67 // PB12 : UART1_TX (W601) +#endif // spi #define WM_SPI_CK_PIN 53 // PB27 : SPI_SCK