atsams-rs / atsamx7x-rust

Rust HAL, PACs, and examples for the Microship SAM E70/S70/V70/V71
Apache License 2.0
25 stars 11 forks source link

HAL: Upstream from OVL works #14

Open jamesmunns opened 2 years ago

jamesmunns commented 2 years ago

Hey, I've been working on ATSAME70 support specifically in a repo as part of some contracting work (OVL => OneVariable UG Labs).

Since I've been focused on just this one chip, and a relatively limited set of features, it's probably not ready to merge 1:1, but just in case someone is interested, the repo is here, and I've published the crate under the name ovl-atsamx7x-hal for now, until this work gets upstreamed.

So far, I have the following components implemented:

Feel free to take any of this work if you want/need it before I get a chance to upstream! I've kept the 0BSD license, so you can do what you'd like.

Edit (2022-04-22): Added RTT impl

jamesmunns commented 2 years ago

Oh, there are also quite a few working examples in the same70-bringup project, available here.

tmplt commented 2 years ago

Thanks for the notice. I'll take a more thorough look at it when able.

michalfita commented 2 years ago

@tmplt is there anything from that @jamesmunns work here that wasn't in #25?

tmplt commented 2 years ago

Only the GMAC and groundhog::RollingTimer implementations. I'll push a WIP PR for the former tomorrow. I do not consider the latter in-scope for the HAL currently.

tmplt commented 2 years ago

Superseded by #33. This issue can be closed.

michalfita commented 2 years ago

The #33 is a PR, as well as #32 and #31 which are continuation of work from #24.