mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 04:00:28 +01:00
esp8266/main: Module to run on boot is "boot", not "main".
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user