Skip to content

Commit d1a06d1

Browse files
authored
[#34] Include merged.hex into release build for sub-components (b0, mcuboot, fwloader) (#37)
1 parent 4d8efbe commit d1a06d1

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

.github/workflows/build-fw_nrf52840dk_a2_release_mock.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,18 +293,21 @@ jobs:
293293
if [ "${flag_build_release_subcomponent}" = true ]; then
294294
if [ "${flag_build_release_b0}" = true ]; then
295295
paths=(
296+
"merged.hex"
296297
"b0_container.hex"
297298
"app_provision.hex"
298299
)
299300
elif [ "${flag_build_release_mcuboot}" = true ]; then
300301
paths=(
302+
"merged.hex"
301303
"signed_by_mcuboot_and_b0_mcuboot.bin"
302304
"signed_by_mcuboot_and_b0_mcuboot.hex"
303305
"signed_by_mcuboot_and_b0_s1_image.bin"
304306
"signed_by_mcuboot_and_b0_s1_image.hex"
305307
)
306308
elif [ "${flag_build_release_fwloader}" = true ]; then
307309
paths=(
310+
"merged.hex"
308311
"firmware_loader/zephyr/ruuvi_air_fw_loader.signed.bin"
309312
"firmware_loader/zephyr/ruuvi_air_fw_loader.signed.hex"
310313
)

.github/workflows/build-fw_ruuviair_a1-dev.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,18 +295,21 @@ jobs:
295295
if [ "${flag_build_release_subcomponent}" = true ]; then
296296
if [ "${flag_build_release_b0}" = true ]; then
297297
paths=(
298+
"merged.hex"
298299
"b0_container.hex"
299300
"app_provision.hex"
300301
)
301302
elif [ "${flag_build_release_mcuboot}" = true ]; then
302303
paths=(
304+
"merged.hex"
303305
"signed_by_mcuboot_and_b0_mcuboot.bin"
304306
"signed_by_mcuboot_and_b0_mcuboot.hex"
305307
"signed_by_mcuboot_and_b0_s1_image.bin"
306308
"signed_by_mcuboot_and_b0_s1_image.hex"
307309
)
308310
elif [ "${flag_build_release_fwloader}" = true ]; then
309311
paths=(
312+
"merged.hex"
310313
"firmware_loader/zephyr/ruuvi_air_fw_loader.signed.bin"
311314
"firmware_loader/zephyr/ruuvi_air_fw_loader.signed.hex"
312315
)

.github/workflows/build-fw_ruuviair_a2-dev.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,18 +295,21 @@ jobs:
295295
if [ "${flag_build_release_subcomponent}" = true ]; then
296296
if [ "${flag_build_release_b0}" = true ]; then
297297
paths=(
298+
"merged.hex"
298299
"b0_container.hex"
299300
"app_provision.hex"
300301
)
301302
elif [ "${flag_build_release_mcuboot}" = true ]; then
302303
paths=(
304+
"merged.hex"
303305
"signed_by_mcuboot_and_b0_mcuboot.bin"
304306
"signed_by_mcuboot_and_b0_mcuboot.hex"
305307
"signed_by_mcuboot_and_b0_s1_image.bin"
306308
"signed_by_mcuboot_and_b0_s1_image.hex"
307309
)
308310
elif [ "${flag_build_release_fwloader}" = true ]; then
309311
paths=(
312+
"merged.hex"
310313
"firmware_loader/zephyr/ruuvi_air_fw_loader.signed.bin"
311314
"firmware_loader/zephyr/ruuvi_air_fw_loader.signed.hex"
312315
)

.github/workflows/build-fw_ruuviair_a2-prod.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,18 +292,21 @@ jobs:
292292
if [ "${flag_build_release_subcomponent}" = true ]; then
293293
if [ "${flag_build_release_b0}" = true ]; then
294294
paths=(
295+
"merged.hex"
295296
"b0_container.hex"
296297
"app_provision.hex"
297298
)
298299
elif [ "${flag_build_release_mcuboot}" = true ]; then
299300
paths=(
301+
"merged.hex"
300302
"signed_by_mcuboot_and_b0_mcuboot.bin"
301303
"signed_by_mcuboot_and_b0_mcuboot.hex"
302304
"signed_by_mcuboot_and_b0_s1_image.bin"
303305
"signed_by_mcuboot_and_b0_s1_image.hex"
304306
)
305307
elif [ "${flag_build_release_fwloader}" = true ]; then
306308
paths=(
309+
"merged.hex"
307310
"firmware_loader/zephyr/ruuvi_air_fw_loader.signed.bin"
308311
"firmware_loader/zephyr/ruuvi_air_fw_loader.signed.hex"
309312
)

.github/workflows/build-fw_ruuviair_a3-dev.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,18 +295,21 @@ jobs:
295295
if [ "${flag_build_release_subcomponent}" = true ]; then
296296
if [ "${flag_build_release_b0}" = true ]; then
297297
paths=(
298+
"merged.hex"
298299
"b0_container.hex"
299300
"app_provision.hex"
300301
)
301302
elif [ "${flag_build_release_mcuboot}" = true ]; then
302303
paths=(
304+
"merged.hex"
303305
"signed_by_mcuboot_and_b0_mcuboot.bin"
304306
"signed_by_mcuboot_and_b0_mcuboot.hex"
305307
"signed_by_mcuboot_and_b0_s1_image.bin"
306308
"signed_by_mcuboot_and_b0_s1_image.hex"
307309
)
308310
elif [ "${flag_build_release_fwloader}" = true ]; then
309311
paths=(
312+
"merged.hex"
310313
"firmware_loader/zephyr/ruuvi_air_fw_loader.signed.bin"
311314
"firmware_loader/zephyr/ruuvi_air_fw_loader.signed.hex"
312315
)

.github/workflows/build-fw_ruuviair_a3-prod.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,18 +292,21 @@ jobs:
292292
if [ "${flag_build_release_subcomponent}" = true ]; then
293293
if [ "${flag_build_release_b0}" = true ]; then
294294
paths=(
295+
"merged.hex"
295296
"b0_container.hex"
296297
"app_provision.hex"
297298
)
298299
elif [ "${flag_build_release_mcuboot}" = true ]; then
299300
paths=(
301+
"merged.hex"
300302
"signed_by_mcuboot_and_b0_mcuboot.bin"
301303
"signed_by_mcuboot_and_b0_mcuboot.hex"
302304
"signed_by_mcuboot_and_b0_s1_image.bin"
303305
"signed_by_mcuboot_and_b0_s1_image.hex"
304306
)
305307
elif [ "${flag_build_release_fwloader}" = true ]; then
306308
paths=(
309+
"merged.hex"
307310
"firmware_loader/zephyr/ruuvi_air_fw_loader.signed.bin"
308311
"firmware_loader/zephyr/ruuvi_air_fw_loader.signed.hex"
309312
)

0 commit comments

Comments
 (0)