1
0
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:
Roman Zeyde 2025-03-28 11:36:18 +03:00 committed by Roman Zeyde
parent cc416720f0
commit 567de7e643
2 changed files with 2 additions and 2 deletions

View File

@ -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',

View File

@ -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',