Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions upgrade.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ static int erase_flash(uint32_t start_addr, uint32_t end_addr)
uint32_t aligned_end_addr = FOTA_ALIGN_UP(end_addr, flash_get_sector_size(&flash_obj, end_addr));

if (aligned_start_addr != start_addr) {
pr_warning("WARNING: header address is not aligned to a sector boundary");
pr_error("header address is not aligned");
}

uint32_t erase_addr = aligned_start_addr;
Expand Down Expand Up @@ -239,7 +239,7 @@ static int check_and_install_update()
if (ret) {
if(ret == FOTA_STATUS_NOT_FOUND) {
deinit_storage();
pr_info("Candidate not found");
pr_cmd("Candidate not found");
return ret;
}
goto end;
Expand Down Expand Up @@ -365,7 +365,7 @@ int main(void)
goto fail;
}

pr_info("Searching for candidate image...");
pr_cmd("Search for candidate");

do {
read_installed_fw_header();
Expand Down