Skip to content

Commit 3501a6c

Browse files
e-rknordicjm
authored andcommitted
doc: SUIT Kconfigs were moved to sysbuild
Certain SUIT Kconfig options were moved to sysbuild Kconifg and are now prefixed with SB_CONFIG_, instead of CONFIG_. Signed-off-by: Rafał Kuźnia <[email protected]>
1 parent 3d4f19e commit 3501a6c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

doc/nrf/device_guides/working_with_nrf/nrf54h/ug_nrf54h20_matter_thread.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ To build the firmware with the SUIT DFU support, run the following command with
217217
.. parsed-literal::
218218
:class: highlight
219219
220-
west build -b nrf54h20dk/nrf54h20/cpuapp -- -DCONFIG_SUIT_ENVELOPE_SEQUENCE_NUM=*number*
220+
west build -b nrf54h20dk/nrf54h20/cpuapp -- -DSB_CONFIG_SUIT_ENVELOPE_SEQUENCE_NUM=*number*
221221
222222
You can perform a DFU using the nRF Connect Device Manager mobile application or the :ref:`Mcumgr command-line tool <zephyr:mcumgr_cli>`.
223223
After building the sample you can find two SUIT envelopes created in the build directory and depending on the core type you can search for:

doc/nrf/device_guides/working_with_nrf/nrf54h/ug_nrf54h20_suit_customize_dfu.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ After the first build of the ``nrf54h_suit_sample``, three additional files are
7373
* Application Domain manifest - :file:`app_envelope.yaml.jinja2`
7474
* Radio Domain manifest - :file:`rad_envelope.yaml.jinja2`
7575

76-
The destination directory for these :file:`jinja2` file templates can be changed by setting the :kconfig:option:`CONFIG_SUIT_ENVELOPE_EDITABLE_TEMPLATES_LOCATION` Kconfig option.
76+
The destination directory for these :file:`jinja2` file templates can be changed by setting the :kconfig:option:`SB_CONFIG_SUIT_ENVELOPE_EDITABLE_TEMPLATES_LOCATION` Kconfig option.
7777

7878
.. note::
7979
The Radio Domain manifest template is available only for the Bluetooth® Low Energy version of the ``nrf54h_suit_sample``, not the UART version.
@@ -93,19 +93,19 @@ Let us assume that you would like to store the editable manifest templates in th
9393

9494
.. code-block:: console
9595
96-
west build -d C:/ncs-lcs/work_dir/build/ -b nrf54h20dk/nrf54h20/cpuapp -p -- -DCONFIG_SUIT_ENVELOPE_EDITABLE_TEMPLATES_LOCATION="C:/my_templates"
96+
west build -d C:/ncs-lcs/work_dir/build/ -b nrf54h20dk/nrf54h20/cpuapp -p -- -DSB_CONFIG_SUIT_ENVELOPE_EDITABLE_TEMPLATES_LOCATION="C:/my_templates"
9797
9898
.. group-tab:: Linux
9999

100100
Enter the following command to change the location where the editable manifest templates are stored:
101101

102102
.. code-block:: console
103103
104-
west build -b nrf54h20dk/nrf54h20/cpuapp -p -- -DCONFIG_SUIT_ENVELOPE_EDITABLE_TEMPLATES_LOCATION="/home/my_user/my_templates"
104+
west build -b nrf54h20dk/nrf54h20/cpuapp -p -- -DSB_CONFIG_SUIT_ENVELOPE_EDITABLE_TEMPLATES_LOCATION="/home/my_user/my_templates"
105105
106106
The source of the manifest templates can be configured by setting the following Kconfig options:
107107

108-
* :kconfig:option:`CONFIG_SUIT_ENVELOPE_ROOT_TEMPLATE`
108+
* :kconfig:option:`SB_CONFIG_SUIT_ENVELOPE_ROOT_TEMPLATE`
109109

110110
* :kconfig:option:`CONFIG_SUIT_ENVELOPE_APP_TEMPLATE`
111111

