Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes needed for recovery run from APP_LOCAL_3 manifest #153

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading