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 DISABLE |
Enable/disable the Console message output. More... | |
#define | FIRMWARE_CRC_CHECK ENABLE |
Configuration of the bootloader. More... | |
#define | FIRMWARE_IN_FILE_NAME "0:firmware.bin" |
Firmware file input 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 integrity_check_in_disk(), integrity_check_in_flash(), and program_memory().
#define APP_CRC_POLYNOMIAL_TYPE CRC_TYPE_32 |
CRCCU Polynomial Selection.
Referenced by integrity_check_in_disk(), and integrity_check_in_flash().
#define APP_CRC_SIZE 4 |
Size of CRC32 in bytes.
#define APP_MAX_SIZE |
Maximum possible size of the Application.
Referenced by main().
#define APP_SIGNATURE "ATMEL SAMD21" |
Application Signature.
Referenced by integrity_check_in_disk().
#define APP_SIGNATURE_SIZE 12 |
Size of signature in bytes.
#define APP_START_ADDRESS (FLASH_ADDR + APP_START_OFFSET) |
Application starting address in Flash.
Referenced by check_boot_mode(), integrity_check_in_flash(), program_memory(), and start_application().
#define APP_START_OFFSET 0x10000 |
Application starting offset - Verify with bootloader footprint*/.
#define CONSOLE_OUTPUT_ENABLED DISABLE |
Enable/disable the Console message output.
#define FIRMWARE_CRC_CHECK ENABLE |
Configuration of the bootloader.
Enable/disable the CRC check
#define FIRMWARE_IN_FILE_NAME "0:firmware.bin" |
Firmware file input name.
#define FLASH_BUFFER_SIZE (FLASH_PAGE_SIZE) |
Buffer size to be used for programming.
Referenced by integrity_check_in_disk(), integrity_check_in_flash(), and program_memory().