12 releases (breaking)

0.10.2 Oct 18, 2024
0.10.1 Jul 15, 2023
0.9.0 Jan 11, 2022
0.8.0 Sep 27, 2021
0.1.2 May 4, 2019

#2339 in Embedded development

Download history 21/week @ 2024-07-27 10/week @ 2024-09-21 64/week @ 2024-10-12 62/week @ 2024-10-19 4/week @ 2024-10-26

130 downloads per month
Used in rsportal

MIT/Apache

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

~7MB
~171K SLoC