Skip to content

Commit fbeab75

Browse files
ahasztagnordicjm
authored andcommitted
suit: Template - do not fail on synchronous invoke timeout
A timeout in the default APP_LOCAL_3 (recovery image) manifest synchronous invoke directive resulted in manifest processing failure. This should not be the default behavior - if the recovery application fails to boot, an attempt to run the main applciation should be made. Signed-off-by: Artur Hadasz <artur.hadasz@nordicsemi.no>
1 parent cd6d9ed commit fbeab75

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

config/suit/templates/nrf54h20/default/v1/app_recovery_local_envelope.yaml.jinja2

+8-6
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,16 @@ SUIT_Envelope_Tagged:
6565
- suit-send-sysinfo-failure
6666
suit-invoke:
6767
- suit-directive-set-component-index: 0
68+
- suit-directive-run-sequence:
6869
{%- if 'CONFIG_SUIT_INVOKE_APP_LOCAL_3_BEFORE_MAIN_APP' in app_recovery_img['config'] and app_recovery_img['config'][CONFIG_SUIT_INVOKE_APP_LOCAL_3_BEFORE_MAIN_APP] != '' %}
69-
- suit-directive-override-parameters:
70-
suit-parameter-invoke-args:
71-
suit-synchronous-invoke: True
72-
suit-timeout: 5000
70+
- suit-directive-override-parameters:
71+
suit-parameter-invoke-args:
72+
suit-synchronous-invoke: True
73+
suit-timeout: 5000
74+
suit-parameter-soft-failure: True
7375
{%- endif %}
74-
- suit-directive-invoke:
75-
- suit-send-record-failure
76+
- suit-directive-invoke:
77+
- suit-send-record-failure
7678

7779
{%- if APP_LOCAL_3_VERSION is defined %}
7880
suit-current-version: {{ APP_LOCAL_3_VERSION }}

0 commit comments

Comments
 (0)