diff --git a/.github/workflows/build-and-release.yaml b/.github/workflows/build-and-release.yaml index 3cea5f6..312b1bf 100644 --- a/.github/workflows/build-and-release.yaml +++ b/.github/workflows/build-and-release.yaml @@ -61,6 +61,9 @@ jobs: matrix: configuration: - thingy91.low-power.memfault + # Double-tap to crash (dt2c) sends Button ID 42 and crashes on double tap of button + # to demonstrate the Memfault crash reporting feature. + - thingy91.low-power.memfault.dt2c - nrf9160dk.low-power.memfault # Not enough flash for Memfault AND debug on Thingy:91, # and it's not that useful anyway because debug builds @@ -142,6 +145,11 @@ jobs: echo "CONFIG_MEMFAULT_NCS_IMPLEMENT_METRICS_COLLECTION=n" >> firmware.conf echo MEMFAULT_OVERLAY=overlay-memfault.conf >> $GITHUB_ENV + - name: Configure double-tap-to-crash + if: contains(matrix.configuration, 'dt2c') + working-directory: firmware + run: echo "CONFIG_UI_DOUBLE_TAP_TO_CRASH=y" >> firmware.conf + - name: Configure for NB-IoT only working-directory: firmware if: contains(matrix.configuration, 'nbiot') diff --git a/package.json b/package.json index 130e294..ce4cc93 100644 --- a/package.json +++ b/package.json @@ -134,6 +134,26 @@ "name": "thingy_world-${nextRelease.gitTag}-Thingy91-low-power.elf", "label": "App Symbols ELF file for Thingy:91 firmware (low power)" }, + { + "path": "/home/runner/work/thingy-world-firmware-aws/thingy-world-firmware-aws/thingy91.low-power.memfault.dt2c-*/merged.hex", + "name": "thingy_world-Thingy91-low-power-dt2c-${nextRelease.gitTag}.hex", + "label": "App with Bootloader HEX file for Thingy:91 (with double-tap-to-crash) (low power)" + }, + { + "path": "/home/runner/work/thingy-world-firmware-aws/thingy-world-firmware-aws/thingy91.low-power.memfault.dt2c-*/app_signed.hex", + "name": "thingy_world-Thingy91-low-power-dt2c-${nextRelease.gitTag}-signed.hex", + "label": "Firmware Update Image HEX file for Thingy:91 (with double-tap-to-crash) (low power, signed)" + }, + { + "path": "/home/runner/work/thingy-world-firmware-aws/thingy-world-firmware-aws/thingy91.low-power.memfault.dt2c-*/app_update.bin", + "name": "thingy_world-Thingy91-low-power-dt2c-${nextRelease.gitTag}-app_upgrade.bin", + "label": "Firmware Update Image BIN file for Thingy:91 (with double-tap-to-crash) (low power)" + }, + { + "path": "/home/runner/work/thingy-world-firmware-aws/thingy-world-firmware-aws/thingy91.low-power.memfault.dt2c-*/zephyr.elf", + "name": "thingy_world-Thingy91-low-power-dt2c-${nextRelease.gitTag}.elf", + "label": "App Symbols ELF file for Thingy:91 (with double-tap-to-crash) firmware (low power)" + }, { "path": "/home/runner/work/thingy-world-firmware-aws/thingy-world-firmware-aws/thingy91.low-power.memfault.nbiot-*/merged.hex", "name": "thingy_world-${nextRelease.gitTag}-Thingy91-low-power-nbiot.hex", diff --git a/sdk-nrf b/sdk-nrf index d8e7886..252fe31 160000 --- a/sdk-nrf +++ b/sdk-nrf @@ -1 +1 @@ -Subproject commit d8e7886829381d7da28b2f76a338d42e3df17ea7 +Subproject commit 252fe312d0261a14e4dbcdd0fbbf26cc3c069592