You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2022/01/17 08:17:46 UTC
[mynewt-core] branch master updated: hw/ipc_nrf5340: Adjust default number of enabled channels
This is an automated email from the ASF dual-hosted git repository.
janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push:
new 1d7816f hw/ipc_nrf5340: Adjust default number of enabled channels
1d7816f is described below
commit 1d7816f73634b37b80d458d8a184ff0f730b28a5
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Wed Jan 12 14:52:30 2022 +0100
hw/ipc_nrf5340: Adjust default number of enabled channels
Increase default on Application core to 5 to cover "default" BLE
usecase: 2x for HCI, 2x for Virtual Flash and 1x for Keep Alive.
Increase default on Network core to 16 (max) since on that core only
"struct ipc_channel" is kept in RAM (rest is on Application core) and
true number of channels is read from AppCore IPC config in runtime.
---
hw/drivers/ipc_nrf5340/syscfg.yml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/hw/drivers/ipc_nrf5340/syscfg.yml b/hw/drivers/ipc_nrf5340/syscfg.yml
index 9d9f76f..20e99d3 100644
--- a/hw/drivers/ipc_nrf5340/syscfg.yml
+++ b/hw/drivers/ipc_nrf5340/syscfg.yml
@@ -20,7 +20,7 @@ syscfg.defs:
IPC_NRF5340_CHANNELS:
description: >
Number of enabled IPC channels
- value: 2
+ value: 5
range: 1..16
IPC_NRF5340_BUF_SZ:
@@ -61,3 +61,6 @@ syscfg.defs:
syscfg.restrictions:
- "!BSP_NRF5340 || BSP_NRF5340_NET_ENABLE"
+
+syscfg.vals.BSP_NRF5340_NET:
+ IPC_NRF5340_CHANNELS: 16