16 releases (breaking)

0.12.0 Jul 15, 2023
0.11.1 May 8, 2022
0.11.0 Mar 29, 2022
0.10.0 Dec 25, 2021
0.1.2 Mar 5, 2019

#1698 in Embedded development

Download history 24/week @ 2023-11-01 19/week @ 2023-11-08 8/week @ 2023-11-15 27/week @ 2023-11-22 58/week @ 2023-11-29 4/week @ 2023-12-06 23/week @ 2023-12-13 25/week @ 2023-12-20 20/week @ 2023-12-27 18/week @ 2024-01-03 5/week @ 2024-01-10 12/week @ 2024-01-17 28/week @ 2024-01-24 18/week @ 2024-01-31 4/week @ 2024-02-07 111/week @ 2024-02-14

167 downloads per month

MIT/Apache

1.5MB
23K 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

~9.5MB
~279K SLoC