File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -12,18 +12,18 @@ SPMATHALL?=0
1212NO_LOADER=1
1313USE_GCC_HEADLESS=0
1414
15- # Required to build keytools
16- WOLFBOOT_SECTOR_SIZE=0x1000
17-
1815# Flash Partition Filename
1916WOLFBOOT_PARTITION_FILENAME=\"/dev/mtd0\"
17+
2018# Flash Sector Size
2119WOLFBOOT_SECTOR_SIZE=0x2000
2220# Application Partition Size
2321WOLFBOOT_PARTITION_SIZE=0xA000
24- # Location in flash for application
25- WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x8000
2622# Location in flash for wolfBoot
23+ WOLFBOOT_ORIGIN=0x0
24+ # Location in flash for boot partition
2725WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x10000
26+ # Location in flash for update partition
27+ WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x8000
2828# Location in flash for swap
2929WOLFBOOT_PARTITION_SWAP_ADDRESS?=0xFFE00
Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ WOLFBOOT_SECTOR_SIZE=0x20000
6363# Application Partition Size
6464WOLFBOOT_PARTITION_SIZE=0x2A00000
6565# Location in Flash for wolfBoot
66+ WOLFBOOT_ORIGIN=0x0
67+ # Location in Flash for Primary Boot Partition
6668WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x800000
6769# Load Partition to RAM Address
6870WOLFBOOT_LOAD_ADDRESS?=0x10000000
Original file line number Diff line number Diff line change @@ -1354,7 +1354,7 @@ uint16_t wolfBoot_get_image_type(uint8_t part)
13541354}
13551355#endif /* WOLFBOOT_FIXED_PARTITIONS */
13561356
1357- #if defined(WOLFBOOT_DUALBOOT )
1357+ #if defined(WOLFBOOT_DUALBOOT ) && !defined( WOLFBOOT_PARTITION_FILENAME )
13581358
13591359#if defined(WOLFBOOT_FIXED_PARTITIONS )
13601360/**
You can’t perform that action at this time.
0 commit comments