diff options
author | Damien George <damien@micropython.org> | 2022-01-06 18:24:52 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-01-06 18:24:52 +1100 |
commit | 3243abfda2591c9ae25187ef0bf91b7cf26d8ab4 (patch) | |
tree | 5b7437143a2076ba9ea84242bd8fb8cfc2d248ab /extmod/moduplatform.c | |
parent | 000b001fc1410cb4d0d755730f26b3e5786b76ab (diff) |
extmod/moduplatform: Detect xtensa arch.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'extmod/moduplatform.c')
-rw-r--r-- | extmod/moduplatform.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extmod/moduplatform.c b/extmod/moduplatform.c index 8f678d770..820feb312 100644 --- a/extmod/moduplatform.c +++ b/extmod/moduplatform.c @@ -44,6 +44,8 @@ #define PLATFORM_ARCH "x86_64" #elif defined(__i386__) || defined(_M_IX86) #define PLATFORM_ARCH "x86" +#elif defined(__xtensa__) || defined(_M_IX86) +#define PLATFORM_ARCH "xtensa" #else #define PLATFORM_ARCH "" #endif |