diff options
author | Alessandro Gatti <a.gatti@frob.it> | 2024-09-29 17:40:17 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-09-19 11:11:31 +1000 |
commit | 1b92bda5b8e5e2db8e57c4b7134930e52bc5207a (patch) | |
tree | 0a28322827d73d186dddb5672fdeb7d6f17267c9 /docs/reference | |
parent | ec1bfcfbb7944bb7bbf5048de0152867cf71817b (diff) |
mpy-cross: Add RISC-V RV64IMC support in MPY files.
MPY files can now hold data to be run on RV64IMC. This can be
accomplished by passing the `-march=rv64imc` flag to mpy-cross.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'docs/reference')
-rw-r--r-- | docs/reference/mpyfiles.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/reference/mpyfiles.rst b/docs/reference/mpyfiles.rst index be0114701..cd4db623f 100644 --- a/docs/reference/mpyfiles.rst +++ b/docs/reference/mpyfiles.rst @@ -58,7 +58,7 @@ If importing an .mpy file fails then try the following: sys_mpy = sys.implementation._mpy arch = [None, 'x86', 'x64', 'armv6', 'armv6m', 'armv7m', 'armv7em', 'armv7emsp', 'armv7emdp', - 'xtensa', 'xtensawin', 'rv32imc'][sys_mpy >> 10] + 'xtensa', 'xtensawin', 'rv32imc', 'rv64imc'][sys_mpy >> 10] print('mpy version:', sys_mpy & 0xff) print('mpy sub-version:', sys_mpy >> 8 & 3) print('mpy flags:', end='') |