modules: hal_nordic: nrfx: add support for nRF54L15 SOC
Add config files for nRF54L15. Signed-off-by: Witold Lukasik <witold.lukasik@nordicsemi.no>
This commit is contained in:
parent
1d9f702260
commit
04e4e6e5e9
|
@ -71,6 +71,7 @@ zephyr_library_sources_ifdef(CONFIG_SOC_NRF52833 ${MDK_DIR}/system_nrf5283
|
|||
zephyr_library_sources_ifdef(CONFIG_SOC_NRF52840 ${MDK_DIR}/system_nrf52840.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_SOC_NRF5340_CPUAPP ${MDK_DIR}/system_nrf5340_application.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_SOC_NRF5340_CPUNET ${MDK_DIR}/system_nrf5340_network.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_SOC_SERIES_NRF54LX ${MDK_DIR}/system_nrf54l.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_SOC_SERIES_NRF91X ${MDK_DIR}/system_nrf91.c)
|
||||
|
||||
zephyr_library_sources(nrfx_glue.c)
|
||||
|
@ -140,3 +141,15 @@ if(DEFINED uicr_path)
|
|||
zephyr_library_compile_definitions(CONFIG_GPIO_AS_PINRESET)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(CONFIG_SOC_NRF54L15)
|
||||
dt_prop(clock_frequency PATH "/cpus/cpu@0" PROPERTY "clock-frequency")
|
||||
math(EXPR clock_frequency_mhz "${clock_frequency} / 1000000")
|
||||
zephyr_compile_definitions("NRF_CONFIG_CPU_FREQ_MHZ=${clock_frequency_mhz}")
|
||||
endif()
|
||||
|
||||
zephyr_compile_definitions_ifdef(CONFIG_SOC_NRF54LX_SKIP_CLOCK_CONFIG NRF_SKIP_CLOCK_CONFIGURATION)
|
||||
|
||||
if(CONFIG_SOC_SERIES_NRF54LX AND CONFIG_NRFX_DPPI)
|
||||
zephyr_library_sources(${HELPERS_DIR}/nrfx_gppi_dppi_ppib_lumos.c)
|
||||
endif()
|
||||
|
|
|
@ -698,6 +698,8 @@
|
|||
#include <nrfx_config_nrf5340_network.h>
|
||||
#elif defined(NRF9120_XXAA) || defined(NRF9160_XXAA)
|
||||
#include <nrfx_config_nrf91.h>
|
||||
#elif defined(NRF54L15_ENGA_XXAA) && defined(NRF_APPLICATION)
|
||||
#include <nrfx_config_nrf54l15_enga_application.h>
|
||||
#else
|
||||
#error "Unknown device."
|
||||
#endif
|
||||
|
|
1538
modules/hal_nordic/nrfx/nrfx_config_nrf54l15_enga_application.h
Normal file
1538
modules/hal_nordic/nrfx/nrfx_config_nrf54l15_enga_application.h
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue