You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ut...@apache.org on 2020/01/31 09:41:54 UTC
[mynewt-core] 01/02: sensors_test: don't add BLE transport when
disabled
This is an automated email from the ASF dual-hosted git repository.
utzig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
commit 9f1729e194e627c642d7878156a21a9dea546bd3
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Thu Jan 30 10:52:40 2020 -0300
sensors_test: don't add BLE transport when disabled
When `SENSOR_BLE` syscfg is unset Nimble is not included in build, but
smp was still adding BLE as transport resulting in a build failure; so
this removes the BLE transport package as well.
Signed-off-by: Fabio Utzig <ut...@apache.org>
---
apps/sensors_test/pkg.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/sensors_test/pkg.yml b/apps/sensors_test/pkg.yml
index ef8b9a3..8dad8ac 100644
--- a/apps/sensors_test/pkg.yml
+++ b/apps/sensors_test/pkg.yml
@@ -34,7 +34,6 @@ pkg.deps:
- "@apache-mynewt-core/sys/stats/full"
- "@apache-mynewt-core/hw/sensor/creator"
- "@apache-mynewt-core/sys/reboot"
- - "@apache-mynewt-core/mgmt/smp/transport/ble"
- "@apache-mynewt-core/sys/id"
- "@apache-mynewt-core/mgmt/imgmgr"
- "@apache-mynewt-core/test/flash_test"
@@ -44,6 +43,7 @@ pkg.deps.SENSOR_OIC:
#- mgmt/oicmgr
pkg.deps.SENSOR_BLE:
+ - "@apache-mynewt-core/mgmt/smp/transport/ble"
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/services/gap"
- "@apache-mynewt-nimble/nimble/host/services/gatt"