Hello,
When enabling the Sensor system and having a qdec device enabled in my dts I get the following error:
/home/ee/ncs/zephyr/drivers/sensor/qdec_nrfx/qdec_nrfx.c:98:21: error: expression in static assertion is not constant
98 | BUILD_ASSERT(steps > 0, "only positive number valid");
| ~~~~~~^~~
/home/ee/ncs/zephyr/drivers/sensor/qdec_nrfx/qdec_nrfx.c:99:21: error: expression in static assertion is not constant
99 | BUILD_ASSERT(steps <= 2048, "overflow possible");
| ~~~~~~^~~~~~~
This seems to be a bug with the Zephyr code checking a const local var at compile time. Has anyone else had this issue?
Best,
Archie