Commit 3243abfd authored by Damien George's avatar Damien George

extmod/moduplatform: Detect xtensa arch.

Signed-off-by: default avatarDamien George <damien@micropython.org>
parent 000b001f
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment