diff --git a/.github/workflows/build_all_targets.yml b/.github/workflows/build_all_targets.yml index d1bc6de57bb..81a442b9a8a 100644 --- a/.github/workflows/build_all_targets.yml +++ b/.github/workflows/build_all_targets.yml @@ -31,6 +31,8 @@ # _canbootloader.bin # - In-tree *_bootloader targets are attached as _bootloader.bin # (raw SWD image). Bootloader .px4 files are not attached. +# - px4io firmware is attached as .bin (e.g. px4_io-v2_default.bin), +# the raw image the FMU flashes to the IO coprocessor. # # IMPORTANT: Version tags do NOT upload to stable/ or beta/. Only the # corresponding branch pushes control those directories. This prevents @@ -394,6 +396,7 @@ jobs: artifacts/*.uavcan.bin artifacts/*_bootloader.bin artifacts/*_canbootloader.bin + artifacts/*_io-v*_default.bin artifacts/*.deb artifacts/**/*.sbom.spdx.json name: ${{ steps.upload-location.outputs.uploadlocation }} diff --git a/Tools/ci/package_build_artifacts.sh b/Tools/ci/package_build_artifacts.sh index e295e230de8..92695130565 100755 --- a/Tools/ci/package_build_artifacts.sh +++ b/Tools/ci/package_build_artifacts.sh @@ -7,6 +7,8 @@ mkdir artifacts # - Bootloaders (*_bootloader and *_canbootloader): raw .bin for SWD # *_bootloader_* variants (e.g. bootloader_secureboot) are omitted; # those images are baked with in-tree test keys. +# - px4io firmware (*_io-v*_default): raw .bin, the image "px4io update" +# flashes to the IO coprocessor from the FMU. for uavcan_bin in build/*/*.uavcan.bin; do [ -f "$uavcan_bin" ] || continue build_dir=$(basename "$(dirname "$uavcan_bin")") @@ -21,6 +23,14 @@ for bl_dir in build/*_bootloader build/*_canbootloader; do cp "$bl_bin" "artifacts/${build_dir}.bin" done +for io_dir in build/*_io-v*_default; do + [ -d "$io_dir" ] || continue + build_dir=$(basename "$io_dir") + io_bin="$io_dir/${build_dir}.bin" + [ -f "$io_bin" ] || continue + cp "$io_bin" "artifacts/${build_dir}.bin" +done + for px4_file in build/*/*.px4; do [ -f "$px4_file" ] || continue build_dir=$(basename "$(dirname "$px4_file")")