1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 17:38:39 +00:00
trezor-firmware/emu.sh

11 lines
271 B
Bash
Raw Normal View History

2016-03-29 10:41:06 +00:00
#!/bin/bash
cd `dirname $0`/src
2016-04-04 21:51:25 +00:00
rm -f ../pipe.*
2016-04-27 20:44:37 +00:00
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
2016-04-11 09:10:43 +00:00
rm -f ../pipe.*