mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 22:38:08 +00:00
core: make emu.sh respect TREZOR_MODEL env variable
This commit is contained in:
parent
8bc32d035b
commit
de43dde1e9
@ -6,5 +6,11 @@ if [ -n "$1" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd src
|
TREZOR_MODEL="${TREZOR_MODEL:-T}"
|
||||||
|
if [ "$TREZOR_MODEL" = "T" ]; then
|
||||||
|
cd src
|
||||||
|
else
|
||||||
|
cd "src${TREZOR_MODEL}"
|
||||||
|
fi
|
||||||
|
|
||||||
../build/unix/micropython -O$PYOPT -X heapsize=20M -m main
|
../build/unix/micropython -O$PYOPT -X heapsize=20M -m main
|
||||||
|
Loading…
Reference in New Issue
Block a user