Refactor bootloader_jump() implementations (#15450)
* Refactor `bootloader_jump()` implementations * Fix tests? * Rename `atmel-samba` to `md-boot`
This commit is contained in:
@@ -51,7 +51,8 @@
|
||||
#include "udi_device_conf.h"
|
||||
#include "udi.h"
|
||||
#include "udc.h"
|
||||
#include "md_bootloader.h"
|
||||
|
||||
#define BOOTLOADER_SERIAL_MAX_SIZE 20 // DO NOT MODIFY!
|
||||
|
||||
/**
|
||||
* \ingroup udc_group
|
||||
@@ -122,6 +123,8 @@ static uint8_t udc_string_product_name[] = USB_DEVICE_PRODUCT_NAME;
|
||||
# define USB_DEVICE_SERIAL_NAME_SIZE 0
|
||||
#endif
|
||||
|
||||
extern uint32_t _srom;
|
||||
|
||||
uint8_t usb_device_serial_name_size = 0;
|
||||
#if defined USB_DEVICE_SERIAL_USE_BOOTLOADER_SERIAL
|
||||
uint8_t bootloader_serial_number[BOOTLOADER_SERIAL_MAX_SIZE + 1] = "";
|
||||
|
||||
Reference in New Issue
Block a user