| Crates.io | matrix_portal_m4 |
| lib.rs | matrix_portal_m4 |
| version | 0.1.2 |
| created_at | 2024-05-03 15:22:27.421449+00 |
| updated_at | 2025-04-23 17:13:06.755834+00 |
| description | Board Support crate for the Matrix Portal M4 |
| homepage | |
| repository | https://github.com/atsamd-rs/atsamd |
| max_upload_size | |
| id | 1228895 |
| size | 30,065 |
This crate provides a type-safe API for working with the Adafruit Matrix Portal M4 board.
rustup target add thumbv7em-none-eabihfCheck out the repository for examples:
https://github.com/atsamd-rs/atsamd/tree/master/boards/matrix_portal_m4/examples
cd boards/matrix_portal_m4$ cargo hf2 --release --example blinky_basic --vid 0x239a --pid 0x00c9
Finished release [optimized] target(s) in 0.74s
Trying Ok(Some("Adafruit Industries")) Ok(Some("Matrix Portal M4"))
Flashing "/Users/User/atsamd/boards/matrix_portal_m4/target/thumbv7em-none-eabihf/release/examples/blinky_basic"
Finished in 0.051s
$ cargo hf2 --release --example pwm --vid 0x239a --pid 0x00c9 --features="unproven"
Finished release [optimized] target(s) in 0.67s
Trying Ok(Some("Adafruit Industries")) Ok(Some("Matrix Portal M4"))
Flashing "/Users/User/atsamd/boards/matrix_portal_m4/target/thumbv7em-none-eabihf/release/examples/pwm"
Finished in 0.146s