micropython/docs/reference
Jim Mussared d94141e147 py/persistentcode: Introduce .mpy sub-version.
The intent is to allow us to make breaking changes to the native ABI (e.g.
changes to dynruntime.h) without needing the bytecode version to increment.

With this commit the two bits previously used for the feature flags (but
now unused as of .mpy version 6) encode a sub-version.  A bytecode-only
.mpy file can be loaded as long as MPY_VERSION matches, but a native .mpy
(i.e. one with an arch set) must also match MPY_SUB_VERSION.  This allows 3
additional updates to the native ABI per bytecode revision.

The sub-version is set to 1 because the previous commits that changed the
layout of mp_obj_type_t have changed the native ABI.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Signed-off-by: Damien George <damien@micropython.org>
2022-09-19 23:19:55 +10:00
..
asm_thumb2_arith.rst docs: Add reference for Thumb2 inline assembler. 2015-06-25 00:21:35 +01:00
asm_thumb2_compare.rst docs: Add reference for Thumb2 inline assembler. 2015-06-25 00:21:35 +01:00
asm_thumb2_directives.rst docs: More consistent capitalization and use of articles in headings. 2020-01-06 22:17:29 +11:00
asm_thumb2_float.rst docs: More consistent capitalization and use of articles in headings. 2020-01-06 22:17:29 +11:00
asm_thumb2_hints_tips.rst docs: Remove trailing spaces and convert tabs to spaces. 2021-12-15 11:49:22 +11:00
asm_thumb2_index.rst docs: More consistent capitalization and use of articles in headings. 2020-01-06 22:17:29 +11:00
asm_thumb2_label_branch.rst docs: Spelling mistakes 2016-08-02 11:17:46 +03:00
asm_thumb2_ldr.rst docs: Add reference for Thumb2 inline assembler. 2015-06-25 00:21:35 +01:00
asm_thumb2_logical_bit.rst docs: More consistent capitalization and use of articles in headings. 2020-01-06 22:17:29 +11:00
asm_thumb2_misc.rst docs: Several minor changes: network, pyb, ADCAll and inline asm. 2016-01-13 21:53:26 +00:00
asm_thumb2_mov.rst py/inlinethumb: Remove 30-bit restriction on movwt instruction. 2016-01-07 16:34:11 +00:00
asm_thumb2_stack.rst docs: Add reference for Thumb2 inline assembler. 2015-06-25 00:21:35 +01:00
asm_thumb2_str.rst docs: Add reference for Thumb2 inline assembler. 2015-06-25 00:21:35 +01:00
constrained.rst py/parse: Allow all constant objects to be used in "X = const(o)". 2022-05-18 16:18:35 +10:00
filesystem.rst docs/reference/filesystem.rst: Add detail on how to use littlefs fuse. 2021-11-19 15:13:05 +11:00
glossary.rst docs: Replace ufoo with foo in all docs. 2021-08-13 22:53:29 +10:00
index.rst docs/reference/manifest.rst: Add docs for manifest.py files. 2021-10-14 14:03:03 +11:00
isr_rules.rst docs/reference/isr_rules.rst: Describe uasyncio-IRQ interface. 2022-02-04 12:27:16 +11:00
manifest.rst docs/reference/manifest: Add link to details about opt-level for freeze. 2022-05-27 14:45:46 +10:00
mpremote.rst drivers/display: Don't include tests by default. 2022-09-06 12:09:20 +10:00
mpyfiles.rst py/persistentcode: Introduce .mpy sub-version. 2022-09-19 23:19:55 +10:00
packages.rst docs/library/index.rst: Clarify module naming and purpose. 2021-08-13 23:14:08 +10:00
pyboard.py.rst tools/pyboard.py: Add "touch" filesystem command. 2022-08-18 22:24:25 +10:00
repl.rst docs/reference/repl.rst: Add information about new raw-paste mode. 2020-12-01 22:35:13 +11:00
speed_python.rst docs: Remove trailing spaces and convert tabs to spaces. 2021-12-15 11:49:22 +11:00