Skip to content

Commit 94ba3c1

Browse files
committed
MCUboot versions now use revision component
1 parent df25b95 commit 94ba3c1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

MCUboot/include/mcuboot_config/mcuboot_config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,9 @@
193193
// Enable direct image upload group (group 1, cmd 1) for IFU recovery via UART.
194194
#define MCUBOOT_SERIAL_DIRECT_IMAGE_UPLOAD 1
195195

196+
// Enable revision component in versions
197+
#define MCUBOOT_VERSION_CMP_USE_BUILD_NUMBER 1
198+
196199
// CPU idle hook - called in boot_serial_read_console() when the read returns
197200
// no data. Must relinquish the CPU so ChibiOS can service the USB ISR and
198201
// allow the device to enumerate before any data arrives.

0 commit comments

Comments
 (0)