extmod/moduplatform: Detect xtensa arch.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
000b001fc1
commit
3243abfda2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user