Closed SnakeOilSalesman closed 1 year ago
@Rahix, hey! May I ask you kindly to take a look into this PR?
@Rahix, is there anything wrong with this PR? It's been more than 2 month since I opened it and you usually react in 2 days. I also prepared changes for avr-hal project, but they blocked by this PR.
It's been more than 2 month since I opened it and you usually react in 2 days.
Hey! So sorry for leaving you waiting for so long :( I'm having trouble finding time for this project so things are moving quite a bit more slowly than they should. In any case, thanks for persisting and nagging me about it, this is the correct thing to do :+1:
Anyway, from your PR description and commit messages I understand that the ATDF in this PR was modified from the version that Microchip provides? We usually take a different route for dealing with missing/wrong information in these files: The ATDF should be the original version exactly and any modifications are done later on using the patching framework. This has a number of advantages:
So please revert to the original ATDF source file. The EEAR
/EEARL
modification can be done via the patch yaml - if you need help with this, let me know.
Your other modification, the signals
& pinout
sections, aren't necessary, I'd say.
Hey!
Thanks for reaching out! And sorry for pushing.
I read your comments, thanks for pointing it all out. I'll take another round and will try to do all that stuff with original ATDF file. Will come back soon.
@Rahix, hey!
Pardon me for a long delay with the update on this one. I revert ATDF file to the original condition and remove EEAR register via patch file.
Please, let me know, if I missed something.
Adding support for ATtiny828.
Few notes on this:
atdf
file had no GPIOsignals
andpinout
sections. As I understand, pins can be constructed inavr-hal
even without those sections, but my gut feeling tells me it's better to have them.atdf
file had register namedEEAR
, which actually, according to the datasheet, isEEARL
. Latestatdf
have both -EEAR
andEEARL
, but if we keep both of them,avr-hal
is not able to construct EEPROM. So I decdide to removeEEAR
variant.