-
Notifications
You must be signed in to change notification settings - Fork 143
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
Implement support for SAMV devices #681
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CI job checking itself for completeness is pretty useful and still makes me giggle.
322d06e
to
9a08b11
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I finished fixing the hal matrix generator script (with a few missing odd ones). Still haven't had a chance to flash and test if this works - GPIO doesn't build for this target yet.
797a63f
to
2d3bb52
Compare
4ce29b6
to
736ffa9
Compare
1eecbc0
to
39a6a54
Compare
d57fd75
to
3019413
Compare
bc95315
to
df843b0
Compare
Okay, all the remaining TODOs are done. I learned much more about SAM clocks than I wanted to. Special thanks to Jeff for all the help with SAMG internals and as usual Niklas for this wonderful project. Please pay extra scrutiny with reviews, since I still can't say I know what I'm doing. I think I'll have nightmares about clocks... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm generally happy with this PR, the question is are you motivated to de-template the clock functions? It's not terribly important, just very inconsistent with the STM32 API with regards to template use. Otherwise I'd merge this and leave this as tech debt for future contributors.
Not sure if there's a difference in embedded software 🤪 I feel like everyone is hacking everything together without plan, it's quite a scary profession. |
3dbeb2b
to
8aa935e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I'm happy with this now. Excellent work!
Ah, this is missing the compile-all jobs for both SAMG and SAMV. I'll add them later, currently on holidays. |
96862e9
to
b8a6a90
Compare
This implementation will work for samv as well.
This is a WIP PR to touch base on the new device family I'd like to add to modm. I'm primarily interested in SAMV70N20B (that's what my hobby project is running on) and there's no xplained board for this chip, so I plan to make simple examples based on bare chip config.