15 releases (breaking)

Uses new Rust 2021

0.11.1 May 8, 2022
0.11.0 Mar 29, 2022
0.10.0 Dec 25, 2021
0.9.0 Sep 27, 2021
0.1.2 Mar 5, 2019

#761 in Embedded development

Download history 1/week @ 2022-04-15 17/week @ 2022-04-22 84/week @ 2022-04-29 90/week @ 2022-05-06 260/week @ 2022-05-13 50/week @ 2022-05-20 90/week @ 2022-05-27 108/week @ 2022-06-03 2/week @ 2022-06-10 2/week @ 2022-06-17 3/week @ 2022-06-24 16/week @ 2022-07-01 15/week @ 2022-07-08 30/week @ 2022-07-15 33/week @ 2022-07-22 2/week @ 2022-07-29

95 downloads per month

MIT/Apache

1MB
19K SLoC

Adafruit Metro M4 Board Support Crate

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

Prerequisites

Uploading an example

Check out the repository for examples:

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

  • Be in this directory cd boards/metro_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
    Finished release [optimized + debuginfo] target(s) in 0.19s
    Searching for a connected device with known vid/pid pair.
    Trying  Ok(Some("Adafruit Industries")) Ok(Some("PyBadge"))
    Flashing "/Users/User/atsamd/boards/metro_m4/target/thumbv7em-none-eabihf/release/examples/blinky_basic"
    Finished in 0.079s
$

Dependencies

~8MB
~248K SLoC