Skip to content

Commit 7b19319

Browse files
committed
config: Add example configuration for library_fs mode
1 parent 7a043fd commit 7b19319

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

config/examples/library_fs.config

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
ARCH=sim
2+
TARGET=library_fs
3+
4+
SIGN?=ED25519
5+
HASH?=SHA256
6+
IMAGE_HEADER_SIZE?=256
7+
DEBUG=0
8+
SPMATH?=0
9+
SPMATHALL?=0
10+
11+
# Required for library (libwolfboot.a)
12+
NO_LOADER=1
13+
USE_GCC_HEADLESS=0
14+
15+
# Required to build keytools
16+
WOLFBOOT_SECTOR_SIZE=0x1000
17+
18+
# Flash Partition Filename
19+
WOLFBOOT_PARTITION_FILENAME=\"/dev/mtd0\"
20+
# Flash Sector Size
21+
WOLFBOOT_SECTOR_SIZE=0x2000
22+
# Application Partition Size
23+
WOLFBOOT_PARTITION_SIZE=0xA000
24+
# Location in flash for application
25+
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x8000
26+
# Location in flash for wolfBoot
27+
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x10000
28+
# Location in flash for swap
29+
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0xFFE00

0 commit comments

Comments
 (0)