-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
svdtools: patching yaml files/multipart yaml conversion? #126
Comments
Currently there's no option to generate an svd entirely from scratch, because each "device" top-level yaml file requires an For the YAMLs, you can |
hmm... maybe do that thing you guys did with "GPIO*" inclusion, and only include the baremost data |
|
Another idea: have the same syntax for the primary patch yaml file (the one that includes the svd file), but allow |
So, I know this is mostly used to patch vendor-shipped svd files, but as prior issues have stated,
I've been using this to write svd's for cortex-a socs in yaml for use in other projects (ghidra, pycortexmdebug,
etc).
Is it possible, for example, do do the patching type stuff without a 'real' 'seed' svd file?
Like, I'd want to define all the svd blocks for stuff that is unique to this particular soc (clock controllers,
system controllers, various glue peripherals) in the primary yaml file, and draw from various 'library'
yaml files that define 'standard' peripherals (arm primecell stuff, designware stuff, etc).
I realize I can just concatenate main.yaml, gpioX.yaml, and so on, but that gets awkward as time goes on
and the file grows.
For example, one could have a file tree like this:
Where hi3516dv300.yaml defines that there is a pl061 gpio at every
0x120d_{0..b}000
address block buthi3521av100 has them at
0x12{15..22}_0000
and so on?The text was updated successfully, but these errors were encountered: