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 CRCCU_MR_PTYPE_CCITT8023 |
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 SAM4L " |
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 0x8000 |
Application starting offset - Verify with bootloader footprint*/. More... | |
#define | CONSOLE_OUTPUT_ENABLED ENABLE |
Enable/disable the Console message output. More... | |
#define | FIRMWARE_AES_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.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(), and main().
#define APP_CRC_POLYNOMIAL_TYPE CRCCU_MR_PTYPE_CCITT8023 |
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 |
Maximum possible size of the Application.
Referenced by main().
#define APP_SIGNATURE "ATMEL SAM4L " |
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 0x8000 |
Application starting offset - Verify with bootloader footprint*/.
#define CONSOLE_OUTPUT_ENABLED ENABLE |
Enable/disable the Console message output.
#define FIRMWARE_AES_ENABLED ENABLE |
Configuration of the bootloader.
Enable/disable the AES Decryption
#define FIRMWARE_IN_FILE_NAME "0:firmware_input.bin" |
Firmware file input name.
#define FIRMWARE_OUT_FILE_NAME "0:firmware.bin" |
Firmware file output name.
#define FLASH_BUFFER_SIZE (FLASH_PAGE_SIZE) |
Buffer size to be used for programming.