Skip to content

Commit

Permalink
extmod/moduplatform: Detect xtensa arch.
Browse files Browse the repository at this point in the history
Signed-off-by: Damien George <damien@micropython.org>
  • Loading branch information
dpgeorge committed Jan 6, 2022
1 parent 000b001 commit 3243abf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extmod/moduplatform.c
Expand Up @@ -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
Expand Down

0 comments on commit 3243abf

Please sign in to comment.