|
8 | 8 | # depending on which components are defined in the input context and which payloads |
9 | 9 | # are included/detached from the envelope. |
10 | 10 | # This manifest will only be installed if the SoC Binaries (nordic_top envelope) installed |
11 | | -# in the device have a semantic version of at least 0.8.0. |
| 11 | +# in the device have a semantic version of at least MIN_NORDIC_TOP_VERSION (by default 0.8.0). |
12 | 12 | # If a partial update (only radio or only application) needs to be performed, |
13 | 13 | # several rules are enforced: |
14 | 14 | # - If the candidate only contains the radio core image, it is ensured that |
|
30 | 30 | {%- else %} |
31 | 31 | {% set RAD_LOCAL_1_VERSION_MAJOR = 0 %} |
32 | 32 | {%- endif %} |
| 33 | +{%- if not MIN_NORDIC_TOP_VERSION is defined %} |
| 34 | + {%- set MIN_NORDIC_TOP_VERSION = "0.8.0" %} |
| 35 | +{%- endif %} |
33 | 36 | {%- if 'SB_CONFIG_SUIT_ENVELOPE_NORDIC_TOP_DIRECTORY' in sysbuild['config'] and sysbuild['config']['SB_CONFIG_SUIT_ENVELOPE_NORDIC_TOP_DIRECTORY'] != '' %} |
34 | 37 | {%- set nordic_top = True %} |
35 | 38 | {%- else %} |
@@ -273,11 +276,9 @@ SUIT_Envelope_Tagged: |
273 | 276 |
|
274 | 277 | suit-candidate-verification: |
275 | 278 | - suit-directive-set-component-index: {{ top_component_index }} |
276 | | - # The version check below should be modified if a different installed SoC Binaries version |
277 | | - # is required for the update. |
278 | 279 | - suit-directive-override-parameters: |
279 | 280 | suit-parameter-version: |
280 | | - suit-condition-version-comparison-greater-equal: 0.8.0 |
| 281 | + suit-condition-version-comparison-greater-equal: {{ MIN_NORDIC_TOP_VERSION }} |
281 | 282 | - suit-condition-version: |
282 | 283 | - suit-send-record-success |
283 | 284 | - suit-send-record-failure |
|
0 commit comments