From 562375277d7cd9d9984c2b8bfadd67db4452875b Mon Sep 17 00:00:00 2001 From: Brett Nicholas <7547222+bigbrett@users.noreply.github.com> Date: Thu, 27 Aug 2026 15:07:35 -0600 Subject: [PATCH 1/2] static library docs --- Makefile | 1 + docs/lib.md | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 249ecb9759..8b698fd23d 100644 --- a/Makefile +++ b/Makefile @@ -732,6 +732,7 @@ clean: $(Q)rm -f $(WH_NVM_BIN) $(WH_NVM_HEX) $(Q)rm -f test-lib $(Q)rm -f lib-fs + $(Q)rm -f libwolfboot.a $(Q)$(MAKE) -C test-app clean V=$(V) $(Q)$(MAKE) -C tools/check_config -s clean $(Q)$(MAKE) -C stage1 -s clean diff --git a/docs/lib.md b/docs/lib.md index 8a662b8c41..5c8bf501c4 100644 --- a/docs/lib.md +++ b/docs/lib.md @@ -4,6 +4,11 @@ Instead of building as standalone repository, wolfBoot can be built as a secure-boot library and integrated in third party bootloaders, custom staging solutions etc. +This document covers the host-side verification library (`TARGET=library`, +built for `ARCH=sim` with no platform HAL). To build a static library for a +real platform target with all target settings, HAL and update logic +included, build the `libwolfboot.a` make target directly (`make libwolfboot.a`). + ## Library API From 49b7c23b21d3609b9beed869243bb3e8eab3b0c5 Mon Sep 17 00:00:00 2001 From: Brett Nicholas <7547222+bigbrett@users.noreply.github.com> Date: Thu, 27 Aug 2026 15:07:47 -0600 Subject: [PATCH 2/2] add missing DMA objects --- options.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/options.mk b/options.mk index fe8ae22dc7..e9483a924d 100644 --- a/options.mk +++ b/options.mk @@ -26,6 +26,8 @@ WOLFHSM_SERVER_OBJS := \ $(WOLFBOOT_LIB_WOLFHSM)/src/wh_keyid.o \ $(WOLFBOOT_LIB_WOLFHSM)/src/wh_flash_unit.o \ $(WOLFBOOT_LIB_WOLFHSM)/src/wh_crypto.o \ + $(WOLFBOOT_LIB_WOLFHSM)/src/wh_dma.o \ + $(WOLFBOOT_LIB_WOLFHSM)/src/wh_server_dma.o \ $(WOLFBOOT_LIB_WOLFHSM)/src/wh_server.o \ $(WOLFBOOT_LIB_WOLFHSM)/src/wh_server_nvm.o \ $(WOLFBOOT_LIB_WOLFHSM)/src/wh_server_crypto.o \