Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions modules/hal_nordic/nrfx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@

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_CLOCK ${SRC_DIR}/nrfx_clock_hfclk192m.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)
Expand Down Expand Up @@ -182,12 +183,12 @@
endif()

if(CONFIG_SOC_NRF54L_CPUAPP_COMMON)
# Ideally, hfpll should taken as a phandle from clocks property from cpu but it

Check failure on line 186 in modules/hal_nordic/nrfx/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

CMakeStyle

modules/hal_nordic/nrfx/CMakeLists.txt:186 CMakeStyle
# seems that there is no such option in DT cmake functions. Assuming that nrf54l

Check failure on line 187 in modules/hal_nordic/nrfx/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

CMakeStyle

modules/hal_nordic/nrfx/CMakeLists.txt:187 CMakeStyle
# is using hfpll as CPU clock source (true for all existing devices).

Check failure on line 188 in modules/hal_nordic/nrfx/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

CMakeStyle

modules/hal_nordic/nrfx/CMakeLists.txt:188 CMakeStyle
dt_prop(clock_frequency PATH "/clocks/hfpll" PROPERTY "clock-frequency")

Check failure on line 189 in modules/hal_nordic/nrfx/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

CMakeStyle

modules/hal_nordic/nrfx/CMakeLists.txt:189 CMakeStyle
math(EXPR clock_frequency_mhz "${clock_frequency} / 1000000")

Check failure on line 190 in modules/hal_nordic/nrfx/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

CMakeStyle

modules/hal_nordic/nrfx/CMakeLists.txt:190 CMakeStyle
zephyr_compile_definitions("NRF_CONFIG_CPU_FREQ_MHZ=${clock_frequency_mhz}")

Check failure on line 191 in modules/hal_nordic/nrfx/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

CMakeStyle

modules/hal_nordic/nrfx/CMakeLists.txt:191 CMakeStyle
endif()

zephyr_compile_definitions_ifdef(CONFIG_NRF_SKIP_CLOCK_CONFIG NRF_SKIP_CLOCK_CONFIGURATION)
Expand Down
Loading