diff options
author | Damien George <damien.p.george@gmail.com> | 2016-12-15 15:52:47 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-12-15 15:52:47 +1100 |
commit | 48d81c690011126ebb70a521f28ab7588fa7c9be (patch) | |
tree | abd812bea87dcd2a3ea9b8706fdfbaa3016b5f95 /esp8266/mpconfigport.h | |
parent | a770ba147edfab6cf060147f6ef47cf19c1c332b (diff) | |
download | micropython-48d81c690011126ebb70a521f28ab7588fa7c9be.tar.gz micropython-48d81c690011126ebb70a521f28ab7588fa7c9be.zip |
esp8266: Use core-provided keyboard exception object.
Diffstat (limited to 'esp8266/mpconfigport.h')
-rw-r--r-- | esp8266/mpconfigport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h index d15a7cdd4f..9c96824847 100644 --- a/esp8266/mpconfigport.h +++ b/esp8266/mpconfigport.h @@ -19,6 +19,7 @@ #define MICROPY_ENABLE_GC (1) #define MICROPY_STACK_CHECK (1) #define MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF (1) +#define MICROPY_KBD_EXCEPTION (1) #define MICROPY_REPL_EVENT_DRIVEN (0) #define MICROPY_REPL_AUTO_INDENT (1) #define MICROPY_HELPER_REPL (1) @@ -174,7 +175,6 @@ extern const struct _mp_obj_module_t onewire_module; #define MICROPY_PORT_ROOT_POINTERS \ const char *readline_hist[8]; \ vstr_t *repl_line; \ - mp_obj_t mp_kbd_exception; \ mp_obj_t pin_irq_handler[16]; \ // We need to provide a declaration/definition of alloca() |