Skip to content

Commit 9397a22

Browse files
ArekBalysNordicrlubos
authored andcommitted
samples: matter: Fix WiFi release build by disabling RAM PWRDWN
We must disable RAM powerdown library due to wrong WiFi configuration. It selects COMMON_LIBC_MALLOC which cannot be enabled together with RAM_POWER_DOWN_LIBRARY. Signed-off-by: Arkadiusz Balys <[email protected]>
1 parent f64785d commit 9397a22

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#
2+
# Copyright (c) 2024 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Do not enable RAM power-down library for nRF7002 DK due to incompatible WiFi configuration.
8+
CONFIG_RAM_POWER_DOWN_LIBRARY=n
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#
2+
# Copyright (c) 2024 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Do not enable RAM power-down library for nRF7002 DK due to incompatible WiFi configuration.
8+
CONFIG_RAM_POWER_DOWN_LIBRARY=n
9+
10+
# Enable LTO to decrease the flash usage.
11+
CONFIG_LTO=y
12+
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y

samples/matter/lock/prj_thread_wifi_switched.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,6 @@ CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
5656
# Enforce the use of mbedTLS crypto backend instead of PSA Crypto by
5757
# building OpenThread from sources. Wi-Fi stack does not support PSA Crypto yet.
5858
CONFIG_OPENTHREAD_SOURCES=y
59+
60+
# Do not enable RAM power-down library for nRF7002 DK due to incompatible WiFi configuration.
61+
CONFIG_RAM_POWER_DOWN_LIBRARY=n

0 commit comments

Comments
 (0)