avrdudes / avr-libc

The AVR-LibC package provides a subset of the standard C library for AVR 8-bit RISC microcontrollers.
https://avrdudes.github.io/avr-libc/
Other
224 stars 51 forks source link

Support for tinyAVR 2 devices #904

Closed DominikRzecki closed 1 month ago

DominikRzecki commented 1 year ago

Hello, I would like to know if there will be support for the following devices: ATtiny424,426,427 ATtiny824,826,827 ATtiny1624,1626,1627 ATtiny3224,3226,3227 Thanks

sprintersb commented 1 year ago

Supporting "unsupported" devices is usually done by means of .atpack files provided by Atmel / Microchip.

Maybe have a look at Supporting "unsupported" Devices in the avr-gcc wiki, and come back if you have any remaining questions.

sprintersb commented 12 months ago

FYI, support for these devices has been added to avr-gcc v13.3+, see https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=85414e25ade3db84baeba4acef296e4f34f4184b

The bulk of work for full support of the devices (without using ATPACK) is on the side of AVR-LibC, though.

Apart from that, I'd recomment to use a compiler with reasonable code generation like avr-gcc v8, which implies that you have to resort to ATPACK, of course.

sprintersb commented 1 month ago

The answer to the top question is: yes. All these devices are supported now, see current NEWS for example.