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

Proposal to improve WVariant part number define logic #326

Merged
merged 2 commits into from
Aug 1, 2022

Conversation

Timvrakas
Copy link

I needed this hacky fix to build with the SAME54N20A. Is there a way to use the CMSIS definitions to automatically build the correct list of _ETCChannel enum options? I will try to explore soon. I've managed to get everything building with forks of all the adafruit repos, but I'd rather not have to maintain that complexity if I can help the upstream support a wider range of parts.

@ladyada
Copy link
Member

ladyada commented Mar 10, 2022

hiya the ifdef change is ok, but please remove the json file :)

@Timvrakas Timvrakas marked this pull request as ready for review July 25, 2022 01:33
@Timvrakas
Copy link
Author

Alright, I finally got around to cleaning this up. I fixed the ethernet handler, and added all the -N and -P components such that they get all available TC/TCC channels.
(The cleaner way to do this would be to use the _SAMD51_TC7_INSTANCE_ defines, and let the CMSIS header logic enable the right instance defines. But that would be a significant change.)

Thanks!

Copy link
Member

@hathach hathach left a comment

Choose a reason for hiding this comment

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

look good to me, unless @ladyada has another request. I think it is safe to merge.

@ladyada ladyada merged commit c2d4153 into adafruit:master Aug 1, 2022
@ladyada
Copy link
Member

ladyada commented Aug 1, 2022

done thanks!

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.

3 participants