Merge pull request #4804 from mysterywolf/w601

[w60x] 修复UART1功能无法使用
This commit is contained in:
guo 2021-06-17 09:57:53 +08:00 committed by GitHub
commit 08fe2ee777
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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