tools/mpy-tool.py: Support freezing rv32imc native code.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2024-08-29 13:51:12 +10:00
parent 6be1dbc784
commit 9396572eee

View File

@@ -1080,6 +1080,7 @@ class RawCodeNative(RawCode):
MP_NATIVE_ARCH_X64,
MP_NATIVE_ARCH_XTENSA,
MP_NATIVE_ARCH_XTENSAWIN,
MP_NATIVE_ARCH_RV32IMC,
):
self.fun_data_attributes = '__attribute__((section(".text,\\"ax\\",@progbits # ")))'
else: