Replies: 1 comment
-
Stumble upon the same problem when writing driver. Have you put the DT_DRV_COMPAT macro on top of your driver.c?
This hooks the driver code with the device tree and makes DEVICE_DT_INST_* macros usable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I would like to add my own device, so I wrote driver along with dts support based on gpio_dw.c driver code, now am getting build error, I suspect it could be due to dts. Could you help me to resolve the issue ?
dts/bindings/test/snps,test.yaml
Build error:
Beta Was this translation helpful? Give feedback.
All reactions