SoloKeys Solo 2 monorepo.
WARNING WARNING WARNING
- EARLY PRERELEASE.
- NOT FOR PUBLIC USE.
- PULL REQUESTS / ISSUES ONLY AFTER INITIAL CONSULTATION WITH THE TEAM.
For technical questions and discussions: https://github.com/solokeys/solo2/discussions
For product / crowdfunding questions and discussions: https://github.com/solokeys/kickstarter2021/discussions
For general discussion:
- visit our Keybase chat: https://keybase.io/team/solokeys.public
- visit one of our Matrix rooms: https://matrix.to/#/+solokeys:matrix.org
To repeat: Please do not open issues/PRs that are not technical issues / firmware bugs
To make pcsclite on Linux work with the Bee, on Debian copy Info.plist
to /etc/libccid_Info.plist
.
-
Install Rust and Cargo for your system.
-
Install dependencies such as clang, llvm, arm-none-eabi-gdb, flip-link
-
Get and prepare hardware
-
Run
make build-dev
.
For more information: https://hackmd.io/@solokeys/solo2-getting-started. Please do not send PRs to expand on getting started generalities, just edit the linked HackMD directly.
Head to runnners/lpc55/board for an overview on the possible embedded platforms the firmware currently supports.
Head to runners/lpc55 to get started, and try make build-dev
, which compiles
the entire firmware bundle using features convenient for getting started.
With make run-dev
, it will try to connect to a GDB server to flash and run the firmware.
One way to run a GDB server is JLinkGDBServer -strict -device LPC55S69 -if SWD -vd
To enable logs, you can change the feature flags on each crate. Then logs will be output via semihosting to your SWD debugger.
# Enable logs on the root crate and a few of the local crate dependencies.
cargo run --release --features board-lpcxpresso55,log-all,fido-authenticator/log-all,ctaphid-dispatch/log-info,ctap-types/log-all
This software is licensed under either of Apache License, Version 2.0 or MIT License at your option.
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.