Hi Gustavo,
I found the bootloader_config.c in the main routine. Here it is:
/*
* bootloader_config.c
*
* Created on: Sep 22, 2017
* Author: r
*/
#include "bootloader_config.h"
/* Bootloader configuration area, location fixed in .ld memory map */
__attribute__((section(".BootloaderConfig")))
__attribute__((used))
const bootloader_config_t BootloaderConfig =
{
#if ENABLE_BCA
.tag = BCA_TAG, //!< Magic Number
#else
.tag = 0xFFFFFFFF, //!< No Magic Number
#endif
#if ENABLE_CRC_CHECK
.crcStartAddress = 0x4400, // starting addr of user app
.crcByteCount = 0x10000-0x4400-0x400, // end of flash minus one page for user params
.crcExpectedValue = 0x00000000, // expected CRC value
#else
.crcStartAddress = 0xffffffff, // ffffffff => Disable CRC check
.crcByteCount = 0xffffffff, // ffffffff => Disable CRC check
.crcExpectedValue = 0xffffffff, // ffffffff => Disable CRC check
#endif
.enabledPeripherals = ENABLE_PERIPHERAL_UART, // Peripherals: UART | I2C |SPI | CAN |USB-HID
.i2cSlaveAddress = 0x10, // Use default I2C address(0x10)
.peripheralDetectionTimeoutMs = 2500, // Use user-defined timeout(ms)
.usbVid = 0xFFFF, // Use default Vendor ID(0x15A2)
.usbPid = 0xFFFF, // Use default Product ID(0x0073)
.usbStringsPointer = 0xFFFFFFFF, // Use default USB String
.clockFlags = 0xFF, // 0 bit cleared: Enable High speed mode.
.clockDivider = 0xff, // Use clock divider(0)
#if ENABLE_DIRECT_BOOT
.bootFlags = 0xfe, // 0xfe => jump to user app (if valid) after a pause
#else
.bootFlags = 0xff, // 0xff => stay in bootloader.
#endif
};
I have attached files.