mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-04-22 18:19:03 +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',
|
||||
)
|
||||
|
||||
BYTECODE_OPTIMIZATION = {'0': '0', '1': '1'}[PYOPT]
|
||||
BYTECODE_OPTIMIZATION = {'0': '0', '1': '3'}[PYOPT]
|
||||
|
||||
env.Replace(
|
||||
HEADERTOOL='headertool',
|
||||
|
@ -532,7 +532,7 @@ try:
|
||||
except OSError:
|
||||
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(
|
||||
PYTHON='python',
|
||||
|
Loading…
Reference in New Issue
Block a user