summaryrefslogtreecommitdiff
path: root/esp8266/modules/_boot.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-09-06 13:40:51 +1000
committerDamien George <damien.p.george@gmail.com>2017-09-06 13:40:51 +1000
commit01dd7804b87d60b2deab16712eccb3b97351a9b7 (patch)
tree1aa21f38a872b8e62a3d4e4f74f68033c6f827e4 /esp8266/modules/_boot.py
parenta9862b30068fc9df1022f08019fb35aaa5085f64 (diff)
ports: Make new ports/ sub-directory and move all ports there.
This is to keep the top-level directory clean, to make it clear what is core and what is a port, and to allow the repository to grow with new ports in a sustainable way.
Diffstat (limited to 'esp8266/modules/_boot.py')
-rw-r--r--esp8266/modules/_boot.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/esp8266/modules/_boot.py b/esp8266/modules/_boot.py
deleted file mode 100644
index 81eb20dd6..000000000
--- a/esp8266/modules/_boot.py
+++ /dev/null
@@ -1,13 +0,0 @@
-import gc
-gc.threshold((gc.mem_free() + gc.mem_alloc()) // 4)
-import uos
-from flashbdev import bdev
-
-try:
- if bdev:
- uos.mount(bdev, '/')
-except OSError:
- import inisetup
- inisetup.setup()
-
-gc.collect()