File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed
samples/suit/smp_transfer Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -52,3 +52,22 @@ tests:
5252 - OVERLAY_CONFIG="sysbuild/smp_transfer_bt.conf"
5353 - SB_OVERLAY_CONFIG="sysbuild_bt.conf"
5454 tags : suit bluetooth ci_samples_suit
55+
56+ sample.suit.smp_transfer.full.extflash.extracted_cache :
57+ extra_args :
58+ - FILE_SUFFIX=extflash
59+ - SUIT_DFU_CACHE_PARTITION_1_EB_SIZE=4096
60+ extra_configs :
61+ - CONFIG_SUIT_DFU_CACHE_EXTRACT_IMAGE=y
62+ tags : suit ci_samples_suit
63+
64+ sample.suit.smp_transfer.full.extflash.bt.extracted_cache :
65+ extra_args :
66+ - FILE_SUFFIX=extflash
67+ - OVERLAY_CONFIG="sysbuild/smp_transfer_bt.conf"
68+ - SB_OVERLAY_CONFIG="sysbuild_bt.conf"
69+ - SUIT_DFU_CACHE_PARTITION_1_EB_SIZE=4096
70+ - hci_ipc_CONFIG_SUIT_DFU_CACHE_EXTRACT_IMAGE=y
71+ extra_configs :
72+ - CONFIG_SUIT_DFU_CACHE_EXTRACT_IMAGE=y
73+ tags : suit bluetooth ci_samples_suit
Original file line number Diff line number Diff line change @@ -86,12 +86,14 @@ SUIT_Envelope_Tagged:
8686 suit-current-version: {{ DEFAULT_VERSION }}
8787{% - endif %}
8888
89+ {% - if 'CONFIG_SUIT_DFU_CACHE_EXTRACT_IMAGE' not in application ['config' ] or application ['config' ]['CONFIG_SUIT_DFU_CACHE_EXTRACT_IMAGE' ] == '' %}
8990 suit-payload-fetch:
9091 - suit-directive-set-component-index: 2
9192 - suit-directive-override-parameters:
9293 suit-parameter-uri: 'file://{{ application['filename'] }}'
9394 - suit-directive-fetch:
9495 - suit-send-record-failure
96+ {% - endif %}
9597 suit-install:
9698{% - if flash_companion is defined %}
9799 - suit-directive-set-component-index: 1
@@ -123,7 +125,11 @@ SUIT_Envelope_Tagged:
123125{% - endif %}
124126 - suit-directive-set-component-index: 1
125127 - suit-directive-override-parameters:
128+ {% - if 'CONFIG_SUIT_DFU_CACHE_EXTRACT_IMAGE_URI' in application ['config' ] and application ['config' ]['CONFIG_SUIT_DFU_CACHE_EXTRACT_IMAGE_URI' ] != '' %}
129+ suit-parameter-uri: '{{ application['config'] ['CONFIG_SUIT_DFU_CACHE_EXTRACT_IMAGE_URI'] }}'
130+ {% - else %}
126131 suit-parameter-uri: 'file://{{ application['filename'] }}'
132+ {% - endif %}
127133 suit-parameter-image-digest:
128134 suit-digest-algorithm-id: cose-alg-sha-256
129135 suit-digest-bytes:
Original file line number Diff line number Diff line change @@ -77,16 +77,22 @@ SUIT_Envelope_Tagged:
7777 suit-current-version: {{ DEFAULT_VERSION }}
7878{% - endif %}
7979
80+ {% - if 'CONFIG_SUIT_DFU_CACHE_EXTRACT_IMAGE' not in radio ['config' ] or radio ['config' ]['CONFIG_SUIT_DFU_CACHE_EXTRACT_IMAGE' ] == '' %}
8081 suit-payload-fetch:
8182 - suit-directive-set-component-index: 2
8283 - suit-directive-override-parameters:
8384 suit-parameter-uri: 'file://{{ radio['filename'] }}'
8485 - suit-directive-fetch:
8586 - suit-send-record-failure
87+ {% - endif %}
8688 suit-install:
8789 - suit-directive-set-component-index: 1
8890 - suit-directive-override-parameters:
91+ {% - if 'CONFIG_SUIT_DFU_CACHE_EXTRACT_IMAGE_URI' in radio ['config' ] and radio ['config' ]['CONFIG_SUIT_DFU_CACHE_EXTRACT_IMAGE_URI' ] != '' %}
92+ suit-parameter-uri: '{{ radio['config'] ['CONFIG_SUIT_DFU_CACHE_EXTRACT_IMAGE_URI'] }}'
93+ {% - else %}
8994 suit-parameter-uri: 'file://{{ radio['filename'] }}'
95+ {% - endif %}
9096 - suit-directive-fetch:
9197 - suit-send-record-failure
9298 - suit-condition-image-match:
You can’t perform that action at this time.
0 commit comments