diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2018-05-04 10:03:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-04 10:03:20 -0700 |
| commit | 3814e9701016a4ce0815b187f885fbcb15dfd065 (patch) | |
| tree | c6c1b0c1fb1e049f22df48467506891023781aaa /esp8266 | |
| parent | ffc66e9892328a68d7f7f9ca4ad6cd7a67c16892 (diff) | |
| parent | 74a6edff4de212de11a435be12d19b5817ab8d2d (diff) | |
Merge pull request #802 from dhalbert/2.x-filesystem-work2.3.0
2.x: handle bad power on reset better
Diffstat (limited to 'esp8266')
| -rw-r--r-- | esp8266/common-hal/storage/__init__.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/esp8266/common-hal/storage/__init__.c b/esp8266/common-hal/storage/__init__.c index a4c3a387a..b800ad2bd 100644 --- a/esp8266/common-hal/storage/__init__.c +++ b/esp8266/common-hal/storage/__init__.c @@ -32,3 +32,7 @@ void common_hal_storage_remount(const char* mount_path, bool readonly) { mp_raise_NotImplementedError(""); } + +void common_hal_storage_erase_filesystem() { + mp_raise_NotImplementedError("Use esptool to erase flash and re-upload Python instead"); +} |
