Skip to content

Commit ee51e90

Browse files
committedOct 18, 2021
Update DFU sting and bootloader version
1 parent 640f7e7 commit ee51e90

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
 

‎envie/target_init.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#endif
1313

1414
#define BOOTLOADER_CONFIG_MAGIC 0xA0
15-
#define BOOTLOADER_VERSION 22
15+
#define BOOTLOADER_VERSION 0
1616

1717
#define PORTENTA_USB_SPEED_HIGH 1
1818
#define PORTENTA_USB_SPEED_FULL 2

‎envie_dfu/usbd_desc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
#define USBD_PID 0x035B
3131
#define USBD_LANGID_STRING 0x409
3232
#define USBD_MANUFACTURER_STRING "Arduino SA"
33-
#define USBD_PRODUCT_HS_STRING "Envie H7 Bootloader"
34-
#define USBD_PRODUCT_FS_STRING "Envie H7 Bootloader"
33+
#define USBD_PRODUCT_HS_STRING "Portenta MCUBoot"
34+
#define USBD_PRODUCT_FS_STRING "Portenta MCUBoot"
3535
#define USBD_CONFIGURATION_HS_STRING "DFU Config"
3636
#define USBD_INTERFACE_HS_STRING "DFU Interface"
3737
#define USBD_CONFIGURATION_FS_STRING "DFU Config"

‎envie_dfu/usbd_dfu_flash.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ bool Flash_If_Init_requested = false;
7676
void init_Memories() {
7777
flash.init();
7878
dfu_secondary_bd->init();
79-
snprintf(BOOTLOADER_DESC_STR, sizeof(BOOTLOADER_DESC_STR), "@Bootloader version %d /0x00000000/0*4Kg", BOOTLOADER_VERSION);
79+
snprintf(BOOTLOADER_DESC_STR, sizeof(BOOTLOADER_DESC_STR), "@MCUBoot version %d /0x00000000/0*4Kg", BOOTLOADER_VERSION);
8080
}
8181

8282
Thread writeThread(osPriorityHigh);

0 commit comments

Comments
 (0)
Please sign in to comment.