mirror of https://github.com/wolfSSL/wolfBoot.git
17 lines
409 B
C
17 lines
409 B
C
#ifndef H_TARGETS_TARGET_
|
|
#define H_TARGETS_TARGET_
|
|
|
|
|
|
/* Example flash partitioning.
|
|
* Ensure that your firmware entry point is
|
|
* at FLASH_AREA_IMAGE_0_OFFSET + 0x100
|
|
*/
|
|
#define WOLFBOOT_SECTOR_SIZE 0x20000
|
|
#define WOLFBOOT_PARTITION_SIZE 0x20000
|
|
|
|
#define WOLFBOOT_PARTITION_BOOT_ADDRESS 0x20000
|
|
#define WOLFBOOT_PARTITION_UPDATE_ADDRESS 0x40000
|
|
#define WOLFBOOT_PARTITION_SWAP_ADDRESS 0x60000
|
|
|
|
#endif
|