Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
a529e0e8
Commit
a529e0e8
authored
Mar 21, 2023
by
robert-hh
Committed by
Damien George
Apr 05, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nrf/nrfx_config: Use UARTE for nrf52xxx devices.
It was incomplete.
parent
40855650
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
ports/nrf/Makefile
ports/nrf/Makefile
+3
-5
ports/nrf/nrfx_config.h
ports/nrf/nrfx_config.h
+3
-1
No files found.
ports/nrf/Makefile
View file @
a529e0e8
...
...
@@ -233,11 +233,6 @@ SRC_LIB_C += $(addprefix lib/,\
libm/roundf.c
\
)
SRC_NRFX
+=
$(
addprefix
lib/nrfx/drivers/src/,
\
nrfx_uarte.c
\
nrfx_twim.c
\
)
include
drivers/secureboot/secureboot.mk
endif
...
...
@@ -263,11 +258,13 @@ endif
SRC_NRFX
+=
$(
addprefix
lib/nrfx/drivers/src/,
\
prs/nrfx_prs.c
\
nrfx_uart.c
\
nrfx_uarte.c
\
nrfx_adc.c
\
nrfx_saadc.c
\
nrfx_temp.c
\
nrfx_rng.c
\
nrfx_twi.c
\
nrfx_twim.c
\
nrfx_spi.c
\
nrfx_spim.c
\
nrfx_rtc.c
\
...
...
@@ -319,6 +316,7 @@ SRC_C += $(addprefix lib/tinyusb/src/,\
tusb.c
\
portable/nordic/nrf5x/dcd_nrf5x.c
\
)
endif
DRIVERS_SRC_C
+=
$(
addprefix
modules/,
\
...
...
ports/nrf/nrfx_config.h
View file @
a529e0e8
...
...
@@ -74,14 +74,16 @@
#endif
#endif
#if defined(NRF51)
|| defined(NRF52_SERIES)
#if defined(NRF51)
#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
#if NRF52840 || NRF52840_XXAA
#define NRFX_UARTE1_ENABLED 1
#endif
#else
#define NRFX_UARTE_ENABLED 1
#define NRFX_UARTE0_ENABLED 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment