Skip to content

Commit

Permalink
suit: Template - do not fail on synchronous invoke timeout
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ahasztag authored and nordicjm committed Feb 21, 2025
1 parent cd6d9ed commit fbeab75
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,16 @@ SUIT_Envelope_Tagged:
- suit-send-sysinfo-failure
suit-invoke:
- suit-directive-set-component-index: 0
- suit-directive-run-sequence:
{%- 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] != '' %}
- suit-directive-override-parameters:
suit-parameter-invoke-args:
suit-synchronous-invoke: True
suit-timeout: 5000
- suit-directive-override-parameters:
suit-parameter-invoke-args:
suit-synchronous-invoke: True
suit-timeout: 5000
suit-parameter-soft-failure: True
{%- endif %}
- suit-directive-invoke:
- suit-send-record-failure
- suit-directive-invoke:
- suit-send-record-failure

{%- if APP_LOCAL_3_VERSION is defined %}
suit-current-version: {{ APP_LOCAL_3_VERSION }}
Expand Down

0 comments on commit fbeab75

Please sign in to comment.