summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/mpconfigport.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-12-15 15:51:34 +1100
committerDamien George <damien.p.george@gmail.com>2016-12-15 15:51:34 +1100
commita770ba147edfab6cf060147f6ef47cf19c1c332b (patch)
treef5e1cc383fa538c346d61a678fb7a5e7542066b9 /stmhal/mpconfigport.h
parentd89cafd5c30be57db99cbf10993bca00d9f523fb (diff)
downloadmicropython-a770ba147edfab6cf060147f6ef47cf19c1c332b.tar.gz
micropython-a770ba147edfab6cf060147f6ef47cf19c1c332b.zip
stmhal: Use core-provided keyboard exception object.
Diffstat (limited to 'stmhal/mpconfigport.h')
-rw-r--r--stmhal/mpconfigport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h
index 203d41472b..cf1bb6abe0 100644
--- a/stmhal/mpconfigport.h
+++ b/stmhal/mpconfigport.h
@@ -42,6 +42,7 @@
#define MICROPY_ENABLE_GC (1)
#define MICROPY_ENABLE_FINALISER (1)
#define MICROPY_STACK_CHECK (1)
+#define MICROPY_KBD_EXCEPTION (1)
#define MICROPY_HELPER_REPL (1)
#define MICROPY_REPL_EMACS_KEYS (1)
#define MICROPY_REPL_AUTO_INDENT (1)
@@ -208,7 +209,6 @@ extern const struct _mp_obj_module_t mp_module_network;
#define MICROPY_PORT_ROOT_POINTERS \
const char *readline_hist[8]; \
\
- mp_obj_t mp_kbd_exception; \
mp_obj_t pyb_hid_report_desc; \
\
mp_obj_t pyb_config_main; \