Skip to content
Draft
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions scripts/ci/license_allow_list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Apache-2.0: |
^nrf/tests/benchmarks/kernel_freq_change/src/kernel_context.c
^nrf/tests/subsys/suit/common/tls_config/user-tls-conf.h
^nrf/subsys/settings/
^nrf/subsys/mgmt/mcumgr/grp/img_mgmt/src/img_mgmt.c
^nrf/subsys/mgmt/mcumgr/grp/img_mgmt/src/img_mgmt_state.c
^nrf/tests/zephyr/subsys/settings/
^nrf/samples/zephyr/
Expand Down
7 changes: 7 additions & 0 deletions subsys/mgmt/mcumgr/grp/img_mgmt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,16 @@
if(CONFIG_MCUMGR_GRP_IMG_NRF)
zephyr_library_amend()
zephyr_library_sources(
src/img_mgmt.c
src/img_mgmt_state.c
)

set_source_files_properties(
${ZEPHYR_BASE}/subsys/mgmt/mcumgr/grp/img_mgmt/src/img_mgmt.c
DIRECTORY ${ZEPHYR_BASE}/subsys/mgmt/mcumgr/grp/img_mgmt/
PROPERTIES HEADER_FILE_ONLY ON
)

set_source_files_properties(
${ZEPHYR_BASE}/subsys/mgmt/mcumgr/grp/img_mgmt/src/img_mgmt_state.c
DIRECTORY ${ZEPHYR_BASE}/subsys/mgmt/mcumgr/grp/img_mgmt/
Expand Down
11 changes: 11 additions & 0 deletions subsys/mgmt/mcumgr/grp/img_mgmt/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,15 @@ config MCUMGR_GRP_IMG_NRF
Enables use of an extended version of the image management implementation that adds
Nordic-specific functionalities.

if MCUMGR_GRP_IMG_NRF

config MCUMGR_GRP_IMG_QSPI_XIP_SPLIT_IMAGE
bool "QSPI XIP Split image mode"
depends on MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP
help
This option should not be selected by users and should automatically be selected by
sysbuild if needed. This enables selecting the correct slot when running a QSPI XIP
split image application in DirectXIP mode.

endif # MCUMGR_GRP_IMG_NRF
endmenu
Loading
Loading