mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-06-28 02:42:34 +00:00
feat(core): increase MicroPython bytecode optimizations
[no changelog]
This commit is contained in:
parent
cc416720f0
commit
567de7e643
@ -483,7 +483,7 @@ env.Replace(
|
|||||||
ASPPFLAGS='$CFLAGS $CCFLAGS',
|
ASPPFLAGS='$CFLAGS $CCFLAGS',
|
||||||
)
|
)
|
||||||
|
|
||||||
BYTECODE_OPTIMIZATION = {'0': '0', '1': '1'}[PYOPT]
|
BYTECODE_OPTIMIZATION = {'0': '0', '1': '3'}[PYOPT]
|
||||||
|
|
||||||
env.Replace(
|
env.Replace(
|
||||||
HEADERTOOL='headertool',
|
HEADERTOOL='headertool',
|
||||||
|
@ -532,7 +532,7 @@ try:
|
|||||||
except OSError:
|
except OSError:
|
||||||
print("SDL2 not installed, Emulator build is not possible")
|
print("SDL2 not installed, Emulator build is not possible")
|
||||||
|
|
||||||
BYTECODE_OPTIMIZATION = {'0': '0', '1': '1'}[PYOPT]
|
BYTECODE_OPTIMIZATION = {'0': '0', '1': '3'}[PYOPT]
|
||||||
|
|
||||||
env.Replace(
|
env.Replace(
|
||||||
PYTHON='python',
|
PYTHON='python',
|
||||||
|
Loading…
Reference in New Issue
Block a user