1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-30 03:18:20 +00:00
trezor-firmware/core/docs/emulator.md
2019-04-15 19:14:40 +02:00

653 B

Emulator

emulator

  1. build the emulator
  2. run emu.sh
  3. to use bridge with the emulator support, start it with trezord -e 21324

Profiles

To run emulator with different flash and sdcard files set the environment variable TREZOR_PROFILE like so:

TREZOR_PROFILE=foobar ./emu.sh

This will create a profile directory in your home ~/.trezoremu/foobar containing emulator run files.

Alternatively you can set a full path like so:

TREZOR_PROFILE=/var/tmp/foobar ./emu.sh

When the TREZOR_PROFILE is not set the default is /var/tmp .