You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2022/03/17 12:35:45 UTC
[mynewt-core] 03/04: hw/bsp: Add BLE_TRANSPORT_NETCORE to nRF53 and CMAC
This is an automated email from the ASF dual-hosted git repository.
andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
commit 29056339577d5cd8fd3645e06a37575b940d3fb6
Author: Andrzej Kaczmarek <an...@codecoup.pl>
AuthorDate: Mon Mar 14 10:14:29 2022 +0100
hw/bsp: Add BLE_TRANSPORT_NETCORE to nRF53 and CMAC
BLE_TRANSPORT_NETCORE is defined so we can add some configuration while
building specifically on netcore, e.g. selecting default transport for
blehci.
---
hw/bsp/dialog_cmac/syscfg.yml | 4 +++-
hw/bsp/nordic_pca10095_net/syscfg.yml | 2 ++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/hw/bsp/dialog_cmac/syscfg.yml b/hw/bsp/dialog_cmac/syscfg.yml
index 01c10bb..76d6be2 100644
--- a/hw/bsp/dialog_cmac/syscfg.yml
+++ b/hw/bsp/dialog_cmac/syscfg.yml
@@ -17,11 +17,13 @@
# under the License.
#
+syscfg.defs:
+ BLE_TRANSPORT_NETCORE: 1
+
syscfg.vals:
MSYS_1_BLOCK_SIZE: 308
OS_CPUTIME_FREQ: 31250
BLE_TRANSPORT_HS: dialog_cmac
- BLE_TRANSPORT_LL: native
# CMAC can only run NimBLE controller
syscfg.restrictions:
diff --git a/hw/bsp/nordic_pca10095_net/syscfg.yml b/hw/bsp/nordic_pca10095_net/syscfg.yml
index b2abdc3..f891667 100644
--- a/hw/bsp/nordic_pca10095_net/syscfg.yml
+++ b/hw/bsp/nordic_pca10095_net/syscfg.yml
@@ -17,6 +17,8 @@
#
syscfg.defs:
+ BLE_TRANSPORT_NETCORE: 1
+
BSP_NRF5340_NET:
description: 'Set to indicate that BSP has NRF5340 NET'
value: 1