We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 417dc0c commit 686367dCopy full SHA for 686367d
esp8266/modules/_boot.py
@@ -1,3 +1,4 @@
1
+import gc
2
import uos
3
from flashbdev import bdev
4
@@ -7,3 +8,5 @@
7
8
except OSError:
9
import inisetup
10
vfs = inisetup.setup()
11
+
12
+gc.collect()
esp8266/scripts/inisetup.py
@@ -40,7 +40,9 @@ def setup():
40
with open("/boot.py", "w") as f:
41
f.write("""\
42
# This file is executed on every boot (including wake-boot from deepsleep)
43
44
#import webrepl
45
#webrepl.start()
46
47
""")
48
return vfs
0 commit comments