Hello, I hope you are well.
I created a new driver for an i2c accelerometer with 2 gpio interrupts, but it does not build properly. When calling `static const struct device * accel = DEVICE_DT_GET(DT_NODELABEL(accel_0));` I have the following error:
Here is my `.overlay` file:
Here is the dts binding `.yaml` file:
And here is the driver definition in C:
I define `DRV_IMU_DEFINE=y` in the `Kconfig` file, and `CONFIG_DRV_IMU_DEFINE`, `CONFIG_GPIO` and `CONFIG_I2C` are enabled. But it does not build, with the warning `
warning: 'driver_init' defined but not used [-Wunused-function]` and the error `undefined reference to `__device_dts_ord_110'`.
Also, when I grep 110 in the `build/zephyr/devicetree_generated.h`, it does not refer to a gpio device but i2c:
Best regards,