Florin-Popescu / avarice-unofficial

AVaRICE with support for newer devices
GNU General Public License v2.0
13 stars 8 forks source link

Finish support of tinyAVR 1-series devices? (ATtiny1616 in particular, but I'd like to see them all supported) #8

Closed urjaman closed 10 months ago

urjaman commented 1 year ago

In short, i have an ATtiny1616 (and Atmel-ICE) i could test with, if someone would do the patch/PR for it.

Given how sparse the supported devices list for the 1-series is, i assume they've been individually tested? (sparse as in 412 and 814) Also, is there a particular set of tests to do on a new device?

If we can script the part support process sufficiently much, couldnt we just add the whole series (and maybe the 0-series too) and just keep seperate record of what is tested? Maybe do the flashrom chip support thing of requesting for works/doesnt reports from users, when using an untested chip.

Florin-Popescu commented 1 year ago

Hello!

I'm sure such a script would be possible to develop but I don't have time for it. Maybe I'll find some time during the holidays but unlikely.

At least I think I've nailed down the protocol to talk to the new AVR families, so it should be just a matter of adding devices to the list, without implementing any new logic.

You are right that until now I've only manually added the devices I personally used and merged PRs from others who did the same. To do it manually it's a pretty long list, since we now have the 0 and 1 series for both mega and tiny AVR, so 4 "families" total, although they are functionally identical from what I can tell. There are also some other devices missing from the upstream avarice, like the atmega324pb which I've used in the past.

If you are ok for now with just adding support for the attiny 1616 it's pretty easy to do and you can submit a PR yourself. The instructions in the readme are detailed enough, I hope. Or I can add that support and you can help test it.

If you or anyone else would have a go at adding support for all the new AVR devices, I'd be of course happy to merge that. Then we could potentially ask to merge it upstream to Jorg's sources.

Florin-Popescu commented 10 months ago

It's been almost a year and based on #13 I think you no longer need this. Closing.