atsamd-rs / atsamd

Target atsamd microcontrollers using Rust
https://matrix.to/#/#atsamd-rs:matrix.org
Apache License 2.0
570 stars 200 forks source link

Arduino/Genuino Zero Support #78

Open craben20 opened 5 years ago

craben20 commented 5 years ago

Are there any plans for Zero support?

I see there's MKRZERO support, but I'm unsure regarding how similar the pin assignments are on these boards. [EDIT]: I see Bobbin seems to feature crates for support of this board, but frankly I'd rather not stray there.

djmcgill commented 5 years ago

The answer is unfortunately that they are not especially similar, you can compare the two:

However adding the mapping between board pins and chip pins shouldn't be too bad, it would look extremely similar to the mkrzero one but with the values from arduino_zero sheet above.

craben20 commented 5 years ago

Nice, this doesn't look too difficult to implement. When I have a minute, I'll do it - cheers. I'll leave this open until then.