Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DFP update] : Missing Atmega328PB (and probably other Mega series) #879

Open
bebenlebricolo opened this issue Mar 15, 2022 · 0 comments
Open

Comments

@bebenlebricolo
Copy link

bebenlebricolo commented Mar 15, 2022

Hi gentlemen,
I discovered that the Atmega328pb (relatively) new device is not supported by the current version of this repository (missing the iom328pb.h in avr/includes for instance, and I think the crt is missing as well).
They are available to download through the Microchip Pack repository, when downloading the Atmel ATmega Series Device Support (2.0.401) package.
Am I correct to think we can patch this repo with the new files ? The DFP itself seems to be licensed under Apache License V2.

Am I missing something and it has already been taken care of in another branch maybe ?
I stumbled on this issue while developing firmware on Arch Linux, current distribution of avr-libc seems a bit outdated in that regard. And I've redirected from the GNU webpage to here rather than opening a bug ticket on Arch Linux.

Thanks guys, let me know if I can help with this 😄

[EDIT 1 & 2] : this ticket is somewhat linked to #876, and related to other tickets migrated from savannah some time ago.
I tried to add the includes myself, but I could not come up with a strategy to regenerate the atmega328pb.S from the crtatmega328pb.o yet. Any suggestion maybe ?
Linked to #662 #667 #828

@bebenlebricolo bebenlebricolo changed the title [DPF update] : Missing Atmega328PB (and probably other Mega series) [DFP update] : Missing Atmega328PB (and probably other Mega series) Mar 15, 2022
sprintersb added a commit that referenced this issue Mar 15, 2024
Device info from Microchip.ATmega_DFP.3.1.264.atpack

	* include/avr/iom328pb.h: New file.
	* include/avr/io.h (__AVR_ATmega328PB__): Handle.
	* include/avr/power.h: Support ATmega328PB.
	* devtools/gen-avr-lib-tree.sh.in: Add atmega328pb.
	* devtools/generate_iosym.sh: Add atmega328pb.
	* crt1/iosym/atmega328pb.S: New auto-generated file.
sprintersb added a commit that referenced this issue Mar 15, 2024
Device info from Microchip.ATmega_DFP.3.1.264.atpack

	* include/avr/iom324pb.h: New file.
	* include/avr/io.h (__AVR_ATmega324PB__): Handle.
	* include/avr/power.h: Support ATmega324PB.
	* devtools/gen-avr-lib-tree.sh.in: Add atmega324pb.
	* devtools/generate_iosym.sh: Add atmega324pb.
	* crt1/iosym/atmega324pb.S: New auto-generated file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant