Skip to content

Commit 2a366e1

Browse files
committed
docs/reference/mpyfiles: Remove docs about mpy flags and qstr win size.
Signed-off-by: Damien George <[email protected]>
1 parent c49d520 commit 2a366e1

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

docs/reference/mpyfiles.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)