aboutsummaryrefslogtreecommitdiff
path: root/py/nlr.h
diff options
context:
space:
mode:
authorDamien George2019-09-13 13:15:12 +1000
committerDamien George2019-10-05 13:44:53 +1000
commit9adedce42e308692ea22a1e8e1154c51c1e8173d (patch)
tree709e367cbcffcd0c95e20e1250c0520fa54e0aaa /py/nlr.h
parentf7ddc9416622493e6602dabf573b33b249756f8b (diff)
py: Add new Xtensa-Windowed arch for native emitter.
Enabled via the configuration MICROPY_EMIT_XTENSAWIN.
Diffstat (limited to 'py/nlr.h')
-rw-r--r--py/nlr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/nlr.h b/py/nlr.h
index 3e4b31d92..f2453bc46 100644
--- a/py/nlr.h
+++ b/py/nlr.h
@@ -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