wolfBoot is a portable, OS-agnostic, secure bootloader for microcontrollers, supporting firmware authentication and firmware update mechanisms.
GNU General Public License v3.0
330
stars
94
forks
source link
CMake: Add BUILD_IMAGE option #441
Closed
lealem47 closed 1 month ago
Fix for https://github.com/wolfSSL/wolfBoot/issues/426
Add
BUILD_IMAGE
option to CMake to build wolfboot.bin without having to compile test appsmkdir build && cd build && cmake -DWOLFBOOT_TARGET=stm32h7 -DWOLFBOOT_PARTITION_BOOT_ADDRESS=0x8020000 -DWOLFBOOT_SECTOR_SIZE=0x20000 -DWOLFBOOT_PARTITION_SIZE=0xD0000 -DWOLFBOOT_PARTITION_UPDATE_ADDRESS=0x80F0000 -DWOLFBOOT_PARTITION_SWAP_ADDRESS=0x81C0000 -DBUILD_IMAGE=yes .. && make