Skip to content

Commit

Permalink
nrf/nrfx_config: Use the UARTE definitions and drivers for the NRF52xx.
Browse files Browse the repository at this point in the history
Suggested by @ricksorensen after testing.  These match better the hardware
of the NRF52xx.
  • Loading branch information
robert-hh authored and dpgeorge committed Mar 20, 2023
1 parent 7ea192a commit 2cd3a7b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ports/nrf/nrfx_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2cd3a7b

Please sign in to comment.