Skip to content
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

ATDF file definition bugs #3

Open
luqasz opened this issue Dec 8, 2019 · 5 comments
Open

ATDF file definition bugs #3

luqasz opened this issue Dec 8, 2019 · 5 comments

Comments

@luqasz
Copy link

luqasz commented Dec 8, 2019

Hi.

I see you also generate headers from ATDF files. I've created a repo with bug fixes in ATDF files.
https://github.com/luqasz/avr-registers
I see lots of people parse them over and over again. I propose to join forces and provide a source with fixed definitions.

What do you say ?

@stevenj
Copy link
Owner

stevenj commented Feb 10, 2020

Sounds like a good idea. How do you propose to handle the "bug fixes" going forward when microchip release new versions? Maybe one approach could be a patch atdf, so a generator can read the real thing, and the patch (both being xml files, the patch one just has the "fixes"). Anything in the patch over-rides what's in the real thing?

@luqasz
Copy link
Author

luqasz commented Feb 10, 2020

I've done exactly that. I've patched original files. Everything is in git log. I've also written a parser which outputs a yaml file with all registers and their bit fields.

@luqasz
Copy link
Author

luqasz commented Feb 20, 2020

@stevenj what do you think about it ?

@stevenj
Copy link
Owner

stevenj commented Mar 22, 2020

I am more than happy to work with you. I am a bit swamped with work at the moment though.

@luqasz
Copy link
Author

luqasz commented Mar 22, 2020

Ok. Just let me know when you'll be ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants