diff options
| author | Damien George <damien@micropython.org> | 2023-06-21 14:40:33 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-06-23 15:34:22 +1000 |
| commit | 402fdc40fb5ca98b3987052cc264e8344d928a69 (patch) | |
| tree | 7c7a9f4926e6c0838052b2eb3227aba8509d902e /extmod/modplatform.h | |
| parent | e7ae3ad92d7540cbe349cc05f5d62e0f63fce59b (diff) | |
extmod/modplatform: Set MICROPY_PLATFORM_ARCH on riscv platforms.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'extmod/modplatform.h')
| -rw-r--r-- | extmod/modplatform.h | 2 |
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 |
