summaryrefslogtreecommitdiff
path: root/extmod/modplatform.h
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/modplatform.h')
-rw-r--r--extmod/modplatform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/extmod/modplatform.h b/extmod/modplatform.h
index 95bf073fb..56a50e53c 100644
--- a/extmod/modplatform.h
+++ b/extmod/modplatform.h
@@ -43,6 +43,8 @@
#define MICROPY_PLATFORM_ARCH "x86"
#elif defined(__xtensa__)
#define MICROPY_PLATFORM_ARCH "xtensa"
+#elif defined(__riscv)
+#define MICROPY_PLATFORM_ARCH "riscv"
#else
#define MICROPY_PLATFORM_ARCH ""
#endif