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

Rust support for Adafruit NeoTrellis M4 Express boads #286

Closed
tarcieri opened this issue Dec 27, 2018 · 8 comments
Closed

Rust support for Adafruit NeoTrellis M4 Express boads #286

tarcieri opened this issue Dec 27, 2018 · 8 comments

Comments

@tarcieri
Copy link

tarcieri commented Dec 27, 2018

Hello all. I'm looking for other people who might be interested in developing some Rust crates for use with the NeoTrellis and NeoTrellis M4 (pictured below) devices from Adafruit:

https://learn.adafruit.com/adafruit-neotrellis/
https://learn.adafruit.com/adafruit-neotrellis-m4/

adafruit_products_3963_iso_lit_orig_2018_10

These devices are usable as relatively inexpensive ($60), small, self-contained (low fi) music synthesizers or USB MIDI controllers with a grid of 4x4 or 4x8 RGB LED buttons.

Here is a quick breakdown of the hardware:

@tarcieri
Copy link
Author

Tangibly I'm interested in hearing from anyone who has developed Rust applications leveraging any of this hardware, and also collaborating on a Rust crate which presents some high-level interfaces to the device's functionality.

@RandomInsano
Copy link

RandomInsano commented Dec 30, 2018 via email

@jonwingfield
Copy link

Hi Tony,

There is already some active work going on for the ATSAMD21/51 family of micros at https://github.com/atsamd-rs/atsamd. Most of the work currently focuses on the 21, but there has been some started on the 51, and I think it would be a relatively simple thing to get going once you're familiar with the basics (SVDs, HAL, etc). I'd recommend opening a discussion there.

@tarcieri
Copy link
Author

Thanks! I've opened an issue over there about ATSAMD51 support: atsamd-rs/atsamd#38

@tarcieri
Copy link
Author

tarcieri commented Jan 22, 2019

Here's a PR to add an ATSAMD51 HAL: atsamd-rs/atsamd#31

I've opened a separate issue about DAC support, documenting what AdaFruit's code does to utilize the DAC, as well as the corresponding Rust ATSAMD21 code: atsamd-rs/atsamd#39

@tarcieri
Copy link
Author

tarcieri commented Mar 3, 2019

I've opened a PR to add a board definition here:

atsamd-rs/atsamd#40

...and with that, I think I can close out this issue. Thanks for the help!

@tarcieri tarcieri closed this as completed Mar 3, 2019
@tarcieri
Copy link
Author

tarcieri commented Mar 4, 2019

One last thing... here's Rust blinking all of the LED buttons! 🎉

ezgif-5-66826ee0bddf

@tarcieri tarcieri changed the title Rust support for NeoTrellis (M4) Rust support for Adafruit NeoTrellis M4 Express boads Mar 4, 2019
@tarcieri
Copy link
Author

tarcieri commented Mar 4, 2019

Okay I lied. Last but not least here is the board support crate: https://crates.io/crates/trellis_m4

bors bot added a commit to rust-embedded/awesome-embedded-rust that referenced this issue Mar 21, 2019
167: README.md: Add ADXL343 driver info r=jamesmunns a=tarcieri

I wrote a driver for the ADXL343 in support of the [Adafruit NeoTrellis M4](rust-embedded/wg#286):

https://crates.io/crates/adxl343

Will make some videos for it in a bit... seems you also want an intro blog post?

Co-authored-by: Tony Arcieri <[email protected]>
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

No branches or pull requests

3 participants