forked from nrfconnect/sdk-nrf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information
1 parent
e28af5e
commit e219de6
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
samples/matter/light_switch/boards/nrf7002dk_nrf5340_cpuapp_release.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
# Do not enable RAM power-down library for nRF7002 DK due to incompatible WiFi configuration. | ||
CONFIG_RAM_POWER_DOWN_LIBRARY=n |
12 changes: 12 additions & 0 deletions
12
samples/matter/lock/boards/nrf7002dk_nrf5340_cpuapp_release.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
# Do not enable RAM power-down library for nRF7002 DK due to incompatible WiFi configuration. | ||
CONFIG_RAM_POWER_DOWN_LIBRARY=n | ||
|
||
# Enable LTO to decrease the flash usage. | ||
CONFIG_LTO=y | ||
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters