File tree Expand file tree Collapse file tree 2 files changed +31
-3
lines changed
Expand file tree Collapse file tree 2 files changed +31
-3
lines changed Original file line number Diff line number Diff line change 1616 sudo apt-get update
1717 sudo apt-get install -y gcc-arm-none-eabi gcc-powerpc-linux-gnu cmake
1818
19- - name : Run CMake
19+ - name : Run CMake build for STM32U5
2020 run : |
2121 rm -rf ./build
22- cmake -B build -DWOLFBOOT_TARGET=stm32u5 -DBUILD_TEST_APPS=yes -DWOLFBOOT_PARTITION_BOOT_ADDRESS=0x08100000 -DWOLFBOOT_SECTOR_SIZE=0x2000 -DWOLFBOOT_PARTITION_SIZE=0x20000 -DWOLFBOOT_PARTITION_UPDATE_ADDRESS=0x817F000 -DWOLFBOOT_PARTITION_SWAP_ADDRESS=0x81FE000 -DNO_MPU=yes
22+ cmake -B build -DWOLFBOOT_TARGET=stm32u5 -DWOLFBOOT_PARTITION_BOOT_ADDRESS=0x08100000 -DWOLFBOOT_SECTOR_SIZE=0x2000 -DWOLFBOOT_PARTITION_SIZE=0x20000 -DWOLFBOOT_PARTITION_UPDATE_ADDRESS=0x817F000 -DWOLFBOOT_PARTITION_SWAP_ADDRESS=0x81FE000 -DNO_MPU=yes
23+ - name : Build wolfBoot
24+ run : make -C build
25+
26+ - name : Run CMake build for STM32H7
27+ run : |
28+ rm -rf ./build
29+ cmake -B build -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
30+ - name : Build wolfBoot
31+ run : make -C build
32+
33+ - name : Run CMake build for STM32F4
34+ run : |
35+ rm -rf ./build
36+ cmake -B build -DWOLFBOOT_TARGET=stm32f4 -DWOLFBOOT_PARTITION_SIZE=0x20000 -DWOLFBOOT_SECTOR_SIZE=0x20000 -DWOLFBOOT_PARTITION_BOOT_ADDRESS=0x08020000 -DWOLFBOOT_PARTITION_UPDATE_ADDRESS=0x08040000 -DWOLFBOOT_PARTITION_SWAP_ADDRESS=0x08060000
37+ - name : Build wolfBoot
38+ run : make -C build
39+
40+ - name : Run CMake build for STM32L0
41+ run : |
42+ rm -rf ./build
43+ cmake -B build -DWOLFBOOT_TARGET=stm32l0 -DWOLFBOOT_PARTITION_BOOT_ADDRESS=0x8000 -DWOLFBOOT_SECTOR_SIZE=0x1000 -DWOLFBOOT_PARTITION_SIZE=0x10000 -DWOLFBOOT_PARTITION_UPDATE_ADDRESS=0x18000 -DWOLFBOOT_PARTITION_SWAP_ADDRESS=0x28000 -DNVM_FLASH_WRITEONCE=yes
44+ - name : Build wolfBoot
45+ run : make -C build
46+
47+ - name : Run Cmake build for Nordic nrf52
48+ run : |
49+ rm -rf ./build
50+ cmake -B build -DWOLFBOOT_TARGET=nrf52 -DWOLFBOOT_PARTITION_SIZE=0x8000 -DWOLFBOOT_SECTOR_SIZE=0x1000 -DWOLFBOOT_PARTITION_BOOT_ADDRESS=0x27000 -DWOLFBOOT_PARTITION_UPDATE_ADDRESS=0x2F000 -DWOLFBOOT_PARTITION_SWAP_ADDRESS=0x37000
2351 - name : Build wolfBoot
2452 run : make -C build
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ add_option("OCTOSPI_FLASH" "Use external OCTOSPI flash drivers (default: disable
118118add_option("SPMATH" "Use SP Math (default: disabled)" "no" "yes;no" )
119119add_option("SPMATHALL" "Use SP Math All (sp_int.c) (default: disabled)" "no" "yes;no" )
120120add_option("WOLFBOOT_TARGET" "Target platform to build for (default: stm32h7)" "stm32h7"
121- "stm32f4;stm32h7;stm32l0;stm32u5 ;x86_64_efi;sim" )
121+ " ${ARM_TARGETS} ;x86_64_efi;sim" )
122122add_option("UART_FLASH" "Use external UART flash drivers (default: disabled)" "no" "yes;no" )
123123add_option(
124124 "WOLFBOOT_SMALL_STACK"
You can’t perform that action at this time.
0 commit comments