Skip to content

Commit

Permalink
Changes needed for recovery run from APP_LOCAL_3 manifest
Browse files Browse the repository at this point in the history
Ref: NCSDK-29998

Signed-off-by: Artur Hadasz <[email protected]>
  • Loading branch information
ahasztag committed Nov 22, 2024
1 parent 7bf6a6b commit 9c5e8f1
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions ncs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ config SUIT_ENVELOPE_TEMPLATE_FILENAME
string "Path to the envelope template"
default "app_envelope.yaml.jinja2" if SOC_NRF54H20_CPUAPP_COMMON && !SUIT_RECOVERY
default "rad_envelope.yaml.jinja2" if SOC_NRF54H20_CPURAD_COMMON && !SUIT_RECOVERY
default "app_recovery_local_envelope.yaml.jinja2" if SOC_NRF54H20_CPUAPP_COMMON && SUIT_RECOVERY
default "rad_recovery_envelope.yaml.jinja2" if SOC_NRF54H20_CPURAD_COMMON && SUIT_RECOVERY

config SUIT_ENVELOPE_TARGET
string "Target name inside the envelope templates"
default "application" if SOC_NRF54H20_CPUAPP_COMMON && !SUIT_RECOVERY
default "radio" if SOC_NRF54H20_CPURAD_COMMON && !SUIT_RECOVERY
default "app_recovery" if SOC_NRF54H20_CPUAPP_COMMON && SUIT_RECOVERY
default "app_recovery_img" if SOC_NRF54H20_CPUAPP_COMMON && SUIT_RECOVERY
default "rad_recovery" if SOC_NRF54H20_CPURAD_COMMON && SUIT_RECOVERY

config SUIT_ENVELOPE_OUTPUT_ARTIFACT
Expand All @@ -35,11 +36,7 @@ config SUIT_ENVELOPE_OUTPUT_MPI_MERGE

config SUIT_LOCAL_ENVELOPE_GENERATE
bool "Generate local envelope"
# In case of the recovery application, the "application" envelope, containing
# the application firmware image, is actually the root envelope from
# the build system's point of view.
# That is why no local envelope is generated for the application.
default y if (SOC_NRF54H20_CPUAPP_COMMON && !SUIT_RECOVERY) || SOC_NRF54H20_CPURAD_COMMON
default y if SOC_NRF54H20_CPUAPP_COMMON || SOC_NRF54H20_CPURAD_COMMON

config SUIT_DFU_CACHE_EXTRACT_IMAGE
bool "Extract firmware image to DFU cache"
Expand Down

0 comments on commit 9c5e8f1

Please sign in to comment.