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:
robert-hh 2023-03-19 12:58:05 +01:00 committed by Damien George
parent 7ea192af05
commit 2cd3a7b45c

View File

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