Hello Eric - thanks for your quick answer!

I am based in Paris area (France).

The project I am working on is an application running on a STM32F4 that aims at controlling (ON / OFF / RESET) a battery-powered power supply with some telemetry. Since this is remotely operated, I am looking for a safe way to perform FUOTA and integrity checks.

I am trying to understand if the CMake integration done in WolfBoot is mature and can easily be integrated in another project to do some "extensions" like this custom hardware integration.

Thanks.

Hello!

I would like to compile with CMake a bootloader that looks as below:

my-wolfboot-project/
├─ CMakeLists.txt
├─ src/
│  ├─ main.c             # Your custom entry point
│  └─ hw_init.c          # Optional hardware setup
├─ include/
│  └─ hw_init.h
└─ wolfboot/             # WolfBoot source (submodule or copy)
   ├─ ... (wolfBoot sources)

In main.c, I'll have a main function that performs some specific hardware configuration (GPIO, etc.) to then call "loader_main" and let Wolfboot does its magic.

I cannot find a place in the documentation where this case is described. I do not understant if I need to include Wolfboot sources or link against a static library.

Does anyone has some experience regarding this approach?

Thanks!