From 1118fe21fe2f79d1116aaeb38d873855054205be Mon Sep 17 00:00:00 2001 From: Andrzej Kaczmarek Date: Thu, 3 Mar 2022 18:08:26 +0100 Subject: [PATCH] apps/blehci: Update configuration for new transport Dependency to nimble/controller is not needed since blehci can now run on both app (as a bridge to net core) and net core. For non-netcore build we select UART by default, otherwise keep whatever default was set by BSP. --- apps/blehci/pkg.yml | 1 - apps/blehci/syscfg.yml | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/blehci/pkg.yml b/apps/blehci/pkg.yml index 2c63a0491..e385d7da5 100644 --- a/apps/blehci/pkg.yml +++ b/apps/blehci/pkg.yml @@ -27,7 +27,6 @@ pkg.deps: - "@apache-mynewt-core/sys/log/stub" - "@apache-mynewt-core/sys/stats/full" - "@apache-mynewt-core/kernel/os" - - nimble/controller - nimble/transport pkg.req_apis: diff --git a/apps/blehci/syscfg.yml b/apps/blehci/syscfg.yml index ee806237f..ec20e6896 100644 --- a/apps/blehci/syscfg.yml +++ b/apps/blehci/syscfg.yml @@ -19,7 +19,9 @@ syscfg.vals: # Default task settings OS_MAIN_STACK_SIZE: 64 - # Use UART transport by default - BLE_HCI_TRANSPORT: uart # Stub console CONSOLE_MODE: stub + +syscfg.vals.'!BLE_TRANSPORT_NETCORE': + # Use UART by default if not built on netcore + BLE_TRANSPORT_HS: uart