diff --git a/.github/actions/build_and_upload/action.yml b/.github/actions/build_and_upload/action.yml index a7c9b82..70a0ae8 100644 --- a/.github/actions/build_and_upload/action.yml +++ b/.github/actions/build_and_upload/action.yml @@ -7,6 +7,9 @@ inputs: board: description: 'Board definition to use' required: true + revision: + description: 'Board revision use' + default: '1.2.0' cmake-extra: description: 'Extra CMake arguments' default: '' @@ -21,6 +24,7 @@ runs: with: sample-dir: ${{ inputs.sample-dir }} board: ${{ inputs.board }} + revision: ${{ inputs.revision }} cmake-extra: ${{ inputs.cmake-extra }} output-bin: ${{ inputs.output-bin }} - uses: actions/upload-artifact@v3 diff --git a/.github/workflows/b-parasite.yml b/.github/workflows/b-parasite.yml index 3474726..a4cac62 100644 --- a/.github/workflows/b-parasite.yml +++ b/.github/workflows/b-parasite.yml @@ -29,29 +29,46 @@ jobs: sample-dir: code/nrf-connect/samples/soil_read_loop board: bparasite_nrf52840 output-bin: soil_read_loop_nrf52840.hex - - name: Build ble_nrf52840_default.hex + - name: Build ble_nrf52840_1_2_0_default.hex uses: ./.github/actions/build_and_upload with: sample-dir: code/nrf-connect/samples/ble board: bparasite_nrf52840 - output-bin: ble_nrf52840_default.hex - - name: Build ble_nrf52840_bthomev1.hex + revision: '1.2.0' + output-bin: ble_nrf52840_1_2_0_default.hex + - name: Build ble_nrf52840_1_1_0_default.hex uses: ./.github/actions/build_and_upload with: sample-dir: code/nrf-connect/samples/ble board: bparasite_nrf52840 - cmake-extra: -DCONFIG_PRST_BLE_ENCODING_BTHOME_V1=y - output-bin: ble_nrf52840_bthomev1.hex + revision: '1.1.0' + output-bin: ble_nrf52840_1_1_0_default.hex + - name: Build ble_nrf52840_1_0_0_default.hex + uses: ./.github/actions/build_and_upload + with: + sample-dir: code/nrf-connect/samples/ble + board: bparasite_nrf52840 + revision: '1.0.0' + output-bin: ble_nrf52840_1_0_0_default.hex + - name: Build ble_test_nrf52840_bthomev1_1s.hex + uses: ./.github/actions/build_and_upload + with: + sample-dir: code/nrf-connect/samples/ble + board: bparasite_nrf52840 + revision: '1.2.0' + cmake-extra: -DCONFIG_PRST_BLE_ENCODING_BTHOME_V1=y -DCONFIG_PRST_SLEEP_DURATION_SEC=1 + output-bin: ble_test_nrf52840_bthomev1_1s.hex + - name: Build ble_test_nrf52840_bthomev2_1s.hex + uses: ./.github/actions/build_and_upload + with: + sample-dir: code/nrf-connect/samples/ble + board: bparasite_nrf52840 + revision: '1.2.0' + cmake-extra: -DCONFIG_PRST_BLE_ENCODING_BTHOME_V2=y -DCONFIG_PRST_SLEEP_DURATION_SEC=1 + output-bin: ble_test_nrf52840_bthomev2_1s.hex - name: Build ble_nrf52833_default.hex uses: ./.github/actions/build_and_upload with: sample-dir: code/nrf-connect/samples/ble board: bparasite_nrf52833 - output-bin: ble_nrf52833_default.hex - - name: Build ble_nrf52833_bthomev1.hex - uses: ./.github/actions/build_and_upload - with: - sample-dir: code/nrf-connect/samples/ble - board: bparasite_nrf52833 - cmake-extra: -DCONFIG_PRST_BLE_ENCODING_BTHOME_V1=y - output-bin: ble_nrf52833_bthomev1.hex \ No newline at end of file + output-bin: ble_nrf52833_default.hex \ No newline at end of file