You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by je...@apache.org on 2019/09/25 13:24:18 UTC
[mynewt-core] branch master updated (b6efe5f -> ed73080)
This is an automated email from the ASF dual-hosted git repository.
jerzy pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git.
from b6efe5f sensors: Fix out of range access in bma253 and bma2xx
new 4b2789e ble apps: Remove dependency on nimble controller
new ed73080 ble apps: Remove unneeded include directives
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
apps/bleprph_oic/pkg.yml | 3 +--
apps/bleuart/pkg.yml | 3 +--
apps/bleuart/src/main.c | 4 ----
apps/bsncent/pkg.yml | 3 +--
apps/bsncent/src/main.c | 4 ----
apps/bsnprph/pkg.yml | 3 +--
apps/ocf_sample/pkg.yml | 3 +--
apps/sensors_test/pkg.yml | 3 +--
apps/testbench/pkg.yml | 3 +--
9 files changed, 7 insertions(+), 22 deletions(-)
[mynewt-core] 02/02: ble apps: Remove unneeded include directives
Posted by je...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
commit ed7308099a35272b7b8969be7f50269af7189d99
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Wed Sep 25 14:33:23 2019 +0200
ble apps: Remove unneeded include directives
Direct include files are not needed and cause build error
in non-transport/ram builds
---
apps/bleuart/src/main.c | 4 ----
apps/bsncent/src/main.c | 4 ----
2 files changed, 8 deletions(-)
diff --git a/apps/bleuart/src/main.c b/apps/bleuart/src/main.c
index d9b5d88..be644a5 100644
--- a/apps/bleuart/src/main.c
+++ b/apps/bleuart/src/main.c
@@ -36,10 +36,6 @@
#include "host/ble_gatt.h"
#include "host/ble_l2cap.h"
#include "host/ble_sm.h"
-#include "controller/ble_ll.h"
-
-/* RAM HCI transport. */
-#include "transport/ram/ble_hci_ram.h"
/* Mandatory services. */
#include "services/gap/ble_svc_gap.h"
diff --git a/apps/bsncent/src/main.c b/apps/bsncent/src/main.c
index bb57572..00b9aea 100644
--- a/apps/bsncent/src/main.c
+++ b/apps/bsncent/src/main.c
@@ -25,12 +25,8 @@
/* BLE */
#include "nimble/ble.h"
-#include "controller/ble_ll.h"
#include "host/ble_hs.h"
-/* RAM HCI transport. */
-#include "transport/ram/ble_hci_ram.h"
-
/* Mandatory services. */
#include "services/gap/ble_svc_gap.h"
#include "services/gatt/ble_svc_gatt.h"
[mynewt-core] 01/02: ble apps: Remove dependency on nimble
controller
Posted by je...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
commit 4b2789e4c6c7349ec8d6747c3a52325e2c3f4456
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Wed Sep 25 12:55:06 2019 +0200
ble apps: Remove dependency on nimble controller
Correct way to include controller is to include
@apache-mynewt-nimble/nimble/transport
it will default to ram transport, but other transports
can also be specified in syscfg.
---
apps/bleprph_oic/pkg.yml | 3 +--
apps/bleuart/pkg.yml | 3 +--
apps/bsncent/pkg.yml | 3 +--
apps/bsnprph/pkg.yml | 3 +--
apps/ocf_sample/pkg.yml | 3 +--
apps/sensors_test/pkg.yml | 3 +--
apps/testbench/pkg.yml | 3 +--
7 files changed, 7 insertions(+), 14 deletions(-)
diff --git a/apps/bleprph_oic/pkg.yml b/apps/bleprph_oic/pkg.yml
index 0676fa9..b606fcd 100644
--- a/apps/bleprph_oic/pkg.yml
+++ b/apps/bleprph_oic/pkg.yml
@@ -25,12 +25,11 @@ pkg.keywords:
pkg.deps:
- "@mcuboot/boot/bootutil"
- "@apache-mynewt-core/kernel/os"
- - "@apache-mynewt-nimble/nimble/controller"
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/services/gap"
- "@apache-mynewt-nimble/nimble/host/services/gatt"
- "@apache-mynewt-nimble/nimble/host/store/ram"
- - "@apache-mynewt-nimble/nimble/transport/ram"
+ - "@apache-mynewt-nimble/nimble/transport"
- "@apache-mynewt-core/sys/console/full"
- "@apache-mynewt-core/sys/log/full"
- "@apache-mynewt-core/sys/log/modlog"
diff --git a/apps/bleuart/pkg.yml b/apps/bleuart/pkg.yml
index bdec1fe..98eac4f 100644
--- a/apps/bleuart/pkg.yml
+++ b/apps/bleuart/pkg.yml
@@ -25,12 +25,11 @@ pkg.keywords:
pkg.deps:
- "@mcuboot/boot/bootutil"
- "@apache-mynewt-core/kernel/os"
- - "@apache-mynewt-nimble/nimble/controller"
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/services/gap"
- "@apache-mynewt-nimble/nimble/host/services/gatt"
- "@apache-mynewt-nimble/nimble/host/store/ram"
- - "@apache-mynewt-nimble/nimble/transport/ram"
+ - "@apache-mynewt-nimble/nimble/transport"
- "@apache-mynewt-core/sys/console/full"
- "@apache-mynewt-core/sys/log/full"
- "@apache-mynewt-core/sys/log/modlog"
diff --git a/apps/bsncent/pkg.yml b/apps/bsncent/pkg.yml
index 28748c2..db7d47d 100644
--- a/apps/bsncent/pkg.yml
+++ b/apps/bsncent/pkg.yml
@@ -24,12 +24,11 @@ pkg.keywords:
pkg.deps:
- "@apache-mynewt-core/kernel/os"
- - "@apache-mynewt-nimble/nimble/controller"
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/services/gap"
- "@apache-mynewt-nimble/nimble/host/services/gatt"
- "@apache-mynewt-nimble/nimble/host/store/ram"
- - "@apache-mynewt-nimble/nimble/transport/ram"
+ - "@apache-mynewt-nimble/nimble/transport"
- "@apache-mynewt-core/sys/console/full"
- "@apache-mynewt-core/sys/log/full"
- "@apache-mynewt-core/sys/log/modlog"
diff --git a/apps/bsnprph/pkg.yml b/apps/bsnprph/pkg.yml
index 2376736..b1ab9a9 100644
--- a/apps/bsnprph/pkg.yml
+++ b/apps/bsnprph/pkg.yml
@@ -29,13 +29,12 @@ pkg.deps:
- "@apache-mynewt-core/mgmt/imgmgr"
- "@apache-mynewt-core/mgmt/newtmgr"
- "@apache-mynewt-core/mgmt/newtmgr/transport/ble"
- - "@apache-mynewt-nimble/nimble/controller"
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/services/ans"
- "@apache-mynewt-nimble/nimble/host/services/gap"
- "@apache-mynewt-nimble/nimble/host/services/gatt"
- "@apache-mynewt-nimble/nimble/host/store/ram"
- - "@apache-mynewt-nimble/nimble/transport/ram"
+ - "@apache-mynewt-nimble/nimble/transport"
- "@apache-mynewt-core/sys/console/full"
- "@apache-mynewt-core/sys/log/full"
- "@apache-mynewt-core/sys/log/modlog"
diff --git a/apps/ocf_sample/pkg.yml b/apps/ocf_sample/pkg.yml
index dc6c7eb..05775a8 100644
--- a/apps/ocf_sample/pkg.yml
+++ b/apps/ocf_sample/pkg.yml
@@ -37,7 +37,6 @@ pkg.deps.OC_TRANSPORT_SERIAL:
- "@apache-mynewt-core/sys/shell"
pkg.deps.OC_TRANSPORT_GATT:
- - "@apache-mynewt-nimble/nimble/controller"
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/store/ram"
- - "@apache-mynewt-nimble/nimble/transport/ram"
+ - "@apache-mynewt-nimble/nimble/transport"
diff --git a/apps/sensors_test/pkg.yml b/apps/sensors_test/pkg.yml
index eb60155..f3006a0 100644
--- a/apps/sensors_test/pkg.yml
+++ b/apps/sensors_test/pkg.yml
@@ -44,12 +44,11 @@ pkg.deps.SENSOR_OIC:
#- mgmt/oicmgr
pkg.deps.SENSOR_BLE:
- - "@apache-mynewt-nimble/nimble/controller"
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/services/gap"
- "@apache-mynewt-nimble/nimble/host/services/gatt"
- "@apache-mynewt-nimble/nimble/host/store/ram"
- - "@apache-mynewt-nimble/nimble/transport/ram"
+ - "@apache-mynewt-nimble/nimble/transport"
pkg.deps.CONFIG_NFFS:
- "@apache-mynewt-core/fs/nffs"
diff --git a/apps/testbench/pkg.yml b/apps/testbench/pkg.yml
index 6141dfc..79f0ff8 100644
--- a/apps/testbench/pkg.yml
+++ b/apps/testbench/pkg.yml
@@ -44,10 +44,9 @@ pkg.deps:
- "@apache-mynewt-core/util/cbmem/hosttest"
pkg.deps.TESTBENCH_BLE:
- - "@apache-mynewt-nimble/nimble/controller"
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/services/gap"
- "@apache-mynewt-nimble/nimble/host/services/gatt"
- "@apache-mynewt-nimble/nimble/host/store/ram"
- "@apache-mynewt-nimble/nimble/host/util"
- - "@apache-mynewt-nimble/nimble/transport/ram"
+ - "@apache-mynewt-nimble/nimble/transport"