Skip to content

Commit

Permalink
extmod/modplatform: Set MICROPY_PLATFORM_ARCH on riscv platforms.
Browse files Browse the repository at this point in the history
Signed-off-by: Damien George <damien@micropython.org>
  • Loading branch information
dpgeorge committed Jun 23, 2023
1 parent e7ae3ad commit 402fdc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extmod/modplatform.h
Expand Up @@ -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
Expand Down

0 comments on commit 402fdc4

Please sign in to comment.