15 releases (breaking)

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

#151 in Embedded development

Download history 8/week @ 2022-11-22 5/week @ 2022-11-29 5/week @ 2022-12-06 19/week @ 2022-12-13 4/week @ 2022-12-20 3/week @ 2022-12-27 4/week @ 2023-01-03 5/week @ 2023-01-10 8/week @ 2023-01-17 9/week @ 2023-01-24 6/week @ 2023-01-31 17/week @ 2023-02-07 38/week @ 2023-02-14 23/week @ 2023-02-21 19/week @ 2023-02-28 2/week @ 2023-03-07

82 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

~8.5MB
~259K SLoC