micropython/docs/develop
Alessandro Gatti e939d3ec76 tools/mpy_ld.py: Add RV64 natmod support.
This commit adds the ability to compile native modules for the RV64
platform, using "rv64imc" as its architecture name (eg.
"make ARCH=rv64imc" should build a RV64 natmod).

The rest of 64-bits relocations needed to build a native module are now
implemented, and all sample native modules build without errors or
warnings.  The same Picolibc caveats on RV32 also apply on RV64, thus
the documentation was updated accordingly.

RV64 native modules are also built as part of the CI process, but not
yet executed as the QEMU port is not yet able to load and run them.

Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
2025-12-30 18:18:42 +01:00
..
img docs/develop: Add MicroPython Internals chapter. 2021-01-27 16:59:58 +11:00
cmodules.rst py/py.mk: Add SRC_USERMOD_LIB_ASM to include assembly files. 2024-08-01 12:01:18 +10:00
compiler.rst all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
extendingmicropython.rst docs: Remove trailing spaces and convert tabs to spaces. 2021-12-15 11:49:22 +11:00
gettingstarted.rst tools/ci.sh: Add zsh and fish shell completion support. 2025-11-26 13:50:39 +11:00
index.rst README: Define and describe the port Tier levels. 2025-10-23 11:23:17 +11:00
library.rst all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
maps.rst docs/develop: Add MicroPython Internals chapter. 2021-01-27 16:59:58 +11:00
memorymgt.rst docs/develop: Add MicroPython Internals chapter. 2021-01-27 16:59:58 +11:00
natmod.rst tools/mpy_ld.py: Add RV64 natmod support. 2025-12-30 18:18:42 +01:00
optimizations.rst docs/develop/optimizations: Fix typo identified in issue 14391. 2024-04-29 09:20:28 +10:00
porting.rst all: Simplify mp_int_t/mp_uint_t definition. 2025-10-23 15:12:28 +11:00
publiccapi.rst docs/develop: Add MicroPython Internals chapter. 2021-01-27 16:59:58 +11:00
qstr.rst docs: Remove trailing spaces and convert tabs to spaces. 2021-12-15 11:49:22 +11:00
support_tiers.rst README: Define and describe the port Tier levels. 2025-10-23 11:23:17 +11:00
writingtests.rst tests/run-tests.py: Change --target/--device options to --test-instance. 2024-11-04 12:47:47 +11:00