2 releases

0.1.1 Oct 18, 2024
0.1.0 May 3, 2024

#2371 in Embedded development

Download history 21/week @ 2024-07-27 11/week @ 2024-09-21 1/week @ 2024-09-28 65/week @ 2024-10-12 68/week @ 2024-10-19 4/week @ 2024-10-26 7/week @ 2024-11-02 4/week @ 2024-11-09

146 downloads per month

MIT/Apache

1.5MB
26K SLoC

Adafruit Matrix Portal M4 Board Support Crate

This crate provides a type-safe API for working with the Adafruit Matrix Portal M4 board.

Prerequisites

Uploading an example

Check out the repository for examples:

https://github.com/atsamd-rs/atsamd/tree/master/boards/matrix_portal_m4/examples

  • Be in this directory cd boards/matrix_portal_m4
  • Put your device in bootloader mode usually by hitting the reset button twice.
  • Build and upload in one step
$ 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

Matrix Portal M4

PCB DOCs Adafruit Pinout

Dependencies

~7.5MB
~185K SLoC