summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorAlessandro Gatti <a.gatti@frob.it>2024-09-29 17:40:17 +0200
committerDamien George <damien@micropython.org>2025-09-19 11:11:31 +1000
commit1b92bda5b8e5e2db8e57c4b7134930e52bc5207a (patch)
tree0a28322827d73d186dddb5672fdeb7d6f17267c9 /py
parentec1bfcfbb7944bb7bbf5048de0152867cf71817b (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 'py')
-rw-r--r--py/persistentcode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/persistentcode.h b/py/persistentcode.h
index cf257a7ab..a45d5fd18 100644
--- a/py/persistentcode.h
+++ b/py/persistentcode.h
@@ -98,6 +98,7 @@ enum {
MP_NATIVE_ARCH_XTENSA,
MP_NATIVE_ARCH_XTENSAWIN,
MP_NATIVE_ARCH_RV32IMC,
+ MP_NATIVE_ARCH_RV64IMC,
MP_NATIVE_ARCH_DEBUG, // this entry should always be last
};