New DT parser and code generation

Kumar Gala
 

All,

Just a heads up on some changes to the generation path for handling of DT.

Ulf and I have been working on a replacement for the DT parsing and Code Generation code. The replacement is in this PR:

https://github.com/zephyrproject-rtos/zephyr/pull/17660

The intent is to deprecate the old code (scripts/dts/devicetree.py, scripts/dts/extract_dts_includes.py and scripts/dts/extract/). The old code will stay around for a little while to generate the deprecated macro’s.

The new code is structured in 3 pieces:
* dtlib.py - DTS parser
* edtlib.py - Semantic Device model
* gen_defines.py - Code generator

The intent is to keep the (dtlib.py and edtlib.py) agnostic of Zephyr, and have all the Zephyr specific details in gen_defines.py.

- k

Join devel@lists.zephyrproject.org to automatically receive all group messages.