Skip to content

Commit

Permalink
samples: suit: use CONFIG_SOC_NRF54H20_GENERATE_BICR
Browse files Browse the repository at this point in the history
Instead of the removed CONFIG_NRF_REGTOOL_GENERATE_BICR.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
  • Loading branch information
gmarull authored and anangl committed Jan 3, 2025
1 parent 00df919 commit 7921e07
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,15 @@ To turn an application into a recovery application, the following steps have to

* :kconfig:option:`CONFIG_SUIT_RECOVERY` set to ``y``
* :kconfig:option:`CONFIG_NRF_REGTOOL_GENERATE_UICR` set to ``n``
* :kconfig:option:`CONFIG_NRF_REGTOOL_GENERATE_BICR` set to ``n``
* :kconfig:option:`CONFIG_SOC_NRF54H20_GENERATE_BICR` set to ``n``

To do that you can simply paste the following code snippet into your configuration files:

.. code-block:: cfg
CONFIG_SUIT_RECOVERY=y
CONFIG_NRF_REGTOOL_GENERATE_UICR=n
CONFIG_NRF_REGTOOL_GENERATE_BICR=n
CONFIG_SOC_NRF54H20_GENERATE_BICR=n
#. Create the overlay files to be used by the recovery application.
In this guide it is assumed that for the application core they are placed in the custom recovery application directory in the :file:`boards/nrf54h20dk_nrf54h20_cpuapp.overlay` file.
Expand Down
2 changes: 1 addition & 1 deletion samples/suit/flash_companion/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ CONFIG_USE_DT_CODE_PARTITION=y
CONFIG_SUIT_LOCAL_ENVELOPE_GENERATE=n
CONFIG_SUIT_ENVELOPE_TARGET=""
CONFIG_NRF_REGTOOL_GENERATE_UICR=n
CONFIG_NRF_REGTOOL_GENERATE_BICR=n
CONFIG_SOC_NRF54H20_GENERATE_BICR=n

# Enable canonical zcbor encoding
CONFIG_ZCBOR_CANONICAL=y
Expand Down
2 changes: 1 addition & 1 deletion samples/suit/recovery/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ CONFIG_SUIT_RECOVERY=y
# It is the main application which is responsible for flashing and generating the UICR
# configuration - the recovery application should not do it.
CONFIG_NRF_REGTOOL_GENERATE_UICR=n
CONFIG_NRF_REGTOOL_GENERATE_BICR=n
CONFIG_SOC_NRF54H20_GENERATE_BICR=n

############

Expand Down
2 changes: 1 addition & 1 deletion samples/suit/recovery/sysbuild/hci_ipc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ CONFIG_SUIT_RECOVERY=y
# It is the main application which is responsible for flashing and generating the UICR
# configuration - the recovery application should not do it.
CONFIG_NRF_REGTOOL_GENERATE_UICR=n
CONFIG_NRF_REGTOOL_GENERATE_BICR=n
CONFIG_SOC_NRF54H20_GENERATE_BICR=n

###########
CONFIG_BT_BUF_ACL_RX_SIZE=502
Expand Down

0 comments on commit 7921e07

Please sign in to comment.