File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -27,18 +27,10 @@ Compatibility is based on the following:
2727* Version of the .mpy file: the version of the file must match the version
2828 supported by the system loading it.
2929
30- * Bytecode features used in the .mpy file: there are two bytecode features
31- which must match between the file and the system: unicode support and
32- inline caching of map lookups in the bytecode.
33-
3430* Small integer bits: the .mpy file will require a minimum number of bits in
3531 a small integer and the system loading it must support at least this many
3632 bits.
3733
38- * Qstr compression window size: the .mpy file will require a minimum window
39- size for qstr decompression and the system loading it must have a window
40- greater or equal to this size.
41-
4234* Native architecture: if the .mpy file contains native machine code then
4335 it will specify the architecture of that machine code and the system
4436 loading it must support execution of that architecture's code.
@@ -66,8 +58,6 @@ If importing an .mpy file fails then try the following:
6658 print('mpy flags:', end='')
6759 if arch:
6860 print(' -march=' + arch, end='')
69- if not sys_mpy & 0x200:
70- print(' -mno-unicode', end='')
7161 print()
7262
7363* Check the validity of the .mpy file by inspecting the first two bytes of
You can’t perform that action at this time.
0 commit comments