Code: Select all
freeze(
"..",
(
"xx/xxx.py",
...
),
opt=3,
)
Code: Select all
opt=3
Code: Select all
freeze(
"..",
(
"xx/xxx.py",
...
),
opt=3,
)
Code: Select all
opt=3
It sets mp_optimise_value, which with a value of 3 will remove line number information from the bytecode (smaller firmware) and prevent emitting any code for "assert" statements.
Not sure I follow sorry, what doesn't look like a python script?
It's Python.