8 breaking releases

Uses new Rust 2021

0.9.0 Jan 11, 2022
0.8.0 Sep 27, 2021
0.7.0 Dec 31, 2020
0.6.0 Nov 28, 2020
0.1.2 May 4, 2019

#870 in Embedded development

Download history 33/week @ 2022-04-24 45/week @ 2022-05-01 62/week @ 2022-05-08 174/week @ 2022-05-15 45/week @ 2022-05-22 86/week @ 2022-05-29 58/week @ 2022-06-05 2/week @ 2022-06-12 6/week @ 2022-06-19 1/week @ 2022-06-26 12/week @ 2022-07-03 13/week @ 2022-07-10 23/week @ 2022-07-17 22/week @ 2022-07-24 25/week @ 2022-07-31 6/week @ 2022-08-07

76 downloads per month
Used in rsportal

MIT/Apache

1MB
19K SLoC

Adafruit PyPortal Board Support Crate

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

Check out the repository for examples: https://github.com/atsamd-rs/atsamd/tree/master/boards/pyportal/examples

Prerequisites

  • Install the cross compile toolchain rustup target add thumbv7em-none-eabihf

  • Install hf2-cli the uf2 bootloader flasher tool however your platform requires

  • Be in this directory cd boards/pyportal

  • Put your device in bootloader mode usually by hitting the reset button twice.

Uploading an example: cargo run

The .cargo/config in this bsp is preset with hf2-cli as a runner. This means you can use cargo run to both cargo build and attempt to upload:

$ cargo run --release --example blinky_basic

Or even better just your ide's "run" button or hotkey and cargo run will build and upload.

Dependencies

~8MB
~249K SLoC