Browse Source

extmod/modplatform: Set MICROPY_PLATFORM_ARCH on riscv platforms.

Signed-off-by: Damien George <damien@micropython.org>
pull/11876/head
Damien George 1 year ago
parent
commit
402fdc40fb
  1. 2
      extmod/modplatform.h

2
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

Loading…
Cancel
Save