Skip to content

Commit 2a06239

Browse files
committed
[nrf fromtree] modules: hal_nordic: nrfx: Add NRFX_RRAMC
Add Kconfig option for RRAM controller, NRFX_RRAMC. (cherry picked from commit e2d9f09) Signed-off-by: Dominik Ermel <[email protected]>
1 parent 046e281 commit 2a06239

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

modules/hal_nordic/nrfx/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ zephyr_library_sources_ifdef(CONFIG_NRFX_PWM ${SRC_DIR}/nrfx_pwm.c)
107107
zephyr_library_sources_ifdef(CONFIG_NRFX_QDEC ${SRC_DIR}/nrfx_qdec.c)
108108
zephyr_library_sources_ifdef(CONFIG_NRFX_QSPI ${SRC_DIR}/nrfx_qspi.c)
109109
zephyr_library_sources_ifdef(CONFIG_NRFX_RNG ${SRC_DIR}/nrfx_rng.c)
110+
zephyr_library_sources_ifdef(CONFIG_NRFX_RRAMC ${SRC_DIR}/nrfx_rramc.c)
110111
zephyr_library_sources_ifdef(CONFIG_NRFX_RTC ${SRC_DIR}/nrfx_rtc.c)
111112
zephyr_library_sources_ifdef(CONFIG_NRFX_SAADC ${SRC_DIR}/nrfx_saadc.c)
112113
zephyr_library_sources_ifdef(CONFIG_NRFX_SPI ${SRC_DIR}/nrfx_spi.c)

modules/hal_nordic/nrfx/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,10 @@ config NRFX_RNG
265265
bool "RNG driver"
266266
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_RNG))
267267

268+
config NRFX_RRAMC
269+
bool "RRAMC driver"
270+
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_RRAM_CONTROLLER))
271+
268272
config NRFX_RTC
269273
bool
270274

modules/hal_nordic/nrfx/nrfx_config.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,10 @@
312312
#define NRFX_RNG_CONFIG_LOG_ENABLED 1
313313
#endif
314314

315+
#ifdef CONFIG_NRFX_RRAMC
316+
#define NRFX_RRAMC_ENABLED 1
317+
#endif
318+
315319
#ifdef CONFIG_NRFX_RTC
316320
#define NRFX_RTC_ENABLED 1
317321
#endif

0 commit comments

Comments
 (0)