Unlock STR secondary slot #864

Merged
meggert merged 11 commits from str-secondary-fw-slot-update into main 2024-02-28 09:21:30 +01:00
Showing only changes of commit 2ac9f972da - Show all commits

View File

@ -426,8 +426,6 @@ ReturnValue_t StrComHandler::performFlashWrite() {
file.seekg(0, file.end);
fileSize = file.tellg();
if (fileSize > FLASH_REGION_SIZE * (flashWrite.lastRegion - flashWrite.firstRegion)) {
sif::debug << "Last region: " << (int)flashWrite.lastRegion
<< " first region: " << (int)flashWrite.firstRegion << std::endl;
sif::warning << "StrHelper::performFlashWrite: Invalid file" << std::endl;
return returnvalue::FAILED;
}