未验证 提交 31061873 编写于 作者: G guo 提交者: GitHub

Merge pull request #5005 from supperthomas/fix_nrfx

[bsp/nrf52840]fix the board uart config
...@@ -108,12 +108,14 @@ menu "On-chip Peripheral Drivers" ...@@ -108,12 +108,14 @@ menu "On-chip Peripheral Drivers"
if BSP_USING_UART0 if BSP_USING_UART0
config BSP_UART0_RX_PIN config BSP_UART0_RX_PIN
int "uart0 rx pin number" int "uart0 rx pin number"
range 0 31 range 0 64
default 8 default 8 if BSP_BOARD_PCA_10056
default 42 if BSP_BOARD_ARDUINO_NANO_33_BLE
config BSP_UART0_TX_PIN config BSP_UART0_TX_PIN
int "uart0 tx pin number" int "uart0 tx pin number"
range 0 31 range 0 64
default 6 default 6 if BSP_BOARD_PCA_10056
default 35 if BSP_BOARD_ARDUINO_NANO_33_BLE
endif endif
endif endif
if BSP_USING_UART&&NRFX_USING_UARTE if BSP_USING_UART&&NRFX_USING_UARTE
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册