tools/mpy-tool.py: Support freezing rv32imc native code.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user