From 1b92bda5b8e5e2db8e57c4b7134930e52bc5207a Mon Sep 17 00:00:00 2001 From: Alessandro Gatti Date: Sun, 29 Sep 2024 17:40:17 +0200 Subject: 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 --- py/persistentcode.h | 1 + 1 file changed, 1 insertion(+) (limited to 'py/persistentcode.h') 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 }; -- cgit v1.2.3