-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
applications: matter-ble bridge over Thread
- create support for nrf5340 for Thread, in matter-bridge application. - create support for nrf54h20 for Thread. - create .conf files to maximize BLE connections. - update sample.yaml. - update documentation. Signed-off-by: Konrad Grucel <konrad.grucel@nordicsemi.no>
- Loading branch information
1 parent
a64c695
commit 3ed6390
Showing
12 changed files
with
277 additions
and
96 deletions.
There are no files selected for viewing
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
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
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
25 changes: 25 additions & 0 deletions
25
applications/matter_bridge/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,25 @@ | ||
# | ||
# Copyright (c) 2023 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
# Set 10 BLE connections, as it is an upper limit supported caused by RAM usage due to using Thread and BLE at same time. | ||
CONFIG_BT_MAX_CONN=10 | ||
|
||
# Set buffer sizes in a consistent way with the ones used by the network core. | ||
#id if oncomment it there is an error that rx buffer is out of range (minimal value is 69) | ||
CONFIG_BT_BUF_ACL_RX_SIZE=69 | ||
CONFIG_BT_BUF_ACL_TX_SIZE=69 | ||
|
||
# Set MTU size to fit in the single buffer and avoid fragmentation (BUF_SIZE = MTU_SIZE + 4 B of L2CAP header). | ||
CONFIG_BT_L2CAP_TX_MTU=65 | ||
|
||
# Set max number of bridged BLE devices, which is CONFIG_BT_MAX_CONN-1, as 1 connection is reserved for Matter. | ||
CONFIG_BRIDGE_MAX_BRIDGED_DEVICES_NUMBER=9 | ||
CONFIG_BT_MAX_PAIRED=9 | ||
|
||
# Assume that every bridged device uses 2 endpoints, however it can be increased if specific use case requires it. | ||
CONFIG_BRIDGE_MAX_DYNAMIC_ENDPOINTS_NUMBER=18 | ||
# 15.4 RX buffers were decreased to save RAM | ||
CONFIG_NRF_802154_RX_BUFFERS=14 |
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
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
80 changes: 80 additions & 0 deletions
80
applications/matter_bridge/pm_static_nrf5340dk_nrf5340_cpuapp_nrf70ek.yml
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,80 @@ | ||
mcuboot: | ||
address: 0x0 | ||
size: 0x8000 | ||
region: flash_primary | ||
mcuboot_pad: | ||
address: 0x8000 | ||
size: 0x200 | ||
app: | ||
address: 0x8200 | ||
size: 0xeee00 | ||
mcuboot_primary: | ||
orig_span: &id001 | ||
- mcuboot_pad | ||
- app | ||
span: *id001 | ||
address: 0x8000 | ||
size: 0xef000 | ||
region: flash_primary | ||
mcuboot_primary_app: | ||
orig_span: &id002 | ||
- app | ||
span: *id002 | ||
address: 0x8200 | ||
size: 0xeee00 | ||
factory_data: | ||
address: 0xf7000 | ||
size: 0x1000 | ||
region: flash_primary | ||
settings_storage: | ||
address: 0xf8000 | ||
size: 0x8000 | ||
region: flash_primary | ||
mcuboot_primary_1: | ||
address: 0x0 | ||
size: 0x40000 | ||
device: flash_ctrl | ||
region: ram_flash | ||
mcuboot_secondary: | ||
address: 0x0 | ||
size: 0xef000 | ||
device: MX25R64 | ||
region: external_flash | ||
mcuboot_secondary_1: | ||
address: 0xef000 | ||
size: 0x40000 | ||
device: MX25R64 | ||
region: external_flash | ||
nrf70_wifi_fw_mcuboot_pad: | ||
address: 0x12F000 | ||
size: 0x200 | ||
device: MX25R64 | ||
region: external_flash | ||
nrf70_wifi_fw: | ||
address: 0x12F200 | ||
size: 0x20000 | ||
device: MX25R64 | ||
region: external_flash | ||
mcuboot_primary_2: | ||
orig_span: &id003 | ||
- nrf70_wifi_fw_mcuboot_pad | ||
- nrf70_wifi_fw | ||
span: *id003 | ||
address: 0x12F000 | ||
size: 0x21000 | ||
device: MX25R64 | ||
region: external_flash | ||
mcuboot_secondary_2: | ||
address: 0x150000 | ||
size: 0x21000 | ||
device: MX25R64 | ||
region: external_flash | ||
external_flash: | ||
address: 0x171000 | ||
size: 0x68F000 | ||
device: MX25R64 | ||
region: external_flash | ||
pcd_sram: | ||
address: 0x20000000 | ||
size: 0x2000 | ||
region: sram_primary |
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
Oops, something went wrong.