Crates.io | calliope-mini |
lib.rs | calliope-mini |
version | 0.1.0 |
source | src |
created_at | 2024-03-30 17:34:57.559857 |
updated_at | 2024-03-30 17:34:57.559857 |
description | Board support crate for the Calliope mini |
homepage | https://gitlab.com/alaarmann/calliope-mini |
repository | https://gitlab.com/alaarmann/calliope-mini |
max_upload_size | |
id | 1191221 |
size | 68,999 |
calliope-mini contains everything required getting started using Rust to create firmwares for the Calliope mini microcontroller board. This little board has a lot built-in, even a capable debugging interface.
v1
For determining the version of your board see the product page.
All you need to start programming this device is:
On Linux you have the options to use cargo install
or nix-shell
.
In order to run the examples you need to install flip-link
and cargo-embed
.
> cargo install flip-link cargo-embed
Start a Nix shell in the project's base directory
> nix-shell
The first thing to try is one of the examples in this repository. Plug in your Calliope mini and run one of the commands below.
For Calliope mini V1
> cargo embed --release --manifest-path ./examples/display-blocking/Cargo.toml --features v1 --target thumbv6m-none-eabi
You should see a lot of build output, the orange LED on the back of the micro:bit should flash quickly, and a message should appear on the LED display.
Congratulations! You've flashed your first Rust program onto your Calliope mini!