Skip to content

Commit 50725b3

Browse files
committed
Added example config files for sim, sim32 + ELF sg
1 parent d9104ec commit 50725b3

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
ARCH=sim
2+
TARGET=sim
3+
SIGN?=ED25519
4+
HASH?=SHA256
5+
WOLFBOOT_SMALL_STACK?=0
6+
SPI_FLASH=0
7+
DEBUG=1
8+
ELF_SCATTERED=1
9+
ELF=1
10+
11+
12+
# sizes should be multiple of system page size
13+
WOLFBOOT_PARTITION_SIZE=0x40000
14+
WOLFBOOT_SECTOR_SIZE=0x1000
15+
WOLFBOOT_PARTITION_BOOT_ADDRESS=0x80000
16+
# if on external flash, it should be multiple of system page size
17+
18+
# Address from 0x100000 to 0x1FFFFF is reserved for ELF_SCATTERED
19+
20+
WOLFBOOT_PARTITION_UPDATE_ADDRESS=0x200000
21+
WOLFBOOT_PARTITION_SWAP_ADDRESS=0x280000
22+
23+
24+
# required for keytools
25+
WOLFBOOT_FIXED_PARTITIONS=1
26+
27+
# For debugging XMALLOC/XFREE
28+
#CFLAGS_EXTRA+=-DWOLFBOOT_DEBUG_MALLOC
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
ARCH=sim
2+
TARGET=sim
3+
SIGN?=ECC256
4+
HASH?=SHA256
5+
WOLFBOOT_SMALL_STACK?=0
6+
SPI_FLASH=0
7+
DEBUG=1
8+
FORCE_32BIT=1
9+
ELF=1
10+
ELF_SCATTERED=1
11+
12+
# sizes should be multiple of system page size
13+
WOLFBOOT_PARTITION_SIZE=0x40000
14+
WOLFBOOT_SECTOR_SIZE=0x1000
15+
WOLFBOOT_PARTITION_BOOT_ADDRESS=0x80000
16+
# if on external flash, it should be multiple of system page size
17+
WOLFBOOT_PARTITION_UPDATE_ADDRESS=0x100000
18+
WOLFBOOT_PARTITION_SWAP_ADDRESS=0x180000
19+
20+
# required for keytools
21+
WOLFBOOT_FIXED_PARTITIONS=1
22+
23+
# For debugging XMALLOC/XFREE
24+
#CFLAGS_EXTRA+=-DWOLFBOOT_DEBUG_MALLOC

0 commit comments

Comments
 (0)