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.
applications: Align matter_bridge mcuboot configuration
Aligned the matter_bridge MCUboot configuration with other samples. The previous configuration did not fit into the MCUboot partition. Signed-off-by: Rafał Kuźnia <rafal.kuznia@nordicsemi.no>
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
applications/matter_bridge/sysbuild/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.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,28 @@ | ||
# | ||
# Copyright (c) 2023 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
CONFIG_NORDIC_QSPI_NOR=y | ||
CONFIG_NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096 | ||
CONFIG_NORDIC_QSPI_NOR_STACK_WRITE_BUFFER_SIZE=16 | ||
|
||
# The following configurations are required to support simultaneous multi image update | ||
CONFIG_PCD_APP=y | ||
CONFIG_UPDATEABLE_IMAGE_NUMBER=2 | ||
|
||
CONFIG_BOOT_SWAP_USING_MOVE=n | ||
# Multi-image updates do not support image swapping yet. | ||
CONFIG_BOOT_UPGRADE_ONLY=y | ||
|
||
# The network core cannot access external flash directly. The flash simulator must be used to | ||
# provide a memory region that is used to forward the new firmware to the network core. | ||
CONFIG_FLASH_SIMULATOR=y | ||
CONFIG_FLASH_SIMULATOR_DOUBLE_WRITES=y | ||
CONFIG_FLASH_SIMULATOR_STATS=n | ||
|
||
# Enable custom command to erase settings partition. | ||
CONFIG_ENABLE_MGMT_PERUSER=y | ||
CONFIG_ZCBOR=y | ||
CONFIG_BOOT_MGMT_CUSTOM_STORAGE_ERASE=y |
11 changes: 11 additions & 0 deletions
11
applications/matter_bridge/sysbuild/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.overlay
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,11 @@ | ||
/* | ||
* Copyright (c) 2023 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
/ { | ||
chosen { | ||
nordic,pm-ext-flash = &mx25r64; | ||
}; | ||
}; |