Skip to content

Commit

Permalink
Revert "fix: Class ID checks for INSTLD_MFST components"
Browse files Browse the repository at this point in the history
This reverts commit ad6502a.
  • Loading branch information
robertstypa committed Jan 9, 2025
1 parent ad6502a commit f09a77b
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 8 deletions.
13 changes: 11 additions & 2 deletions examples/input_files/envelope_2_hierarchical.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,23 @@ SUIT_Envelope_Tagged:
namespace: nordicsemi.com
name: nRF54H20_sample_app
suit-shared-sequence:
- suit-directive-set-component-index: [1, 2]
- suit-directive-set-component-index: 1
- suit-directive-override-parameters:
suit-parameter-vendor-identifier:
RFC4122_UUID: nordicsemi.com
suit-parameter-class-identifier:
RFC4122_UUID:
namespace: nordicsemi.com
name: nRF54H20_sample_rad
- suit-directive-set-component-index: 2
- suit-directive-override-parameters:
suit-parameter-vendor-identifier:
RFC4122_UUID: nordicsemi.com
suit-parameter-class-identifier:
RFC4122_UUID:
namespace: nordicsemi.com
name: nRF54H20_sample_root
name: nRF54H20_sample_app
- suit-directive-set-component-index: [1, 2]
- suit-condition-vendor-identifier:
- suit-send-record-success
- suit-send-record-failure
Expand Down
12 changes: 10 additions & 2 deletions ncs/nordic_top_envelope.yaml.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,20 @@ SUIT_Envelope_Tagged:
namespace: nordicsemi.com
name: nRF54H20_sys
suit-shared-sequence:
- suit-directive-set-component-index: [1,2]
- suit-directive-set-component-index: 1
- suit-directive-override-parameters:
suit-parameter-class-identifier:
RFC4122_UUID:
namespace: nordicsemi.com
name: nRF54H20_nordic_top
name: nRF54H20_sec
- suit-directive-set-component-index: 2
- suit-directive-override-parameters:
suit-parameter-class-identifier:
RFC4122_UUID:
namespace: nordicsemi.com
name: nRF54H20_sys
- suit-directive-set-component-index: [1,2]
- suit-directive-override-parameters:
suit-parameter-vendor-identifier:
RFC4122_UUID: nordicsemi.com
- suit-condition-vendor-identifier:
Expand Down
33 changes: 29 additions & 4 deletions ncs/root_with_nordic_top_envelope.yaml.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,39 @@ SUIT_Envelope_Tagged:
{%- endif %}

suit-shared-sequence:
- suit-directive-set-component-index: [{{ component_list|join(',') }}]
{%- if rad is defined %}
- suit-directive-set-component-index: {{ rad_component_index }}
- suit-directive-override-parameters:
suit-parameter-vendor-identifier:
RFC4122_UUID: {{ mpi_rad_vendor_name }}
suit-parameter-class-identifier:
RFC4122_UUID:
namespace: {{ mpi_rad_vendor_name }}
name: {{ mpi_rad_class_name }}
{%- endif %}
{%- if app is defined %}
- suit-directive-set-component-index: {{ app_component_index }}
- suit-directive-override-parameters:
suit-parameter-vendor-identifier:
RFC4122_UUID: {{ mpi_app_vendor_name }}
suit-parameter-class-identifier:
RFC4122_UUID:
namespace: {{ mpi_app_vendor_name }}
name: {{ mpi_app_class_name }}
{%- endif %}

{%- if top is defined %}
- suit-directive-set-component-index: {{ top_component_index }}
- suit-directive-override-parameters:
suit-parameter-vendor-identifier:
RFC4122_UUID: {{ mpi_root_vendor_name }}
RFC4122_UUID: nordicsemi.com
suit-parameter-class-identifier:
RFC4122_UUID:
namespace: {{ mpi_root_vendor_name }}
name: {{ mpi_root_class_name }}
namespace: nordicsemi.com
name: nRF54H20_nordic_top
{%- endif %}

- suit-directive-set-component-index: [{{ component_list|join(',') }}]
- suit-condition-vendor-identifier:
- suit-send-record-success
- suit-send-record-failure
Expand Down

0 comments on commit f09a77b

Please sign in to comment.