forked from wolfSSL/wolfBoot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnxp_lpc54s0xx.config
More file actions
53 lines (41 loc) · 1.35 KB
/
nxp_lpc54s0xx.config
File metadata and controls
53 lines (41 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# wolfBoot configuration for NXP LPCXpresso54S018M-EVK
#
# Target: NXP LPC54S018M (Cortex-M4F, 180 MHz)
# Boot: ROM boot loads wolfBoot from external SPIFI QSPI flash at 0x10000000
# HAL: Bare-metal (hal/nxp_lpc54s0xx.c) — no NXP MCUXpresso SDK required
#
# Flash layout (SPIFI QSPI, 4 MB total — Winbond W25Q32JV):
# 0x10000000 wolfBoot (up to BOOT partition base)
# 0x10010000 BOOT partition (960 KB, signed application)
# 0x10100000 UPDATE partition (960 KB)
# 0x101F0000 SWAP sector (4 KB)
ARCH?=ARM
TARGET?=nxp_lpc54s0xx
# Signature and hash algorithms
SIGN?=ECC256
HASH?=SHA256
DEBUG?=0
DEBUG_UART?=1
# Vector table relocation is required — ROM boot leaves VTOR at 0
VTOR?=1
NO_ASM?=0
# Single-flash layout (all partitions in internal SPIFI region)
EXT_FLASH?=0
SPI_FLASH?=0
ALLOW_DOWNGRADE?=0
NVM_FLASH_WRITEONCE?=0
WOLFBOOT_VERSION?=0
V?=0
# Single-precision math (reduced footprint, no ASM)
SPMATH?=1
# RAM_CODE required: flash erase/program routines must execute from SRAM
# because SPIFI cannot service instruction fetches while being written
RAM_CODE?=1
DUALBANK_SWAP?=0
# Enable NXP LPC PKA peripheral for ECC acceleration
PKA?=1
WOLFBOOT_PARTITION_SIZE?=0xF0000
WOLFBOOT_SECTOR_SIZE?=0x1000
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x10010000
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x10100000
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x101F0000