samples: smp_svr: Add experimental support for external flash on nRF4H20 #24000
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit adds external flash support for nRF54H20 smp_svr sample. This is an experimental feature and marked DNM.
Also, CONFIG_MCUMGR_GRP_IMG_ALLOW_CONFIRM_NON_ACTIVE_IMAGE_ANY is enabled to allow radio core image confirmation through MCUmgr commands. It is recommended to use this feature only in development - application should have means to test and confirm the image instead, for e.g. using boot_write_img_confirmed() (radio app confirming itself) or boot_write_img_confirmed_multi().
To build it, for e.g. with different version of radio image (DFU testing), try:
west build -b nrf54h20dk/nrf54h20/cpuapp -T ./sample.mcumgr.smp_svr.bt.nrf54h20dk.ext_flash --pristine -- -Dipc_radio_CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION=\"2.1.1+1\"