micropython/docs/reference
Alessandro Gatti 430837996b py/modsys: Add architecture flags to MicroPython metadata.
This commit adds the currently supported architecture flags value as the
upper part of "sys.implementation._mpy".

This had the side effect of perturbing quite a bit of testing
infrastructure and invalidating documentation related to MPY files.  To
make the test suite run successfully and keep the documentation in sync
the following changes have been made:

* The target info feature check file now isolates eventual architecture
  flags and adds them as a separate field
* The test runner now picks up the new architecture flags field, reports
  it to STDOUT if needed and stores it for future uses
* Relevant test files for MPY files import code had to be updated to
  mask out the architecture flags bits in order to perform correctly
* MPY file format documentation was updated to show how to mask off and
  properly display the architecture flags information.

This works out of the box if the flag bits can fit in a smallint value
once merged with the MPY file header value.

Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
2025-10-24 19:13:15 +02:00
..
asm_thumb2_arith.rst
asm_thumb2_compare.rst
asm_thumb2_directives.rst
asm_thumb2_float.rst
asm_thumb2_hints_tips.rst
asm_thumb2_index.rst all: Replace legacy name with MicroPython and MPy as applicable. 2025-10-04 00:19:40 +10:00
asm_thumb2_label_branch.rst
asm_thumb2_ldr.rst
asm_thumb2_logical_bit.rst
asm_thumb2_misc.rst
asm_thumb2_mov.rst
asm_thumb2_stack.rst
asm_thumb2_str.rst
constrained.rst
filesystem.rst
glossary.rst docs/library/machine: Add docs for Counter and Encoder. 2025-08-02 00:00:03 +10:00
index.rst
isr_rules.rst
manifest.rst
micropython2_migration.rst
mpremote.rst docs/reference/mpremote: Document location of config file. 2025-08-02 00:23:21 +10:00
mpyfiles.rst py/modsys: Add architecture flags to MicroPython metadata. 2025-10-24 19:13:15 +02:00
packages.rst
pyboard.py.rst
repl.rst
reset_boot.rst
speed_python.rst