From 9396572eee25c40f2e9b641c9aa9563fd1f1c1b4 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 29 Aug 2024 13:51:12 +1000 Subject: [PATCH] tools/mpy-tool.py: Support freezing rv32imc native code. Signed-off-by: Damien George --- tools/mpy-tool.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/mpy-tool.py b/tools/mpy-tool.py index 5007bbbaca..cdceae3746 100755 --- a/tools/mpy-tool.py +++ b/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: