Demo game for Ledger Nano S/S+
This project will try to build nanos-secure-sdk, so you will need:
- A standard ARM gcc (
sudo apt-get install gcc-arm-none-eabi binutils-arm-none-eabi
) - Cross compilation headers (
sudo apt-get install gcc-multilib
) - Python3 (
sudo apt-get install python3
) - Pip3 (
sudo apt-get install python3-pip
)
Other things you will need:
- Cargo-ledger
- Speculos (make sure you add speculos.py to your PATH by running
export PATH=/path/to/speculos:$PATH
) - The correct target for rustc:
rustup target add thumbv6m-none-eabi
You can build on either Linux with a simple cargo build
or cargo build --release
.
It currently builds on stable.
One can for example use speculos
cargo run --release
defaults to running speculos on the generated binary with the appropriate flags, if speculos.py
is in your PATH
.