🚧 Work in progress 🚧
Firmware for Curio
- Install rustup by following the instructions at https://rustup.rs
- Install Cortex-M0, M0+, and M1 (ARMv6-M architecture) target:
rustup target add thumbv6m-none-eabi
- Install LLVM tools:
rustup component add llvm-tools-preview
- Install cargo-binutils:
cargo install cargo-binutils
(Note: on some Linux distros (e.g. Ubuntu) you may need to install the packages build-essential, gcc-arm-none-eabi, libssl-dev and pkg-config prior to installing cargo-binutils.) - Clone this repo:
git clone git@github.com:dotcypress/curio-firmware.git
- Build firmware:
cargo build --release
- Flash microcontroller:
cargo run --release
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.