micropython/examples
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
..
bluetooth examples/bluetooth/ble_advertising.py: Fix decoding UUIDs. 2025-07-31 11:02:41 +10:00
embedding py/mpconfig: Enable the sys module at all feature levels by default. 2025-08-22 13:31:10 +10:00
hwapi all: Fix various spelling mistakes found by codespell 2.2.6. 2023-10-03 11:24:50 +11:00
natmod tools/mpy_ld.py: Add RV64 natmod support. 2025-12-30 18:18:42 +01:00
network examples/network: Support full URLs in HTTP(S) client examples. 2024-08-28 12:28:58 +10:00
rp2 examples/rp2/pio_uart_rx.py: Fix use of PIO constants. 2025-07-17 14:31:42 +10:00
SDdatalogger top: Update Python formatting to black "2023 stable style". 2023-02-02 12:51:03 +11:00
unix examples/unix/machine_bios.py: Fix typo. 2023-09-29 17:02:15 +10:00
usb examples/usb: Add README that points out the alternative usb modules. 2024-05-15 15:20:40 +10:00
usercmodule examples/usercmodule: Cast arguments for printf. 2025-07-25 10:59:28 +10:00
accel_i2c.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
accellog.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
asmled.py examples: Mark asm, pio, etc. as noqa: F821 (undefined-name). 2023-08-16 16:12:33 +10:00
asmsum.py examples: Mark asm, pio, etc. as noqa: F821 (undefined-name). 2023-08-16 16:12:33 +10:00
conwaylife.py top: Update Python formatting to black "2023 stable style". 2023-02-02 12:51:03 +11:00
ledangle.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
mandel.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
micropython.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
pyb.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
switch.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00