summaryrefslogtreecommitdiff
path: root/esp8266/mpconfigport.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-12-09 17:05:51 +1100
committerDamien George <damien.p.george@gmail.com>2016-12-09 17:13:00 +1100
commit3a4ebf57685e2ea03deb61276f832108b4ab08b7 (patch)
treef2907a2239333a381712ff4927f66194fb227af2 /esp8266/mpconfigport.h
parentf76b1bfa9f59fcfa03837c6934ad51d2db3ff4a3 (diff)
esp8266: Enable inline Xtensa assembler.
With this patch, @micropython.asm_xtensa can be used on the esp8266 port.
Diffstat (limited to 'esp8266/mpconfigport.h')
-rw-r--r--esp8266/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h
index 40550024b..d15a7cdd4 100644
--- a/esp8266/mpconfigport.h
+++ b/esp8266/mpconfigport.h
@@ -11,6 +11,7 @@
#define MICROPY_ALLOC_PARSE_CHUNK_INIT (64)
#define MICROPY_PERSISTENT_CODE_LOAD (1)
#define MICROPY_EMIT_XTENSA (1)
+#define MICROPY_EMIT_INLINE_XTENSA (1)
#define MICROPY_MEM_STATS (0)
#define MICROPY_DEBUG_PRINTERS (1)
#define MICROPY_DEBUG_PRINTER_DEST mp_debug_print