ATDF file definition bugs
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 ?
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?
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.
@stevenj what do you think about it ?
I am more than happy to work with you. I am a bit swamped with work at the moment though.
Ok. Just let me know when you'll be ready.