summaryrefslogtreecommitdiff
path: root/esp8266
diff options
context:
space:
mode:
Diffstat (limited to 'esp8266')
-rw-r--r--esp8266/common-hal/storage/__init__.c4
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");
+}