README.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. This directory used to contain the edtlib.py and dtlib.py libraries
  2. and tests, alongside the gen_defines.py script that uses them for
  3. converting DTS to the C macros used by Zephyr.
  4. The libraries and tests have now been moved to the 'python-devicetree'
  5. subdirectory.
  6. We are now in the process of extracting edtlib and dtlib into a
  7. standalone source code library that we intend to share with other
  8. projects.
  9. Links related to the work making this standalone:
  10. https://pypi.org/project/devicetree/
  11. https://python-devicetree.readthedocs.io/en/latest/
  12. https://github.com/zephyrproject-rtos/python-devicetree
  13. The 'python-devicetree' subdirectory you find here next to this
  14. README.txt matches the standalone python-devicetree repository linked
  15. above.
  16. For now, the 'main' copy will continue to be hosted here in the zephyr
  17. repository. We will mirror changes into the standalone repository as
  18. needed; you can just ignore it for now.
  19. Code in the zephyr repository which needs these libraries will import
  20. devicetree.edtlib from now on, but the code will continue to be found
  21. by manipulating sys.path for now.
  22. Eventually, as APIs stabilize, the python-devicetree code in this
  23. repository will disappear, and a standalone repository will be the
  24. 'main' one.