Crates.io | solo-bsc |
lib.rs | solo-bsc |
version | 0.0.3 |
source | src |
created_at | 2019-03-12 01:12:46.827585 |
updated_at | 2019-03-12 01:12:46.827585 |
description | Board support crate for the Solo security key |
homepage | |
repository | https://github.com/solokeys/solo-bsc |
max_upload_size | |
id | 120176 |
size | 20,806 |
This is a (WIP!) Rust board support package for the open source Solo security key.
This key consists of:
One specialty is that it has a custom USB bootloader, allowing easy updates. To use it, FLASH ORIGIN
in memory.x needs to be set to 0x800_5000
instead of the conventional 0x800_0000
.
Alternatively, the ST DFU bootloader can be used.
Additionally, serial TX/RX and all SWD pins (SWDIO, SWCLK, SWO) are kind of broken out.
You need stable Rust 2018 edition, for details see the embedded book, in short:
curl https://sh.rustup.rs -sSf | sh
rustup target add thumbv7em-none-eabihf
cargo install cargo-binutils
rustup component add llvm-tools-preview
To build blinky, run make blinky
. You end up with a blinky.hex
file.
To flash it to your Solo Hacker:
solo.hex
tools/solotool.py /path/to/blinky.hex
Licensed under either of
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.