summaryrefslogtreecommitdiff
path: root/py/asmxtensa.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-09-13 13:15:12 +1000
committerDamien George <damien.p.george@gmail.com>2019-10-05 13:44:53 +1000
commit9adedce42e308692ea22a1e8e1154c51c1e8173d (patch)
tree709e367cbcffcd0c95e20e1250c0520fa54e0aaa /py/asmxtensa.c
parentf7ddc9416622493e6602dabf573b33b249756f8b (diff)
py: Add new Xtensa-Windowed arch for native emitter.
Enabled via the configuration MICROPY_EMIT_XTENSAWIN.
Diffstat (limited to 'py/asmxtensa.c')
-rw-r--r--py/asmxtensa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/asmxtensa.c b/py/asmxtensa.c
index 22ea2300a..32e5e958a 100644
--- a/py/asmxtensa.c
+++ b/py/asmxtensa.c
@@ -30,7 +30,7 @@
#include "py/mpconfig.h"
// wrapper around everything in this file
-#if MICROPY_EMIT_XTENSA || MICROPY_EMIT_INLINE_XTENSA
+#if MICROPY_EMIT_XTENSA || MICROPY_EMIT_INLINE_XTENSA || MICROPY_EMIT_XTENSAWIN
#include "py/asmxtensa.h"
@@ -250,4 +250,4 @@ void asm_xtensa_call_ind_win(asm_xtensa_t *as, uint idx) {
asm_xtensa_op_callx8(as, ASM_XTENSA_REG_A8);
}
-#endif // MICROPY_EMIT_XTENSA || MICROPY_EMIT_INLINE_XTENSA
+#endif // MICROPY_EMIT_XTENSA || MICROPY_EMIT_INLINE_XTENSA || MICROPY_EMIT_XTENSAWIN