Skip to content

Commit 8757eb7

Browse files
committed
rp2/mpconfigport: Enable Zba opcodes in RISC-V mode.
This commit enables generation of Zba opcodes by the native emitter for the Pico2, as its RISC-V implementation supports both of those extensions (see section 3.8 of the RP2350 datasheet). Signed-off-by: Alessandro Gatti <[email protected]>
1 parent 1fea1e2 commit 8757eb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ports/rp2/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
#endif
110110
#elif PICO_RISCV
111111
#define MICROPY_EMIT_RV32 (1)
112+
#define MICROPY_EMIT_RV32_ZBA (1)
112113
#define MICROPY_EMIT_INLINE_RV32 (1)
113114
#endif
114115

0 commit comments

Comments
 (0)