py: Add new Xtensa-Windowed arch for native emitter.

Enabled via the configuration MICROPY_EMIT_XTENSAWIN.
This commit is contained in:
Damien George
2019-09-13 13:15:12 +10:00
parent f7ddc94166
commit 9adedce42e
11 changed files with 50 additions and 6 deletions

View File

@@ -40,6 +40,7 @@
#define MICROPY_NLR_NUM_REGS_ARM_THUMB (10)
#define MICROPY_NLR_NUM_REGS_ARM_THUMB_FP (10 + 6)
#define MICROPY_NLR_NUM_REGS_XTENSA (10)
#define MICROPY_NLR_NUM_REGS_XTENSAWIN (17)
// If MICROPY_NLR_SETJMP is not enabled then auto-detect the machine arch
#if !MICROPY_NLR_SETJMP