mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 12:00:59 +00:00
emu: increase heapsize
This commit is contained in:
parent
7dc207a8df
commit
b77646904b
6
emu.sh
6
emu.sh
@ -6,11 +6,7 @@ EXE=build/unix/micropython
|
||||
OPTLEVEL="${OPTLEVEL:-1}"
|
||||
MAIN="${MAIN:-main.py}"
|
||||
BROWSER="${BROWSER:-chromium}"
|
||||
if file $EXE | grep -q 80386 ; then
|
||||
HEAPSIZE="${HEAPSIZE:-170K}"
|
||||
else
|
||||
HEAPSIZE="${HEAPSIZE:-340K}"
|
||||
fi
|
||||
HEAPSIZE="${HEAPSIZE:-800K}"
|
||||
|
||||
ARGS="-O${OPTLEVEL} -X heapsize=${HEAPSIZE}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user