modules: hal_nordic: nrfx: Add NRFX_RRAMC

Add Kconfig option for RRAM controller, NRFX_RRAMC.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
This commit is contained in:
Dominik Ermel 2024-04-24 16:09:42 +00:00 committed by Maureen Helm
commit e2d9f09b70
3 changed files with 9 additions and 0 deletions

View file

@ -108,6 +108,7 @@ zephyr_library_sources_ifdef(CONFIG_NRFX_PWM ${SRC_DIR}/nrfx_pwm.c)
zephyr_library_sources_ifdef(CONFIG_NRFX_QDEC ${SRC_DIR}/nrfx_qdec.c) zephyr_library_sources_ifdef(CONFIG_NRFX_QDEC ${SRC_DIR}/nrfx_qdec.c)
zephyr_library_sources_ifdef(CONFIG_NRFX_QSPI ${SRC_DIR}/nrfx_qspi.c) zephyr_library_sources_ifdef(CONFIG_NRFX_QSPI ${SRC_DIR}/nrfx_qspi.c)
zephyr_library_sources_ifdef(CONFIG_NRFX_RNG ${SRC_DIR}/nrfx_rng.c) zephyr_library_sources_ifdef(CONFIG_NRFX_RNG ${SRC_DIR}/nrfx_rng.c)
zephyr_library_sources_ifdef(CONFIG_NRFX_RRAMC ${SRC_DIR}/nrfx_rramc.c)
zephyr_library_sources_ifdef(CONFIG_NRFX_RTC ${SRC_DIR}/nrfx_rtc.c) zephyr_library_sources_ifdef(CONFIG_NRFX_RTC ${SRC_DIR}/nrfx_rtc.c)
zephyr_library_sources_ifdef(CONFIG_NRFX_SAADC ${SRC_DIR}/nrfx_saadc.c) zephyr_library_sources_ifdef(CONFIG_NRFX_SAADC ${SRC_DIR}/nrfx_saadc.c)
zephyr_library_sources_ifdef(CONFIG_NRFX_SPI ${SRC_DIR}/nrfx_spi.c) zephyr_library_sources_ifdef(CONFIG_NRFX_SPI ${SRC_DIR}/nrfx_spi.c)

View file

@ -265,6 +265,10 @@ config NRFX_RNG
bool "RNG driver" bool "RNG driver"
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_RNG)) depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_RNG))
config NRFX_RRAMC
bool "RRAMC driver"
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_RRAM_CONTROLLER))
config NRFX_RTC config NRFX_RTC
bool bool

View file

@ -312,6 +312,10 @@
#define NRFX_RNG_CONFIG_LOG_ENABLED 1 #define NRFX_RNG_CONFIG_LOG_ENABLED 1
#endif #endif
#ifdef CONFIG_NRFX_RRAMC
#define NRFX_RRAMC_ENABLED 1
#endif
#ifdef CONFIG_NRFX_RTC #ifdef CONFIG_NRFX_RTC
#define NRFX_RTC_ENABLED 1 #define NRFX_RTC_ENABLED 1
#endif #endif