Closed chenzhuoyu closed 1 year ago
this is tricky. We don't handle this ourselves.
If you want to support more devices, you can submit a patch like this one: https://github.com/osx-cross/homebrew-avr/blob/main/Patch/avr-libc-add-mcu-atmega168pb.patch
As for the github repo for avr-libc, we are waiting for them to make a new release in order to use it here. Only then will the new devices be usable here.
I'll close the issue for now, but I'm happy to review a PR, either for a patch or when avr-libc makes a new release.
The official avr-libc lacks support for tinyAVR 1-series (e.g. ATtiny1614), megaAVR 0-series (e.g. ATmega4809) and AVR-Dx series (e.g. AVR128DB28), which makes
avr-gcc
complain when building for these devices:Are there any plans to support these new devices?
P.S. I noticed that the repository https://github.com/avrdudes/avr-libc mentioned in another issue (#268) do include those headers, is it possible to switch from the official avr-libc to this version?