@@ -1953,7 +1953,7 @@ variants LPC54018M / LPC54S018M). These are Cortex-M4F parts at 180 MHz with
19531953address ` 0x10000000 ` . The boot ROM loads the image from SPIFI via an
19541954"enhanced boot block" descriptor embedded in the vector table area.
19551955
1956- The wolfBoot HAL (` hal/nxp_lpc54s018m .c ` ) is bare-metal (no NXP SDK
1956+ The wolfBoot HAL (` hal/nxp_lpc54s0xx .c ` ) is bare-metal (no NXP SDK
19571957dependency) and targets this whole SPIFI-boot subseries. It has been
19581958verified on the LPC54S018M-EVK, which uses an on-package Winbond W25Q32JV
19591959(4MB) and provides an on-board Link2 debug probe (CMSIS-DAP / J-Link) with
@@ -2043,7 +2043,7 @@ The sector size is 4KB, matching the W25Q32JV minimum erase size.
20432043Copy the example configuration file and build with make:
20442044
20452045``` sh
2046- cp config/examples/nxp_lpc54s018m .config .config
2046+ cp config/examples/nxp_lpc54s0xx .config .config
20472047make
20482048```
20492049
@@ -2075,7 +2075,7 @@ pyocd reset -t LPC54S018J4MET180
20752075** Note:** The LPC54S018M boot ROM requires two post-processing steps on
20762076` wolfboot.bin ` before the chip can boot from SPIFI flash. Both are applied
20772077automatically by the top-level ` Makefile ` (see the ` wolfboot.bin: ` rule,
2078- gated on ` TARGET=nxp_lpc54s018m ` ), so no user action is needed — but they
2078+ gated on ` TARGET=nxp_lpc54s0xx ` ), so no user action is needed — but they
20792079are documented here because the patched binary will not match the ELF output
20802080and this affects any external flashing or signing workflow.
20812081
@@ -2109,10 +2109,10 @@ either message means the binary is not bootable on this chip.
21092109
21102110### LPC54S018M: Testing firmware update
21112111
2112- The helper script [ ` tools/scripts/nxp-lpc54s018m -flash.sh ` ] ( ../tools/scripts/nxp-lpc54s018m -flash.sh )
2112+ The helper script [ ` tools/scripts/nxp-lpc54s0xx -flash.sh ` ] ( ../tools/scripts/nxp-lpc54s0xx -flash.sh )
21132113automates the full ** build → sign → flash** cycle for the LPC54S018M-EVK:
21142114
2115- 1 . Copies ` config/examples/nxp_lpc54s018m .config ` to ` .config `
2115+ 1 . Copies ` config/examples/nxp_lpc54s0xx .config ` to ` .config `
211621162 . Runs ` make ` to produce ` factory.bin ` (wolfBoot + signed v1 test-app)
211721173 . Parses the active ` .config ` to resolve partition and trailer addresses
211821184 . Erases the BOOT and UPDATE partition trailer sectors (clean boot state)
@@ -2127,13 +2127,13 @@ boards. Run with `--help` for the full option list.
21272127
21282128``` sh
21292129# Build and flash v1 only
2130- ./tools/scripts/nxp-lpc54s018m -flash.sh
2130+ ./tools/scripts/nxp-lpc54s0xx -flash.sh
21312131
21322132# Build, sign v2, and flash both (full update test)
2133- ./tools/scripts/nxp-lpc54s018m -flash.sh --test-update
2133+ ./tools/scripts/nxp-lpc54s0xx -flash.sh --test-update
21342134
21352135# Flash existing images without rebuilding
2136- ./tools/scripts/nxp-lpc54s018m -flash.sh --test-update --skip-build
2136+ ./tools/scripts/nxp-lpc54s0xx -flash.sh --test-update --skip-build
21372137```
21382138
21392139** Manual steps** (if not using the script):
0 commit comments