1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00
trezor-firmware/emu.sh
2016-09-27 17:23:23 +02:00

11 lines
271 B
Bash
Executable File

#!/bin/bash
cd `dirname $0`/src
rm -f ../pipe.*
if [ "$1" == -d ]; then
shift
gdb --args ../vendor/micropython/unix/micropython $* -O0 -X heapsize=100000 main.py
else
../vendor/micropython/unix/micropython $* -O0 -X heapsize=100000 main.py
fi
rm -f ../pipe.*