diff options
| author | Damien George <damien@micropython.org> | 2024-08-29 13:51:12 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-09-04 16:46:39 +1000 |
| commit | 9396572eee25c40f2e9b641c9aa9563fd1f1c1b4 (patch) | |
| tree | 431b2cc9356a26b08f8334aff6eabe10cfa651f1 /tools | |
| parent | 6be1dbc784ba1f845a4f7525bb2ecd6b61a79405 (diff) | |
tools/mpy-tool.py: Support freezing rv32imc native code.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/mpy-tool.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/mpy-tool.py b/tools/mpy-tool.py index 5007bbbac..cdceae374 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: |
