1 parent e178204 commit 4f29b31Copy full SHA for 4f29b31
1 file changed
esp8266/main.c
@@ -65,7 +65,9 @@ STATIC void mp_reset(void) {
65
#if MICROPY_MODULE_FROZEN
66
pyexec_frozen_module("_boot.py");
67
pyexec_file("boot.py");
68
- pyexec_file("main.py");
+ if (pyexec_mode_kind == PYEXEC_MODE_FRIENDLY_REPL) {
69
+ pyexec_file("main.py");
70
+ }
71
#endif
72
}
73
0 commit comments