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

Add ATmega128RFA1 support #93

Merged
merged 1 commit into from
Mar 8, 2022
Merged

Add ATmega128RFA1 support #93

merged 1 commit into from
Mar 8, 2022

Conversation

the6p4c
Copy link
Contributor

@the6p4c the6p4c commented Mar 6, 2022

Adds basic ATmega128RFA1 support.

This has been partially tested (GPIO, SPI) with changes I've got pending to avr-hal libraries, but I don't have a good enough development board to test the other peripherals more than ensuring they build.

This PR also adjusts the common USART patches for UCSZ? slightly to work with the ATmega128RFA1's ATDF. The ATDF does specify enum values for the field but the patch was not _replace_enum. I've changed the common patch to use _replace_enum, to make sure the fields are consistent with other micros.

Adds basic ATmega128RFA1 support. Adjusts the common USART patches for
UCSZ? slightly to work with the ATmega128RFA1's ATDF.
@Rahix Rahix self-requested a review March 6, 2022 14:40
@Rahix Rahix added the mcu-support Support for a new microcontroller label Mar 6, 2022
Copy link
Owner

@Rahix Rahix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for the PR! Unless you want to approach it differently, I would merge it like it is right now and if anything comes up later during HAL integration, it can be fixed in follow-up pull requests.

@the6p4c
Copy link
Contributor Author

the6p4c commented Mar 8, 2022

Sounds good to me. HAL integration seems fine with those peripherals (GPIO/SPI) so I'd like to say I'm confident with the rest, but fixing when those comes up seems smart :D

@Rahix Rahix merged commit 912202c into Rahix:main Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mcu-support Support for a new microcontroller
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants