`DEVICE_DT_INST_DEFINE` init priority is too high
Closed this issue · 0 comments
bandogora commented
I'm trying to integrate this driver into an nrfconnect 2.2.0 (Zephyr v3.2.99-ncs1) build. I've been running into an issue finding the bindings for the device during initialization.
Through testing it looks like the cause is the prio
level int the DEVICE_DT_INST_DEFINE
call.
CONFIG_I2C_INIT_PRIORITY
is equal to 50
, changing that to 51
seems to solve the issue for me.
pcf85063a/drivers/counter/pcf85063a.c
Line 364 in 61cde56