Skip to content

deadblackclover/ledger-ping-pong

Repository files navigation

Ledger Ping Pong

Demo game for Ledger Nano S/S+

Demo

Building

Prerequisites

This project will try to build nanos-secure-sdk, so you will need:

Linux

  1. A standard ARM gcc (sudo apt-get install gcc-arm-none-eabi binutils-arm-none-eabi)
  2. Cross compilation headers (sudo apt-get install gcc-multilib)
  3. Python3 (sudo apt-get install python3)
  4. 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.

Testing

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.

About

Demo game for Ledger Nano S/S+

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages