esp8266: Add hard IRQ callbacks for pin change on GPIO0-15.

This commit is contained in:
Damien George
2016-04-14 11:15:43 +01:00
parent d9d408135d
commit 674bf1bc81
7 changed files with 182 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ STATIC void mp_reset(void) {
#endif
MP_STATE_PORT(mp_kbd_exception) = mp_obj_new_exception(&mp_type_KeyboardInterrupt);
MP_STATE_PORT(term_obj) = MP_OBJ_NULL;
pin_init0();
#if MICROPY_MODULE_FROZEN
pyexec_frozen_module("_boot");
pyexec_file("boot.py");