summaryrefslogtreecommitdiff
path: root/esp8266/mpconfigport.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-01-16 01:54:40 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-01-16 19:20:17 +0200
commitf12ea7c7ed1ef97ee48c4356dbbc808cc2bdee4a (patch)
treecfc9cddfdfccfc4129b88bf2c88515c7e7517252 /esp8266/mpconfigport.h
parent0abb5609b01c1b59d229bde8a0b3fc1df6dce060 (diff)
esp8266: Implement task-based, event-driven interface with UART.
This enables proper interfacing with underlying OS - MicroPython doesn't run the main loop, OS does, MicroPython just gets called when some event takes place.
Diffstat (limited to 'esp8266/mpconfigport.h')
-rw-r--r--esp8266/mpconfigport.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h
index 2782ceace..c1cdcb340 100644
--- a/esp8266/mpconfigport.h
+++ b/esp8266/mpconfigport.h
@@ -9,7 +9,8 @@
#define MICROPY_MEM_STATS (0)
#define MICROPY_DEBUG_PRINTERS (0)
#define MICROPY_ENABLE_GC (1)
-#define MICROPY_STACK_CHECK (1)
+#define MICROPY_STACK_CHECK (0)
+#define MICROPY_REPL_EVENT_DRIVEN (1)
#define MICROPY_HELPER_REPL (1)
#define MICROPY_HELPER_LEXER_UNIX (0)
#define MICROPY_ENABLE_SOURCE_LINE (1)