avr-libc3 icon indicating copy to clipboard operation
avr-libc3 copied to clipboard

ATDF file definition bugs

Open luqasz opened this issue 6 years ago • 5 comments

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 ?

luqasz avatar Dec 08 '19 13:12 luqasz

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?

stevenj avatar Feb 10 '20 01:02 stevenj

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 avatar Feb 10 '20 10:02 luqasz

@stevenj what do you think about it ?

luqasz avatar Feb 20 '20 17:02 luqasz

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

stevenj avatar Mar 22 '20 03:03 stevenj

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

luqasz avatar Mar 22 '20 05:03 luqasz