Fix `mpy-cross -X native`

This commit is contained in:
Jeff Epler 2023-08-19 13:44:04 -05:00
parent d35e4ffc39
commit 412e242d28
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
1 changed files with 10 additions and 9 deletions

View File

@ -38,15 +38,16 @@
#endif
#endif
// CIRCUITPY: native emitters not supported
#define MICROPY_EMIT_X64 (!CIRCUITPY)
#define MICROPY_EMIT_X86 (!CIRCUITPY)
#define MICROPY_EMIT_THUMB (!CIRCUITPY)
#define MICROPY_EMIT_INLINE_THUMB (!CIRCUITPY)
#define MICROPY_EMIT_ARM (!CIRCUITPY)
#define MICROPY_EMIT_XTENSA (!CIRCUITPY)
#define MICROPY_EMIT_INLINE_XTENSA (!CIRCUITPY)
#define MICROPY_EMIT_XTENSAWIN (!CIRCUITPY)
#define MICROPY_EMIT_X64 (1)
#define MICROPY_EMIT_X86 (1)
#define MICROPY_EMIT_THUMB (1)
#define MICROPY_EMIT_INLINE_THUMB (1)
#define MICROPY_EMIT_INLINE_THUMB_ARMV7M (1)
#define MICROPY_EMIT_INLINE_THUMB_FLOAT (1)
#define MICROPY_EMIT_ARM (1)
#define MICROPY_EMIT_XTENSA (1)
#define MICROPY_EMIT_INLINE_XTENSA (1)
#define MICROPY_EMIT_XTENSAWIN (1)
#define MICROPY_DYNAMIC_COMPILER (1)
#define MICROPY_COMP_CONST_FOLDING (1)