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

Upgrade to avr-device 0.3 #128

Merged
merged 4 commits into from
Feb 7, 2021
Merged

Upgrade to avr-device 0.3 #128

merged 4 commits into from
Feb 7, 2021

Conversation

Rahix
Copy link
Owner

@Rahix Rahix commented Feb 7, 2021

No description provided.

Otherwise we'll get duplicated jobs for local branches which are also
used in a pull request.
With avr-device the names for the SPI clock rates were updated.  Reflect
this update in the HAL as well to make it compile with the new version.
The previous code was based on the incorrect PAC enum which contained
enumerated values which actually do not fit the field they were
specified for.  As those were removed in avr-device 0.3, this
implmentation here also no longer compiles.

Instead, use a similar approach to the atmega32u4-hal where a custom
`AdcMux` enum is defined which we use to represent all supported MUX
values in a compact way.
@Rahix Rahix merged commit 3423679 into master Feb 7, 2021
@Rahix Rahix deleted the avr-device-0.3 branch February 7, 2021 14:51
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

Successfully merging this pull request may close these issues.

1 participant