emu.sh: rename OPTLEVEL to PYOPT (to match variable name used in the C source)

pull/25/head
Pavol Rusnak 6 years ago
parent fc69ddf38f
commit df967821e7
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -39,7 +39,7 @@ python setup.py develop
If you want to test against the emulator, run it in a separate terminal from the `trezor-core` checkout directory:
```sh
OPTLEVEL=0 ./emu.sh
PYOPT=0 ./emu.sh
```
Find the device address and export it as an environment variable. For the emulator, this is:

@ -3,12 +3,12 @@
source emu.config 2>/dev/null
EXE=build/unix/micropython
OPTLEVEL="${OPTLEVEL:-1}"
PYOPT="${PYOPT:-1}"
MAIN="${MAIN:-main.py}"
BROWSER="${BROWSER:-chromium}"
HEAPSIZE="${HEAPSIZE:-800K}"
ARGS="-O${OPTLEVEL} -X heapsize=${HEAPSIZE}"
ARGS="-O${PYOPT} -X heapsize=${HEAPSIZE}"
cd `dirname $0`/src

Loading…
Cancel
Save