Skip to content

Commit 3e64d76

Browse files
dlechdpgeorge
authored andcommitted
docs/reference/mpyfiles: Add release info on v6.1.
This documents when MPY v6.1 was released. Also add some clarification on how the version is encoded in the header. Signed-off-by: David Lechner <david@pybricks.com>
1 parent 4e4bdbd commit 3e64d76

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

docs/reference/mpyfiles.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ and .mpy version.
8686
=================== ============
8787
MicroPython release .mpy version
8888
=================== ============
89-
v1.19 and up 6
89+
v1.20 and up 6.1
90+
v1.19.x 6
9091
v1.12 - v1.18 5
9192
v1.11 4
9293
v1.9.3 - v1.10 3
@@ -100,6 +101,7 @@ MicroPython repository at which the .mpy version was changed.
100101
=================== ========================================
101102
.mpy version change Git commit
102103
=================== ========================================
104+
6 to 6.1 d94141e1473aebae0d3c63aeaa8397651ad6fa01
103105
5 to 6 f2040bfc7ee033e48acef9f289790f3b4e6b74e5
104106
4 to 5 5716c5cf65e9b2cb46c2906f40302401bdd27517
105107
3 to 4 9a5f92ea72754c01cc03e5efcdfe94021120531e
@@ -146,8 +148,8 @@ The .mpy header is:
146148
size field
147149
====== ================================
148150
byte value 0x4d (ASCII 'M')
149-
byte .mpy version number
150-
byte feature flags
151+
byte .mpy major version number
152+
byte native arch and minor version number (was feature flags in older versions)
151153
byte number of bits in a small int
152154
====== ================================
153155

0 commit comments

Comments
 (0)