summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'esp8266/main.c')
-rw-r--r--esp8266/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/esp8266/main.c b/esp8266/main.c
index 5087c7d6a3..1e988ef33a 100644
--- a/esp8266/main.c
+++ b/esp8266/main.c
@@ -58,6 +58,10 @@ STATIC void mp_reset(void) {
MP_STATE_PORT(mp_kbd_exception) = mp_obj_new_exception(&mp_type_KeyboardInterrupt);
MP_STATE_PORT(term_obj) = MP_OBJ_NULL;
MP_STATE_PORT(dupterm_arr_obj) = MP_OBJ_NULL;
+ #if MICROPY_EMIT_XTENSA
+ extern void esp_native_code_init(void);
+ esp_native_code_init();
+ #endif
pin_init0();
readline_init0();
dupterm_task_init();