modules: hal_nordic: Support new CRACEN CTR DRBG driver

Add support for the new nrf hal CRACEN CTR DRBG driver including a new
kconfig option to enable it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2025-01-13 17:49:12 +01:00 committed by Benjamin Cabé
commit 4b56c74e1c
3 changed files with 9 additions and 0 deletions

View file

@ -122,6 +122,7 @@ zephyr_library_sources_ifdef(CONFIG_NRFX_PRS ${SRC_DIR}/prs/nrfx_prs.c)
zephyr_library_sources_ifdef(CONFIG_NRFX_ADC ${SRC_DIR}/nrfx_adc.c)
zephyr_library_sources_ifdef(CONFIG_NRFX_CLOCK ${SRC_DIR}/nrfx_clock.c)
zephyr_library_sources_ifdef(CONFIG_NRFX_COMP ${SRC_DIR}/nrfx_comp.c)
zephyr_library_sources_ifdef(CONFIG_NRFX_CRACEN ${SRC_DIR}/nrfx_cracen.c)
zephyr_library_sources_ifdef(CONFIG_NRFX_DPPI ${SRC_DIR}/nrfx_dppi.c)
zephyr_library_sources_ifdef(CONFIG_NRFX_EGU ${SRC_DIR}/nrfx_egu.c)
zephyr_library_sources_ifdef(CONFIG_NRFX_GPIOTE ${SRC_DIR}/nrfx_gpiote.c)

View file

@ -25,6 +25,10 @@ config NRFX_COMP
bool "COMP driver"
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_COMP))
config NRFX_CRACEN
bool "CRACEN drivers"
depends on SOC_COMPATIBLE_NRF54LX
config NRFX_DPPI
bool

View file

@ -75,6 +75,10 @@
#define NRFX_COMP_CONFIG_LOG_ENABLED 1
#endif
#ifdef CONFIG_NRFX_CRACEN
#define NRFX_CRACEN_ENABLED 1
#endif
#ifdef CONFIG_NRFX_DPPI
#define NRFX_DPPI_ENABLED 1
#endif