summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/modules
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-03-10 17:14:21 +1100
committerDamien George <damien.p.george@gmail.com>2017-05-05 20:15:10 +1000
commite62235f8c755b270e478f403d8ac75c5192847ba (patch)
treeb79798ea643960cbbb7f109a47998c891f37d036 /esp8266/modules
parent1b3e3724188af762ccab80cafc959a0e766983bc (diff)
downloadmicropython-e62235f8c755b270e478f403d8ac75c5192847ba.tar.gz
micropython-e62235f8c755b270e478f403d8ac75c5192847ba.zip
esp8266: Change default settings to mount flash at root dir.
Diffstat (limited to 'esp8266/modules')
-rw-r--r--esp8266/modules/_boot.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/esp8266/modules/_boot.py b/esp8266/modules/_boot.py
index 954a9ee284..52683693d4 100644
--- a/esp8266/modules/_boot.py
+++ b/esp8266/modules/_boot.py
@@ -5,9 +5,7 @@ from flashbdev import bdev
try:
if bdev:
- vfs = uos.VfsFat(bdev)
- uos.mount(vfs, '/flash')
- uos.chdir('/flash')
+ uos.mount(bdev, '/')
except OSError:
import inisetup
vfs = inisetup.setup()