Hello,
I'm working on developing a driver for the AD4130 ADC in Zephyr and I'm facing issues related to the device tree binding integration. Specifically, it seems the chain between the .yaml
binding file, the overlay file (.overlay
), and the driver source code is not functioning correctly.
The main problems are:
-
Device Tree Macros Not Generated
The expected macros such as__device_dts_ord_*
, or alias macros likeDT_ALIAS(myad4130)
are not being generated or worked automatically during the build, even though my overlay and bindings seem to be defined. -
Binding File Errors Are Not Caught
When I make a mistake in the.yaml
binding file (e.g., invalid syntax, wrong indentation, or incompatible structure), the build system does not report any error. It silently ignores the incorrect binding file, making it very difficult to debug.
I suspect there might be a misconfiguration in the way my bindings are integrated or that Zephyr is not correctly locating or parsing the .yaml
file.
Could you please help me identify:
-
How to verify the functionality of my driver?
-
What are the correct steps to ensure macro generation from bindings/overlay?
Thank you in advance for your support!
Best regards,1205.4130ad-zephyr-driver.zip