8 breaking releases

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

#783 in Embedded development

Download history 2/week @ 2022-11-25 7/week @ 2022-12-02 20/week @ 2022-12-09 4/week @ 2022-12-16 6/week @ 2022-12-23 3/week @ 2022-12-30 4/week @ 2023-01-06 6/week @ 2023-01-13 16/week @ 2023-01-20 23/week @ 2023-01-27 18/week @ 2023-02-03 31/week @ 2023-02-10 46/week @ 2023-02-17 1/week @ 2023-02-24 6/week @ 2023-03-03 4/week @ 2023-03-10

61 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

~1.4–2MB
~41K SLoC