diff options
| author | Alessandro Gatti <a.gatti@frob.it> | 2024-06-08 11:00:08 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-06-21 15:06:07 +1000 |
| commit | 8338f663523d675847b8c0b9b92977b76995de8f (patch) | |
| tree | 7058f782f01fd1a211a18c73456565f4f26f77aa /py/emitglue.c | |
| parent | 5a778ebc378d7a1bc9716177950c9e8ac000bb56 (diff) | |
py/asmrv32: Add RISC-V RV32IMC native code emitter.
This adds a native code generation backend for RISC-V RV32I CPUs, currently
limited to the I, M, and C instruction sets.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'py/emitglue.c')
| -rw-r--r-- | py/emitglue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/emitglue.c b/py/emitglue.c index 6b6d5ccba..444e48047 100644 --- a/py/emitglue.c +++ b/py/emitglue.c @@ -158,7 +158,7 @@ void mp_emit_glue_assign_native(mp_raw_code_t *rc, mp_raw_code_kind_t kind, cons } DEBUG_printf("\n"); - #ifdef WRITE_CODE + #if WRITE_CODE FILE *fp_write_code = fopen("out-code", "wb"); fwrite(fun_data, fun_len, 1, fp_write_code); fclose(fp_write_code); |
