Skip to content

Commit 7f1bc1e

Browse files
committed
Bugfix: SFU expects the update firmware image to be named 'UPDATE.BIN' in all uppercase letters
1 parent 051b323 commit 7f1bc1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utility/ota/OTAStorage_MKRMEM.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ bool OTAStorage_MKRMEM::init()
5757
bool OTAStorage_MKRMEM::open()
5858
{
5959
filesystem.clearerr();
60-
_file = new File(filesystem.open("UPDATE.bin", CREATE | WRITE_ONLY| TRUNCATE));
60+
_file = new File(filesystem.open("UPDATE.BIN", CREATE | WRITE_ONLY| TRUNCATE));
6161
if(SPIFFS_OK != filesystem.err()) {
6262
Debug.print(DBG_ERROR, "OTAStorage_MKRMEM::open - open() failed with error code %d", filesystem.err());
6363
delete _file;
@@ -79,7 +79,7 @@ void OTAStorage_MKRMEM::close()
7979

8080
void OTAStorage_MKRMEM::remove()
8181
{
82-
filesystem.remove("UPDATE.bin");
82+
filesystem.remove("UPDATE.BIN");
8383
}
8484

8585
void OTAStorage_MKRMEM::deinit()

0 commit comments

Comments
 (0)