Skip to content

Commit 531a92f

Browse files
committed
Use mcuboot upstream version
1 parent 73ab7cd commit 531a92f

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

main.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,6 @@ int main()
4242

4343
InterruptIn btn(DEMO_BUTTON);
4444

45-
// Get the current version from the mcuboot header information
46-
struct image_version version;
47-
ret = boot_get_current_version(&version);
48-
if(ret == 0) {
49-
tr_info("Hello version %d.%d.%d+%lu", version.iv_major, version.iv_minor,
50-
version.iv_revision, version.iv_build_num);
51-
} else {
52-
tr_error("Failed to load version information: %d", ret);
53-
}
54-
55-
5645
// Erase secondary slot
5746
// On the first boot, the secondary BlockDevice needs to be clean
5847
// If the first boot is not normal, please run the erase step, then reboot

mcuboot.lib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://github.com/AGlass0fMilk/mcuboot.git#ec30818cff735e5926f8dc30b8e354312f440b2f
1+
https://github.com/mcu-tools/mcuboot.git

0 commit comments

Comments
 (0)