Skip to content

Commit 9147963

Browse files
committed
samples: matter: kconfig: Exclude disabling PM for non-secure builds
TF-M is currently not supported without partition manager, do not force disabling PM if a non-secure board target is used in samples that build for these Signed-off-by: Jamie McCrae <[email protected]>
1 parent fc59479 commit 9147963

File tree

11 files changed

+22
-11
lines changed

11 files changed

+22
-11
lines changed

samples/matter/closure/Kconfig.sysbuild

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
#
66

77
config PARTITION_MANAGER
8-
default n if SOC_SERIES_NRF52X || SOC_NRF54L10 || SOC_NRF54L15 || SOC_NRF54LM20A
8+
default n if (SOC_SERIES_NRF52X || SOC_NRF54L10 || SOC_NRF54L15 || SOC_NRF54LM20A) && \
9+
!BOARD_IS_NON_SECURE
910

1011
#### Radio core selection
1112
config NRF_DEFAULT_IPC_RADIO

samples/matter/contact_sensor/Kconfig.sysbuild

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
#
66

77
config PARTITION_MANAGER
8-
default n if SOC_SERIES_NRF52X || SOC_NRF54L10 || SOC_NRF54L15 || SOC_NRF54LM20A
8+
default n if (SOC_SERIES_NRF52X || SOC_NRF54L10 || SOC_NRF54L15 || SOC_NRF54LM20A) && \
9+
!BOARD_IS_NON_SECURE
910

1011
#### Radio core selection
1112
config NRF_DEFAULT_IPC_RADIO

samples/matter/light_bulb/Kconfig.sysbuild

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
#
66

77
config PARTITION_MANAGER
8-
default n if SOC_SERIES_NRF52X || SOC_NRF54L10 || SOC_NRF54L15 || SOC_NRF54LM20A
8+
default n if (SOC_SERIES_NRF52X || SOC_NRF54L10 || SOC_NRF54L15 || SOC_NRF54LM20A) && \
9+
!BOARD_IS_NON_SECURE
910

1011
# This config has to be enabled manually for variants with shields, because sysbuild does not support it.
1112
config WIFI_NRF70

samples/matter/light_switch/Kconfig.sysbuild

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
#
66

77
config PARTITION_MANAGER
8-
default n if SOC_SERIES_NRF52X || SOC_NRF54L10 || SOC_NRF54L15 || SOC_NRF54LM20A
8+
default n if (SOC_SERIES_NRF52X || SOC_NRF54L10 || SOC_NRF54L15 || SOC_NRF54LM20A) && \
9+
!BOARD_IS_NON_SECURE
910

1011
# This config has to be enabled manually for variants with shields, because sysbuild does not support it.
1112
config WIFI_NRF70

samples/matter/lock/Kconfig.sysbuild

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
#
66

77
config PARTITION_MANAGER
8-
default n if SOC_SERIES_NRF52X || SOC_NRF54L10 || SOC_NRF54L15 || SOC_NRF54LM20A
8+
default n if (SOC_SERIES_NRF52X || SOC_NRF54L10 || SOC_NRF54L15 || SOC_NRF54LM20A) && \
9+
!BOARD_IS_NON_SECURE
910

1011
# This config has to be enabled manually for variants with shields, because sysbuild does not support it.
1112
config WIFI_NRF70

samples/matter/manufacturer_specific/Kconfig.sysbuild

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
#
66

77
config PARTITION_MANAGER
8-
default n if SOC_SERIES_NRF52X || SOC_NRF54L10 || SOC_NRF54L15 || SOC_NRF54LM20A
8+
default n if (SOC_SERIES_NRF52X || SOC_NRF54L10 || SOC_NRF54L15 || SOC_NRF54LM20A) && \
9+
!BOARD_IS_NON_SECURE
910

1011
# This config has to be enabled manually for variants with shields, because sysbuild does not support it.
1112
config WIFI_NRF70

samples/matter/smoke_co_alarm/Kconfig.sysbuild

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
#
66

77
config PARTITION_MANAGER
8-
default n if SOC_SERIES_NRF52X || SOC_NRF54L10 || SOC_NRF54L15 || SOC_NRF54LM20A
8+
default n if (SOC_SERIES_NRF52X || SOC_NRF54L10 || SOC_NRF54L15 || SOC_NRF54LM20A) && \
9+
!BOARD_IS_NON_SECURE
910

1011
#### Radio core selection
1112
config NRF_DEFAULT_IPC_RADIO

samples/matter/temperature_sensor/Kconfig.sysbuild

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
#
66

77
config PARTITION_MANAGER
8-
default n if SOC_SERIES_NRF52X || SOC_NRF54L10 || SOC_NRF54L15 || SOC_NRF54LM20A
8+
default n if (SOC_SERIES_NRF52X || SOC_NRF54L10 || SOC_NRF54L15 || SOC_NRF54LM20A) && \
9+
!BOARD_IS_NON_SECURE
910

1011
#### Radio core selection
1112
config NRF_DEFAULT_IPC_RADIO

samples/matter/template/Kconfig.sysbuild

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
#
66

77
config PARTITION_MANAGER
8-
default n if SOC_SERIES_NRF52X || SOC_NRF54L10 || SOC_NRF54L15 || SOC_NRF54LM20A
8+
default n if (SOC_SERIES_NRF52X || SOC_NRF54L10 || SOC_NRF54L15 || SOC_NRF54LM20A) && \
9+
!BOARD_IS_NON_SECURE
910

1011
# This config has to be enabled manually for variants with shields, because sysbuild does not support it.
1112
config WIFI_NRF70

samples/matter/thermostat/Kconfig.sysbuild

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
#
66

77
config PARTITION_MANAGER
8-
default n if SOC_SERIES_NRF52X || SOC_NRF54L10 || SOC_NRF54L15 || SOC_NRF54LM20A
8+
default n if (SOC_SERIES_NRF52X || SOC_NRF54L10 || SOC_NRF54L15 || SOC_NRF54LM20A) && \
9+
!BOARD_IS_NON_SECURE
910

1011
# This config has to be enabled manually for variants with shields, because sysbuild does not support it.
1112
config WIFI_NRF70

0 commit comments

Comments
 (0)