8000 nrf/nrfx_config: Use the UARTE definitions and drivers for the NRF52xx. · peterwillcn/micropython@2cd3a7b · GitHub
[go: up one dir, main page]

Skip to content

Commit 2cd3a7b

Browse files
robert-hhdpgeorge
authored andcommitted
nrf/nrfx_config: Use the UARTE definitions and drivers for the NRF52xx.
Suggested by @ricksorensen after testing. These match better the hardware of the NRF52xx.
1 parent 7ea192a commit 2cd3a7b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ports/nrf/nrfx_config.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@
7878
#define NRFX_UART_ENABLED 1
7979
#define NRFX_UART0_ENABLED 1
8080
#define NRFX_UART1_ENABLED 1
81+
#elif defined(NRF52_SERIES)
82+
#define NRFX_UARTE_ENABLED 1
83+
#define NRFX_UARTE0_ENABLED 1
84+
#define NRFX_UARTE1_ENABLED 1
8185
#else
8286
#define NRFX_UARTE_ENABLED 1
8387
#define NRFX_UARTE0_ENABLED 1

0 commit comments

Comments
 (0)
0