Skip to content
Snippets Groups Projects
Commit a0cd118b authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

esp8266/main: Module to run on boot is "boot", not "main".

parent f8d42da1
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ STATIC void mp_reset(void) { ...@@ -50,7 +50,7 @@ STATIC void mp_reset(void) {
mp_obj_list_init(mp_sys_argv, 0); mp_obj_list_init(mp_sys_argv, 0);
MP_STATE_PORT(mp_kbd_exception) = mp_obj_new_exception(&mp_type_KeyboardInterrupt); MP_STATE_PORT(mp_kbd_exception) = mp_obj_new_exception(&mp_type_KeyboardInterrupt);
#if MICROPY_MODULE_FROZEN #if MICROPY_MODULE_FROZEN
pyexec_frozen_module("main"); pyexec_frozen_module("boot");
#endif #endif
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment