From 3243abfda2591c9ae25187ef0bf91b7cf26d8ab4 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 6 Jan 2022 18:24:52 +1100 Subject: [PATCH] extmod/moduplatform: Detect xtensa arch. Signed-off-by: Damien George --- extmod/moduplatform.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extmod/moduplatform.c b/extmod/moduplatform.c index 8f678d770cad..820feb312aaf 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