Microchip® Advanced Software Framework

conf_bootloader.h File Reference

Bootloader configuration.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

Macros

#define APP_BINARY_OFFSET   (APP_CRC_SIZE + APP_SIGNATURE_SIZE)
 Offset for the firmware in the input application binary - 16 bytes. More...
 
#define APP_CRC_POLYNOMIAL_TYPE   CRC_TYPE_32
 CRCCU Polynomial Selection. More...
 
#define APP_CRC_SIZE   4
 Size of CRC32 in bytes. More...
 
#define APP_MAX_SIZE
 Maximum possible size of the Application. More...
 
#define APP_SIGNATURE   "ATMEL SAMD21"
 Application Signature. More...
 
#define APP_SIGNATURE_SIZE   12
 Size of signature in bytes. More...
 
#define APP_START_ADDRESS   (FLASH_ADDR + APP_START_OFFSET)
 Application starting address in Flash. More...
 
#define APP_START_OFFSET   0x10000
 Application starting offset - Verify with bootloader footprint*/. More...
 
#define CONSOLE_OUTPUT_ENABLED   ENABLE
 Configuration of the bootloader. More...
 
#define FIRMWARE_IN_FILE_NAME   "0:firmware_input.bin"
 Firmware file input name. More...
 
#define FIRMWARE_OUT_FILE_NAME   "0:firmware_output.bin"
 Firmware file output name. More...
 
#define FLASH_BUFFER_SIZE   (FLASH_PAGE_SIZE)
 Buffer size to be used for programming. More...
 

#define APP_BINARY_OFFSET   (APP_CRC_SIZE + APP_SIGNATURE_SIZE)

Offset for the firmware in the input application binary - 16 bytes.

Referenced by generate_firmware().

#define APP_CRC_POLYNOMIAL_TYPE   CRC_TYPE_32

CRCCU Polynomial Selection.

Referenced by generate_crc().

#define APP_CRC_SIZE   4

Size of CRC32 in bytes.

Referenced by generate_firmware().

#define APP_MAX_SIZE
Value:
(FLASH_ADDR + FLASH_SIZE \
#define APP_START_ADDRESS
Application starting address in Flash.
Definition: conf_bootloader.h:53

Maximum possible size of the Application.

Referenced by main().

#define APP_SIGNATURE   "ATMEL SAMD21"

Application Signature.

Referenced by generate_firmware().

#define APP_SIGNATURE_SIZE   12

Size of signature in bytes.

Referenced by generate_firmware().

#define APP_START_ADDRESS   (FLASH_ADDR + APP_START_OFFSET)

Application starting address in Flash.

#define APP_START_OFFSET   0x10000

Application starting offset - Verify with bootloader footprint*/.

#define CONSOLE_OUTPUT_ENABLED   ENABLE

Configuration of the bootloader.

Enable/disable the Console message output

#define FIRMWARE_IN_FILE_NAME   "0:firmware_input.bin"

Firmware file input name.

#define FIRMWARE_OUT_FILE_NAME   "0:firmware_output.bin"

Firmware file output name.

#define FLASH_BUFFER_SIZE   (FLASH_PAGE_SIZE)

Buffer size to be used for programming.

Referenced by generate_crc(), and generate_firmware().