nrf/nrfx_config: Use UARTE for nrf52xxx devices.
It was incomplete.
This commit is contained in:
parent
408556504c
commit
a529e0e8cf
@ -233,11 +233,6 @@ SRC_LIB_C += $(addprefix lib/,\
|
|||||||
libm/roundf.c \
|
libm/roundf.c \
|
||||||
)
|
)
|
||||||
|
|
||||||
SRC_NRFX += $(addprefix lib/nrfx/drivers/src/,\
|
|
||||||
nrfx_uarte.c \
|
|
||||||
nrfx_twim.c \
|
|
||||||
)
|
|
||||||
|
|
||||||
include drivers/secureboot/secureboot.mk
|
include drivers/secureboot/secureboot.mk
|
||||||
|
|
||||||
endif
|
endif
|
||||||
@ -263,11 +258,13 @@ endif
|
|||||||
SRC_NRFX += $(addprefix lib/nrfx/drivers/src/,\
|
SRC_NRFX += $(addprefix lib/nrfx/drivers/src/,\
|
||||||
prs/nrfx_prs.c \
|
prs/nrfx_prs.c \
|
||||||
nrfx_uart.c \
|
nrfx_uart.c \
|
||||||
|
nrfx_uarte.c \
|
||||||
nrfx_adc.c \
|
nrfx_adc.c \
|
||||||
nrfx_saadc.c \
|
nrfx_saadc.c \
|
||||||
nrfx_temp.c \
|
nrfx_temp.c \
|
||||||
nrfx_rng.c \
|
nrfx_rng.c \
|
||||||
nrfx_twi.c \
|
nrfx_twi.c \
|
||||||
|
nrfx_twim.c \
|
||||||
nrfx_spi.c \
|
nrfx_spi.c \
|
||||||
nrfx_spim.c \
|
nrfx_spim.c \
|
||||||
nrfx_rtc.c \
|
nrfx_rtc.c \
|
||||||
@ -319,6 +316,7 @@ SRC_C += $(addprefix lib/tinyusb/src/,\
|
|||||||
tusb.c \
|
tusb.c \
|
||||||
portable/nordic/nrf5x/dcd_nrf5x.c \
|
portable/nordic/nrf5x/dcd_nrf5x.c \
|
||||||
)
|
)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
DRIVERS_SRC_C += $(addprefix modules/,\
|
DRIVERS_SRC_C += $(addprefix modules/,\
|
||||||
|
@ -74,14 +74,16 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(NRF51) || defined(NRF52_SERIES)
|
#if defined(NRF51)
|
||||||
#define NRFX_UART_ENABLED 1
|
#define NRFX_UART_ENABLED 1
|
||||||
#define NRFX_UART0_ENABLED 1
|
#define NRFX_UART0_ENABLED 1
|
||||||
#define NRFX_UART1_ENABLED 1
|
#define NRFX_UART1_ENABLED 1
|
||||||
#elif defined(NRF52_SERIES)
|
#elif defined(NRF52_SERIES)
|
||||||
#define NRFX_UARTE_ENABLED 1
|
#define NRFX_UARTE_ENABLED 1
|
||||||
#define NRFX_UARTE0_ENABLED 1
|
#define NRFX_UARTE0_ENABLED 1
|
||||||
|
#if NRF52840 || NRF52840_XXAA
|
||||||
#define NRFX_UARTE1_ENABLED 1
|
#define NRFX_UARTE1_ENABLED 1
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#define NRFX_UARTE_ENABLED 1
|
#define NRFX_UARTE_ENABLED 1
|
||||||
#define NRFX_UARTE0_ENABLED 1
|
#define NRFX_UARTE0_ENABLED 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user