Skip to content

Commit 9fa6f56

Browse files
authored
Merge pull request #39 from bcmi-labs/mcuboot_identification
Add identification string to distinguish from old loader
2 parents ad3a3c8 + 8d5b07f commit 9fa6f56

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

envie/target_init.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ volatile const uint8_t bootloader_data[] __attribute__ ((section (".bootloader_v
2525
PORTENTA_EXTCLOCK,
2626
};
2727

28+
volatile const uint8_t bootloader_identifier[] __attribute__ ((section (".bootloader_identification"), used)) = "MCUBoot Arduino";
29+
2830
static bool double_tap_flag = true;
2931
volatile uint8_t ledKeepValue = 0;
3032
volatile uint8_t ledTargetValue = 20;

0 commit comments

Comments
 (0)