Hello,
Been chasing this undefined reference to `__device_dts_ord_XXX' issue around for awhile now with no clear path forward. What I am observing is extremely similar to this closed issue here:
https://github.com/zephyrproject-rtos/zephyr/issues/41677 which seems common with I2C slave devices. When there is a drivers\* directory local to the application, rather than inside of the ncs\2.0.0\zephyr\drivers\* directory
I recently have been getting myself acquainted with the nRF5340DK and have successfully compiled and flashed several of the examples provided by Nordic. I have moved into getting getting to know Zephyr more generally, and how to properly setup an environment for custom (local) driver development, which is what has led me to my present issue.
The footprint is there is no driver child nodes generated in the build\zephyr_pre0.map or build\zephyr_final.map that corresponds to the ord node found in in the build\zephyr.dts or build\include\devicetree_unfixed.h
It behaves as though the build is successful and generates correctly against the .yaml files in dts/bindings, but if you try to call