1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 19:38:09 +00:00
trezor-firmware/core/emu.sh

11 lines
215 B
Bash
Raw Normal View History

#!/bin/sh
PYOPT="${PYOPT:-1}"
2016-06-12 23:24:47 +00:00
if [ -n "$1" ]; then
echo "This is just a compatibility wrapper. Use emu.py if you want features."
exit 1
fi
cd src
../build/unix/micropython -O$PYOPT -X heapsize=20M -m main