Skip to content

Commit 7895916

Browse files
magp-nordicmasz-nordic
authored andcommitted
sysbuild: sdp: change selection of SDP application to a choice
Change selection of SDP application in Kconfig to a choice, since only one FW can be used at once. Signed-off-by: Magdalena Pastula <[email protected]>
1 parent 5a7367b commit 7895916

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

cmake/sysbuild/sdp.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ if(SB_CONFIG_SDP)
2323
elseif(SB_CONFIG_SDP_GPIO_BACKEND_ICBMSG)
2424
set(snippet_name "sdp-gpio-icbmsg")
2525
endif()
26-
endif()
27-
if(SB_CONFIG_SDP_MSPI)
26+
elseif(SB_CONFIG_SDP_MSPI)
2827
set(snippet_name "sdp-mspi")
2928
if(SB_CONFIG_SDP_FLPR_APP_FAULT_TIMER)
3029
sdp_apply_flpr_fault_timer_params(${SB_CONFIG_SDP_FLPR_APP_FAULT_TIMEOUT})

sysbuild/Kconfig.sdp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,19 @@ menuconfig SDP
99

1010
if SDP
1111

12+
choice SDP_APPLICATION
13+
prompt "SDP application selection"
14+
help
15+
Select which SDP application should be flashed on FLPR.
16+
1217
config SDP_GPIO
1318
bool "SDP GPIO application"
1419

1520
config SDP_MSPI
1621
bool "SDP MSPI application"
1722

23+
endchoice
24+
1825
config SDP_DEVELOPER_MODE
1926
bool "SDP developer mode"
2027

0 commit comments

Comments
 (0)