Skip to content

Commit

Permalink
feat: add NB-IoT builds with legacy PCO (#18)
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilian Deubel <[email protected]>
  • Loading branch information
maxd-nordic authored Mar 21, 2023
1 parent ce01a75 commit 0d36279
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ jobs:
# NB-IoT only builds for Thingy:91
- thingy91.low-power.memfault.nbiot
- thingy91.debug.nbiot
- thingy91.low-power.memfault.nbiot.legacy_pco
- thingy91.debug.nbiot.legacy_pco

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -120,6 +122,12 @@ jobs:
if: contains(matrix.configuration, 'nbiot')
run: echo "CONFIG_LTE_NETWORK_MODE_NBIOT_GPS=y" >> firmware.conf

- name: Build with legacy PCO
working-directory: firmware
if: contains(matrix.configuration, 'legacy_pco')
run: echo "CONFIG_PDN_LEGACY_PCO=y" >> firmware.conf


- name: Build for LTE-m and NB-IoT
working-directory: firmware
if: ${{ !contains(matrix.configuration, 'nbiot') }}
Expand Down
40 changes: 40 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,26 @@
"name": "thingy_world-Thingy91-debug-nbiot-${nextRelease.gitTag}.elf",
"label": "Symbol file for Thingy:91 firmware (debug, NB-IoT only)"
},
{
"path": "/home/runner/work/thingy-world-firmware-aws/thingy-world-firmware-aws/thingy91.debug.nbiot.legacy_pco-*/merged.hex",
"name": "thingy_world-Thingy91-debug-nbiot-legacy-pco-${nextRelease.gitTag}.hex",
"label": "Pre-build HEX file for Thingy:91 (debug, NB-IoT only, legacy PCO)"
},
{
"path": "/home/runner/work/thingy-world-firmware-aws/thingy-world-firmware-aws/thingy91.debug.nbiot.legacy_pco-*/app_signed.hex",
"name": "thingy_world-Thingy91-debug-nbiot-legacy-pco${nextRelease.gitTag}-signed.hex",
"label": "Pre-build HEX file for Thingy:91 (signed, debug, NB-IoT only, legacy PCO)"
},
{
"path": "/home/runner/work/thingy-world-firmware-aws/thingy-world-firmware-aws/thingy91.debug.nbiot.legacy_pco-*/app_update.bin",
"name": "thingy_world-Thingy91-debug-nbiot-legacy-pco${nextRelease.gitTag}-app_upgrade.bin",
"label": "App upgrade file for Thingy:91 (debug, NB-IoT only, legacy PCO)"
},
{
"path": "/home/runner/work/thingy-world-firmware-aws/thingy-world-firmware-aws/thingy91.debug.nbiot.legacy_pco-*/zephyr.elf",
"name": "thingy_world-Thingy91-debug-nbiot-legacy-pco${nextRelease.gitTag}.elf",
"label": "Symbol file for Thingy:91 firmware (debug, NB-IoT only, legacy PCO)"
},
{
"path": "/home/runner/work/thingy-world-firmware-aws/thingy-world-firmware-aws/nrf9160dk.debug-*/merged.hex",
"name": "thingy_world-nRF9160DK-debug-${nextRelease.gitTag}.hex",
Expand Down Expand Up @@ -131,6 +151,26 @@
"name": "thingy_world-Thingy91-low-power-nbiot-${nextRelease.gitTag}.elf",
"label": "Symbol file for Thingy:91 firmware (low power, NB-IoT only)"
},
{
"path": "/home/runner/work/thingy-world-firmware-aws/thingy-world-firmware-aws/thingy91.low-power.memfault.nbiot.legacy_pco-*/merged.hex",
"name": "thingy_world-Thingy91-low-power-nbiot-legacy-pco-${nextRelease.gitTag}.hex",
"label": "Pre-build HEX file for Thingy:91 (low power, NB-IoT only, legacy PCO)"
},
{
"path": "/home/runner/work/thingy-world-firmware-aws/thingy-world-firmware-aws/thingy91.low-power.memfault.nbiot.legacy_pco-*/app_signed.hex",
"name": "thingy_world-Thingy91-low-power-nbiot-legacy-pco-${nextRelease.gitTag}-signed.hex",
"label": "Pre-build HEX file for Thingy:91 (low power, signed, NB-IoT only, legacy PCO)"
},
{
"path": "/home/runner/work/thingy-world-firmware-aws/thingy-world-firmware-aws/thingy91.low-power.memfault.nbiot.legacy_pco-*/app_update.bin",
"name": "thingy_world-Thingy91-low-power-nbiot-legacy-pco-${nextRelease.gitTag}-app_upgrade.bin",
"label": "App upgrade file for Thingy:91 (low power, NB-IoT only, legacy PCO)"
},
{
"path": "/home/runner/work/thingy-world-firmware-aws/thingy-world-firmware-aws/thingy91.low-power.memfault.nbiot.legacy_pco-*/zephyr.elf",
"name": "thingy_world-Thingy91-low-power-nbiot-legacy-pco-${nextRelease.gitTag}.elf",
"label": "Symbol file for Thingy:91 firmware (low power, NB-IoT only, legacy PCO)"
},
{
"path": "/home/runner/work/thingy-world-firmware-aws/thingy-world-firmware-aws/nrf9160dk.debug-*/app_signed.hex",
"name": "thingy_world-nRF9160DK-debug-${nextRelease.gitTag}-signed.hex",
Expand Down

0 comments on commit 0d36279

Please sign in to comment.