esp8266/scripts/inisetup: Create default boot.py in filesystem.
Currently it pre-imports webrepl, but doesn't start it.
This commit is contained in:
parent
74f413bc60
commit
6ddd9f3e2b
|
@ -37,4 +37,10 @@ def setup():
|
|||
wifi()
|
||||
uos.VfsFat.mkfs(bdev)
|
||||
vfs = uos.VfsFat(bdev, "")
|
||||
with open("/boot.py", "w") as f:
|
||||
f.write("""\
|
||||
# This file is executed on every boot (including wake-boot from deepsleep)
|
||||
import webrepl
|
||||
#webrepl.start()
|
||||
""")
|
||||
return vfs
|
||||
|
|
Loading…
Reference in New Issue