From 32a305904d8e7668791ae6b31506dd9debdd71d1 Mon Sep 17 00:00:00 2001 From: supperthomas <78900636@qq.com> Date: Thu, 2 Sep 2021 21:34:31 +0800 Subject: [PATCH] fix the uart config --- bsp/nrf5x/nrf52840/board/Kconfig | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/bsp/nrf5x/nrf52840/board/Kconfig b/bsp/nrf5x/nrf52840/board/Kconfig index 0a332f8bf0..528bf981e4 100644 --- a/bsp/nrf5x/nrf52840/board/Kconfig +++ b/bsp/nrf5x/nrf52840/board/Kconfig @@ -108,12 +108,14 @@ menu "On-chip Peripheral Drivers" if BSP_USING_UART0 config BSP_UART0_RX_PIN int "uart0 rx pin number" - range 0 31 - default 8 + range 0 64 + default 8 if BSP_BOARD_PCA_10056 + default 42 if BSP_BOARD_ARDUINO_NANO_33_BLE config BSP_UART0_TX_PIN int "uart0 tx pin number" - range 0 31 - default 6 + range 0 64 + default 6 if BSP_BOARD_PCA_10056 + default 35 if BSP_BOARD_ARDUINO_NANO_33_BLE endif endif if BSP_USING_UART&&NRFX_USING_UARTE