Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thedigitaledge/pysvd2dts
Creates a Zephyr Devicetree file from an ARM CMSIS-SVD file
https://github.com/thedigitaledge/pysvd2dts
Last synced: 2 months ago
JSON representation
Creates a Zephyr Devicetree file from an ARM CMSIS-SVD file
- Host: GitHub
- URL: https://github.com/thedigitaledge/pysvd2dts
- Owner: thedigitaledge
- License: 0bsd
- Created: 2023-04-13T11:13:56.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-13T11:14:20.000Z (almost 2 years ago)
- Last Synced: 2024-08-04T01:13:53.414Z (6 months ago)
- Language: Python
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
- awesome-zephyr-rtos - pysvd2dts - Creates a Zephyr Devicetree file from an ARM CMSIS-SVD file. (Libraries / Misc)
README
.. _readme:
README
######This program create a Zephyr Devicetree file (dts) from a CMSIS System View Description format (SVD).
To run this program you will need to get a SVD file, which is normally supplied as part of a chips SDK.
Create a configuration file, see `Configuration File`_ below for more information.License
#######This program is released under the 0BSD clause as specified in the LICENSE file in the root of this project.
Configuration File
##################The configuration file supplies meta data for the generated device tree.
The example below is used for the nRF52840 development kit.
.. include:: examples/nrf52840dk_conf.yaml
Examples
########The following example is the minimum information needed to run pysvd2dts
which will generate a file "arm_example.dts"... code-block:: console
pysvd2dts arm_example.svd arm_example_conf.yaml
The following example set all the options to generate a file call "nrf52840_gen.dts".
.. code-block:: console
pysvd2dts --debug --zephyr-path ~/zephyrproject/zephyr \
--output-file nrf52840_gen.dts nrf52840.svd examples/nrf52840dk_conf.yaml