Skip to content

Commit

Permalink
rp2/mpconfigport: Enable RV32 inline assembly support.
Browse files Browse the repository at this point in the history
This commit enables by default inline assembly support for the RP2 target
when it is operating in RISC-V mode.  This brings the feature set when in
RISC-V mode to parity with what's available in ARM mode.

Signed-off-by: Alessandro Gatti <[email protected]>
  • Loading branch information
agatti authored and dpgeorge committed Jan 2, 2025
1 parent 36aa754 commit 24482a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ports/rp2/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
#endif
#elif PICO_RISCV
#define MICROPY_EMIT_RV32 (1)
#define MICROPY_EMIT_INLINE_RV32 (1)
#endif

// Optimisations
Expand Down

0 comments on commit 24482a9

Please sign in to comment.