Skip to content

Commit

Permalink
Fix filesystem issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
mobizt committed Sep 14, 2023
1 parent b851526 commit 7954275
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/RTDB/DownloadFileOTA/DownloadFileOTA.ino
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ void loop()

Serial.println("\nDownload firmware file...\n");

// In ESP8266, this function will allocate 16k+ memory for internal SSL client.
// This function will allocate 16k+ memory for internal SSL client.
// In Pico, the free space of device should be larger than the firmware file size.
// You can upload blank filesystem image to clear the space.
if (!Firebase.RTDB.downloadOTA(&fbdo, F("test/firmware/bin"), rtdbDownloadCallback /* callback function */))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ void loop()

Serial.println("\nDownload firmware file...\n");

// In ESP8266, this function will allocate 16k+ memory for internal SSL client.
// This function will allocate 16k+ memory for internal SSL client.
if (!Firebase.Storage.downloadOTA(&fbdo, STORAGE_BUCKET_ID /* Firebase Storage bucket id */, "<firmware.bin>" /* path of firmware file stored in the bucket */, fcsDownloadCallback /* callback function */))
Serial.println(fbdo.errorReason());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ void loop()

Serial.println("\nDownload firmware file OTA with Google Cloud Storage JSON API...\n");

// In ESP8266, this function will allocate 16k+ memory for internal SSL client.
// This function will allocate 16k+ memory for internal SSL client.
// In Pico, the free space of device should be larger than the firmware file size.
// You can upload blank filesystem image to clear the space.
if (!Firebase.GCStorage.downloadOTA(&fbdo, STORAGE_BUCKET_ID /* Firebase Storage bucket id */, "<firmware.bin>" /* path of firmware file stored in the bucket */, gcsDownloadCallback /* callback function */))
Expand Down

0 comments on commit 7954275

Please sign in to comment.