extmod/modplatform: Set MICROPY_PLATFORM_ARCH on riscv platforms.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
e7ae3ad92d
commit
402fdc40fb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user