@@ -159,17 +159,17 @@ To build the described example with the provided manifest templates taken from y
159159

160160
.. code-block:: console
161161
162-
west build -d C:/ncs-lcs/work_dir/build/ -b nrf54h20dk/nrf54h20/cpuapp -p -- -DCONFIG_SUIT_ENVELOPE_EDITABLE_TEMPLATES_LOCATION="c:/my_templates" -DCONFIG_SUIT_ENVELOPE_ROOT_TEMPLATE="c:/my_default_templates/root.yaml.jinja2" -DCONFIG_SUIT_ENVELOPE_APP_TEMPLATE="c:/my_default_templates/app.yaml.jinja2" -DCONFIG_SUIT_ENVELOPE_HCI_RPMSG_SUBIMAGE_TEMPLATE="c:/my_default_templates/radio.yaml.jinja2"
162+
west build -d C:/ncs-lcs/work_dir/build/ -b nrf54h20dk/nrf54h20/cpuapp -p -- -DSB_CONFIG_SUIT_ENVELOPE_EDITABLE_TEMPLATES_LOCATION="c:/my_templates" -DSB_CONFIG_SUIT_ENVELOPE_ROOT_TEMPLATE="c:/my_default_templates/root.yaml.jinja2" -DCONFIG_SUIT_ENVELOPE_APP_TEMPLATE="c:/my_default_templates/app.yaml.jinja2" -DCONFIG_SUIT_ENVELOPE_HCI_RPMSG_SUBIMAGE_TEMPLATE="c:/my_default_templates/radio.yaml.jinja2"
163163
164164
.. group-tab:: Linux
165165

166166
Run the following command:
167167

168168
.. code-block:: console
169169
170-
west build -b nrf54h20dk/nrf54h20/cpuapp -p -- -DCONFIG_SUIT_ENVELOPE_EDITABLE_TEMPLATES_LOCATION="/home/my_user/my_templates" -DCONFIG_SUIT_ENVELOPE_ROOT_TEMPLATE="/home/my_user/my_default_templates/root.yaml.jinja2" -DCONFIG_SUIT_ENVELOPE_APP_TEMPLATE="/home/my_user/my_default_templates/app.yaml.jinja2" -DCONFIG_SUIT_ENVELOPE_HCI_RPMSG_SUBIMAGE_TEMPLATE="/home/my_user/my_default_templates/radio.yaml.jinja2"
170+
west build -b nrf54h20dk/nrf54h20/cpuapp -p -- -DSB_CONFIG_SUIT_ENVELOPE_EDITABLE_TEMPLATES_LOCATION="/home/my_user/my_templates" -DSB_CONFIG_SUIT_ENVELOPE_ROOT_TEMPLATE="/home/my_user/my_default_templates/root.yaml.jinja2" -DCONFIG_SUIT_ENVELOPE_APP_TEMPLATE="/home/my_user/my_default_templates/app.yaml.jinja2" -DCONFIG_SUIT_ENVELOPE_HCI_RPMSG_SUBIMAGE_TEMPLATE="/home/my_user/my_default_templates/radio.yaml.jinja2"
171171
172-
Editable manifest copied into the sample directory (or in the directory configured using the :kconfig:option:`CONFIG_SUIT_ENVELOPE_EDITABLE_TEMPLATES_LOCATION` Kconfig option) can be modified to edit the contents of the envelopes and modify the DFU process.
172+
Editable manifest copied into the sample directory (or in the directory configured using the :kconfig:option:`SB_CONFIG_SUIT_ENVELOPE_EDITABLE_TEMPLATES_LOCATION` Kconfig option) can be modified to edit the contents of the envelopes and modify the DFU process.
173173
These files will not be overwritten by the build system during the next builds or in consecutive SDK releases.
174174

175175
For more information about the Kconfig options used in this example, see the `SUIT Kconfig options <https://res.developer.nordicsemi.com/ncs/doc/latest/kconfig/index.html#!suit_envelope>`__.

0 commit comments

Comments
 (0)