apps/blehcibridge: Update console selection methode

CONSOLE_MODE syscfg value is now present in mynewt-core package sys/console.
Now blehcibridge uses this way to select console instead of private one.
Variable name stayed the same so there is no need to update targets.
This commit is contained in:
Jerzy Kasenberg
2022-02-18 14:16:10 +01:00
committed by kasjer
parent f3e4de75f2
commit e58e71271b
2 changed files with 3 additions and 16 deletions
+1 -7
View File
@@ -23,6 +23,7 @@ pkg.homepage: "http://mynewt.apache.org/"
pkg.keywords:
pkg.deps:
- "@apache-mynewt-core/sys/console"
- "@apache-mynewt-core/sys/log/stub"
- "@apache-mynewt-core/sys/stats/full"
- "@apache-mynewt-core/kernel/os"
@@ -31,10 +32,3 @@ pkg.deps:
pkg.req_apis:
- ble_transport
pkg.deps.'CONSOLE_MODE=="full"':
- "@apache-mynewt-core/sys/console/full"
pkg.deps.'CONSOLE_MODE=="minimal":
- "@apache-mynewt-core/sys/console/minimal"
pkg.deps.'CONSOLE_MODE=="stub":
- "@apache-mynewt-core/sys/console/stub"
+2 -9
View File
@@ -16,20 +16,13 @@
# under the License.
#
syscfg.defs:
CONSOLE_MODE:
description: Which console to use
value: stub
choices:
- full
- minimal
- stub
syscfg.vals:
# Default task settings
OS_MAIN_STACK_SIZE: 64
# Use USB transport by default
BLE_HCI_TRANSPORT: usb
# Stub console
CONSOLE_MODE: stub
SHELL_TASK: 1