From ed878275b020c006ec197bb5f5bdd8179fb36a4c Mon Sep 17 00:00:00 2001
From: Damien George <damien.p.george@gmail.com>
Date: Fri, 14 Oct 2016 01:27:53 +1100
Subject: [PATCH] esp8266: Enable micropython.alloc_emergency_exception_buf().

---
 esp8266/mpconfigport.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h
index 33f319f69..6d0deba8d 100644
--- a/esp8266/mpconfigport.h
+++ b/esp8266/mpconfigport.h
@@ -18,6 +18,7 @@
 #define MICROPY_DEBUG_PRINTER_DEST  mp_debug_print
 #define MICROPY_ENABLE_GC           (1)
 #define MICROPY_STACK_CHECK         (1)
+#define MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF (1)
 #define MICROPY_REPL_EVENT_DRIVEN   (0)
 #define MICROPY_REPL_AUTO_INDENT    (1)
 #define MICROPY_HELPER_REPL         (1)
-- 
GitLab