mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 20:50:14 +01:00
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.
This commit is contained in:
@@ -78,6 +78,10 @@
|
||||
#define NRFX_UART_ENABLED 1
|
||||
#define NRFX_UART0_ENABLED 1
|
||||
#define NRFX_UART1_ENABLED 1
|
||||
#elif defined(NRF52_SERIES)
|
||||
#define NRFX_UARTE_ENABLED 1
|
||||
#define NRFX_UARTE0_ENABLED 1
|
||||
#define NRFX_UARTE1_ENABLED 1
|
||||
#else
|
||||
#define NRFX_UARTE_ENABLED 1
|
||||
#define NRFX_UARTE0_ENABLED 1
|
||||
|
||||
Reference in New Issue
Block a user