提交 402fdc40 编写于 作者: D Damien George

extmod/modplatform: Set MICROPY_PLATFORM_ARCH on riscv platforms.

Signed-off-by: NDamien George <damien@micropython.org>
上级 e7ae3ad9
...@@ -43,6 +43,8 @@ ...@@ -43,6 +43,8 @@
#define MICROPY_PLATFORM_ARCH "x86" #define MICROPY_PLATFORM_ARCH "x86"
#elif defined(__xtensa__) #elif defined(__xtensa__)
#define MICROPY_PLATFORM_ARCH "xtensa" #define MICROPY_PLATFORM_ARCH "xtensa"
#elif defined(__riscv)
#define MICROPY_PLATFORM_ARCH "riscv"
#else #else
#define MICROPY_PLATFORM_ARCH "" #define MICROPY_PLATFORM_ARCH ""
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册