EEVblog® Electronics Community Forum
A Free & Open Forum For Electronics Enthusiasts & Professionals
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
This topic
This board
Entire forum
Google
Bing
Home
Help
Search
About us
Links
Login
Register
EEVblog® Electronics Community Forum
»
Electronics
»
Projects, Designs, and Technical Stuff
»
Python CMSIS-SVD Parser
« previous
next »
Print
Search
Pages: [
1
]
Go Down
Author
Topic: Python CMSIS-SVD Parser (Read 2653 times)
0 Members and 1 Guest are viewing this topic.
twatorowski
Newbie
Posts: 3
Country:
Python CMSIS-SVD Parser
«
on:
May 04, 2019, 09:41:04 am »
Hey everyone!
Just wanted to announce the release of my CMSIS-SVD to Dictionary Parser written in Python. If anyone wants to create their own header files from the SVD files provided by the chip manufacturers this is a nice place to start. The code provided deals with things like: derivations/inheritances/array-list generations among the set of peripherals/registers/etc.. so that the result is a plain, fully expanded top-down nested tree without cycles or other "computer science funny business". This helps A LOT with header files generation.
Project link
https://github.com/MightyDevices/python-cmsis-svd-parser
Feel free to use it in your projects.
PS. I am currently working on my own *.h file generator for STM32 micros that will produce headers that match my coding/documenting style. All in all information from the SVD is not enough and some post processing needs to be done. I'll let you guys know how thing are progressing when I have something that is up and running.
Kind regards.
Logged
jeremy
Super Contributor
Posts: 1080
Country:
Re: Python CMSIS-SVD Parser
«
Reply #1 on:
May 04, 2019, 01:21:48 pm »
Very interesting. Thank you for sharing!
Logged
Joebeazelman
Regular Contributor
Posts: 60
Country:
Re: Python CMSIS-SVD Parser
«
Reply #2 on:
August 31, 2024, 01:20:51 am »
I tried to use your parser to output an expanded SVD from an ESP32s3 file, but it didn't work for entire sections like AES. The output still contained placeholders.
Logged
zapta
Super Contributor
Posts: 6613
Country:
Re: Python CMSIS-SVD Parser
«
Reply #3 on:
August 31, 2024, 02:54:27 pm »
Have you consider posting it on pypi.org? It will allow a simple installation using the pip install command. You can post any package on pypi.org, it doesn't have to be 'mature'.
Logged
Print
Search
Pages: [
1
]
Go Up
« previous
next »
Share me
Smf
EEVblog® Electronics Community Forum
»
Electronics
»
Projects, Designs, and Technical Stuff
»
Python CMSIS-SVD Parser
There was an error while thanking
Thanking...
-
-
-
-->
EEVblog® Main Site
EEVblog® on Youtube
EEVblog® on Twitter
EEVblog® on Facebook
EEVblog® on Odysee