Skip to content

Commit 402fdc4

Browse files
committed
extmod/modplatform: Set MICROPY_PLATFORM_ARCH on riscv platforms.
Signed-off-by: Damien George <[email protected]>
1 parent e7ae3ad commit 402fdc4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

extmod/modplatform.h

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
#define MICROPY_PLATFORM_ARCH "x86"
4444
#elif defined(__xtensa__)
4545
#define MICROPY_PLATFORM_ARCH "xtensa"
46+
#elif defined(__riscv)
47+
#define MICROPY_PLATFORM_ARCH "riscv"
4648
#else
4749
#define MICROPY_PLATFORM_ARCH ""
4850
#endif

0 commit comments

Comments
 (0)