Open fkokosinski opened 4 days ago
For context: this bug is most likely caused by this sample's config, because it explicitly n-selects CONFIG_TIMEOUT_64BIT
: https://github.com/zephyrproject-rtos/zephyr/blob/main/tests/subsys/portability/cmsis_rtos_v2/prj.conf#L16.
Whereas K_TIMEOUT_ABS_TICKS
is only defined when CONFIG_TIMEOUT_64BIT
is y-selected: https://github.com/zephyrproject-rtos/zephyr/blob/main/include/zephyr/kernel.h#L1442-L1456.
well, when a board enables more than the basic and the test has its own requirement, worlds collide. This test should just be built/run on simulation platforms IMO and not on every other board we have.
The build failure is not in the test, it is in some sensor driver
/home/filip/zephyrproject/zephyr/drivers/sensor/voltage_divider/voltage.c: In function 'voltage_ini
Describe the bug
The test in
tests/subsys/portability/cmsis_rtos_v2/portability.cmsis_rtos_v2
fails to build for the following two Zephyr targets:adafruit_feather_nrf52840/nrf52840/sense
adafruit_feather_nrf52840/nrf52840/sense/uf2
The following compilation error is reported:
To Reproduce Steps to reproduce the behavior:
west build -p -b adafruit_feather_nrf52840/nrf52840/sense tests/subsys/portability/cmsis_rtos_v2
Expected behavior
Build doesn't end with an error.
Impact
Showstopper (failing CI). See #80038.
Environment (please complete the following information):