micropython/ports/esp8266/modules
JensDiemer c14ff6194c esp8266/modules: Fix AttributeError in _boot.py if flash not formatted.
Prior to this commit, if the flash filesystem was not formatted then it
would error: "AttributeError: 'FlashBdev' object has no attribute 'mount'".
That is due to it not being able to detect the filesystem on the block
device and just trying to mount the block device directly.

This commit fixes the issue by just catching all exceptions.  Also it's not
needed to try the mount if `flashbdev.bdev` is None.
2020-01-14 23:53:49 +11:00
..
_boot.py esp8266/modules: Fix AttributeError in _boot.py if flash not formatted. 2020-01-14 23:53:49 +11:00
apa102.py ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
flashbdev.py esp8266/modules/flashbdev.py: Support extended block protocol. 2019-11-07 18:43:37 +11:00
inisetup.py esp8266/main: Activate UART(0) on dupterm for REPL before boot.py runs. 2019-01-16 17:24:23 +11:00
neopixel.py ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
ntptime.py esp8266/modules/ntptime.py: Always close socket, and set day-of-week. 2019-10-10 18:05:56 +11:00
port_diag.py ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00