extmod/moduplatform: Detect xtensa arch.

Signed-off-by: Damien George <damien@micropython.org>
pull/8141/head
Damien George 2022-01-06 18:24:52 +11:00
rodzic 000b001fc1
commit 3243abfda2
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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