summaryrefslogtreecommitdiff
path: root/zephyr/mpconfigport.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-12-16 01:07:28 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-12-16 01:07:28 +0300
commit0c59c30fdeba4479817fe8cf3e5f0e4345a0d927 (patch)
treebc438fe01a704026f36659ca23666af67a3bce92 /zephyr/mpconfigport.h
parent724b82559db88770dd39efab8365cf2a90e7ec97 (diff)
zephyr: Use core-provided keyboard exception object.
Diffstat (limited to 'zephyr/mpconfigport.h')
-rw-r--r--zephyr/mpconfigport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/mpconfigport.h b/zephyr/mpconfigport.h
index e291faf1d..64cf206be 100644
--- a/zephyr/mpconfigport.h
+++ b/zephyr/mpconfigport.h
@@ -37,6 +37,7 @@
#define MICROPY_ENABLE_GC (1)
#define MICROPY_HELPER_REPL (1)
#define MICROPY_REPL_AUTO_INDENT (1)
+#define MICROPY_KBD_EXCEPTION (1)
#define MICROPY_CPYTHON_COMPAT (0)
#define MICROPY_PY_ASYNC_AWAIT (0)
#define MICROPY_PY_ATTRTUPLE (0)
@@ -94,7 +95,6 @@ typedef long mp_off_t;
#define MP_STATE_PORT MP_STATE_VM
#define MICROPY_PORT_ROOT_POINTERS \
- mp_obj_t mp_kbd_exception; \
const char *readline_hist[8];
extern const struct _mp_obj_module_t mp_module_machine;