You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to add a driver emulation for a APDS9306 I2C light sensor to our Smartwatch project and I need help to understand a undefined reference to __device_dts_ord_31'` error during the build.
I´ve added a device to native_posix_overlay
&i2c0 {
apds9306: apds9306@52 {
compatible = "avago,apds9306,emu";
reg = <0x52>;
status = "okay";
gain = <0>;
resolution = <0>;
frequency = <0>;
};
};
created a avago_apds9306_emul driver in the drivers/sensor directory, enable the emulation in the project config but I still get this error. Also Kconfig doesn´t enable the APDS9306 driver because there is no such device in the device tree.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I try to add a driver emulation for a APDS9306 I2C light sensor to our Smartwatch project and I need help to understand a
undefined reference to
__device_dts_ord_31'` error during the build.I´ve added a device to
native_posix_overlay
created a
avago_apds9306_emul
driver in thedrivers/sensor
directory, enable the emulation in the project config but I still get this error. Also Kconfig doesn´t enable the APDS9306 driver because there is no such device in the device tree.Where is the issue in my setup?
Thanks for help!
Beta Was this translation helpful? Give feedback.
All reactions