How wolfssl/wolfboot-examples works
wolfBoot-examples is a collection of embedded secure-boot demonstrations, not one application: each example shows a different way to deliver an update or measure boot state. The README documents six capabilities, from Contiki DTLS and FreeRTOS HTTPS/SCP to RIOT USB, BLE GATT, and STM32 measured boot. The graph preserves those branches and points to source files where available. Source excerpts are incomplete, so internal calls and detailed stage-to-stage flows are omitted where they are not evidenced.
Main entry points: dtls-ota.c nRF52 updater · src/main.c HTTPS updater · src/main.c SCP updater · fw-update/main.c SAM-R21 updater
Components 14
Contiki DTLS OTA
- nRF52 updater
contiki-nrf52/dtls-ota/dtls-ota.c - OTA server
contiki-nrf52/ota-server/ota-server.c
FreeRTOS K64F
- HTTPS updater
freeRTOS-Freescale-K64F-https-TLS1.3/src/main.c - SCP updater
freeRTOS-Freescale-K64F-scp/src/main.c
RIOT updates
- SAM-R21 updater
riotOS-samr21/fw-update/main.c - USB update server
riotOS-samr21/fw-update-server/server.c
BLE GATT FOTA
- BlueZ updater
riotOS-nrf52840dk-ble/linux-bluez/fwupdate.py - nRF52 GATT service
riotOS-nrf52840dk-ble/nrf52-gatt-service/gatt-srv.c - Boot integration
riotOS-nrf52840dk-ble/nrf52-gatt-service/libwolfboot/libwolfboot.c
Simulated OTA
- MQTT firmware client
sim-OTA/app/fwclient.c - MQTT firmware server
sim-OTA/fwserver/fwpush.c - Simulation HAL
sim-OTA/hal-sim/sim.c
Measured boot
- STM32 measured boot
test-app-STM32F4-measured-boot/src/app_stm32f4.c
Other components
- Update initiator
Connections 6
- Update initiator → nRF52 updater: initiates update
- Update initiator → HTTPS updater: initiates update
- Update initiator → SCP updater: initiates update
- Update initiator → SAM-R21 updater: initiates update
- Update initiator → nRF52 GATT service: requests FOTA
- Update initiator → STM32 measured boot: runs demo