From a0cd118b142b6f356b11cb0d025d53a5db6a48c7 Mon Sep 17 00:00:00 2001
From: Paul Sokolovsky <pfalcon@users.sourceforge.net>
Date: Sat, 20 Feb 2016 20:45:23 +0200
Subject: [PATCH] esp8266/main: Module to run on boot is "boot", not "main".

---
 esp8266/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/esp8266/main.c b/esp8266/main.c
index 062cc6c58..2046d12d6 100644
--- a/esp8266/main.c
+++ b/esp8266/main.c
@@ -50,7 +50,7 @@ STATIC void mp_reset(void) {
     mp_obj_list_init(mp_sys_argv, 0);
     MP_STATE_PORT(mp_kbd_exception) = mp_obj_new_exception(&mp_type_KeyboardInterrupt);
 #if MICROPY_MODULE_FROZEN
-    pyexec_frozen_module("main");
+    pyexec_frozen_module("boot");
 #endif
 }
 
-- 
GitLab