AVR code generation from .atdf files



there is some work going on to add AVR microcontroller support to Rust, so I did a short search on if there exist SVD files for these controller, which is unfortunately not the case for all (especially the 8-bit ones). But, there exist another file format called .atdf for describing these devices. Unfortunately it’s not SVD with another file ending :smiley: . It may be a bit to early at the moment, but I would ask if there is some interest in developing a tool to generate basic Rust code out of these files, similar like svd2rust does?


Today I worked on a little proof of concept for using svd2rust to generate code for AVR (e.g. AtTiny2313).

With the help of @ecstatic-morse I got this to work: