Skip to content

Conversation

aescolar
Copy link
Member

@aescolar aescolar commented Oct 17, 2025

8498c39 seems to have introduce an incorrect dependency which prevents the RTC timer from been built if any of the RTC's are enabled.
It should only depend on the rtc1.

This was first pinpointed by @anangl here: #97441 (review)

Note this is currently failing in main:
https://github.com/zephyrproject-rtos/zephyr/actions/runs/18593829491/job/53015430226?pr=97785
and can be repro'd w
cmake -GNinja -DBOARD=nrf52_bsim ../tests/drivers/counter/counter_basic_api/ && ninja

Note that for real HW targets, as their SOC kconfig files currently redefine the option to set the default,
https://github.com/zephyrproject-rtos/zephyr/blob/main/soc/nordic/nrf52/Kconfig.defconfig#L11
all depends are OR'ed with SOC_SERIES_NRF5XX(=y) && SOC_FAMILY_NORDIC_NRF(=y), so they ones from this file are effectively ignored.
But for the simulated targets we do not override the dependencies in this way.
Once this is fixed in #97441 for real targets, these real targets fail also.

8498c39 seems to have introduce an incorrect dependency which prevents the RTC timer from been built if any of the RTC's are enabled. It should only depend on the rtc1. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
@aescolar
Copy link
Member Author

@anangl @nordicjm @nordic-krch if you agree with this fix, please set the hotfix label

@aescolar aescolar marked this pull request as ready for review October 17, 2025 17:16
@zephyrbot zephyrbot added size: XS A PR changing only a single line of code area: Timer Timer labels Oct 17, 2025
@zephyrbot zephyrbot requested review from andyross and teburd October 17, 2025 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Timer Timer size: XS A PR changing only a single line of code

3 participants