Browse Source

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

Signed-off-by: Damien George <damien@micropython.org>
pull/15743/head
Damien George 2 months ago
parent
commit
9396572eee
  1. 1
      tools/mpy-tool.py

1
tools/mpy-tool.py

@ -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:

Loading…
Cancel
Save