Repository navigation
Conversation
nrfx expects the glue layer to provide these. Without them nrfx_timer.c and nrfx_gppi_dppi.c call NRFX_CTZ/NRFX_CLZ as undeclared functions (-Wimplicit-function-declaration), and the empty NRFY_CACHE_* fallbacks in nrf_common.h leave the locals passed to them unused in nrfy_nfct.h, nrfy_saadc.h, nrfy_spim.h and nrfy_uarte.h (-Wunused-variable). NRFX_CLZ/NRFX_CTZ map to the GCC builtins. nRF54L has an instruction cache only, so the cache macros stay no-ops that consume their arguments.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Fixes compiler warnings in every build:
nrfx_timer.c,nrfx_gppi_dppi.c: implicit declaration ofNRFX_CTZ/NRFX_CLZ. nrfx expects the glue layer to define them; they now map to__builtin_ctz/__builtin_clz.nrfy_nfct.h,nrfy_saadc.h,nrfy_spim.h,nrfy_uarte.h: unused variables passed to the emptyNRFY_CACHE_*fallbacks innrf_common.h. The glue now defines them as no-ops that consume their arguments (nRF54L has an instruction cache only).Summary by CodeRabbit