File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed
Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Wolfboot CMake Build Workflow
2+
3+ on :
4+ push :
5+ branches : [ 'master', 'main', 'release/**' ]
6+ pull_request :
7+ branches : [ '*' ]
8+
9+ jobs :
10+ build-cmake :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v4
15+ with :
16+ submodules : true
17+
18+ - name : Install cross compilers
19+ run : |
20+ sudo sed -i 's|http://azure.archive.ubuntu.com/ubuntu/|http://mirror.arizona.edu/ubuntu/|g' /etc/apt/sources.list
21+ sudo apt-get update
22+ sudo apt-get install -y gcc-arm-none-eabi gcc-powerpc-linux-gnu cmake
23+
24+ - name : Run CMake
25+ run : |
26+ rm -rf ./build
27+ 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
28+
29+ - name : Build wolfBoot
30+ run : make -C build
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ if(NOT DEFINED WOLFBOOT_SECTOR_SIZE)
5656endif ()
5757
5858if (NOT DEFINED ARM_TARGETS)
59- list (APPEND ARM_TARGETS stm32h7 stm32l0 stm32f4 stm32u5)
59+ list (APPEND ARM_TARGETS cypsoc6 imx kinetis lpc54606j512 mcxa mcxw nrf52 nrf52840 nrf5340 nrf5340_net rp2350 sama5d3 same51 stm32c0 stm32f1 stm32f4 stm32f7 stm32g0 stm32h5 stm32h7 stm32l0 stm32l5 stm32u5 stm32wb ti zynqmp )
6060 set (ARM_TARGETS
6161 "${ARM_TARGETS} "
6262 CACHE INTERNAL "" )
You can’t perform that action at this time.
0 commit comments