From b27c0f4bda95f73ba83af0ff84665509f8af2f19 Mon Sep 17 00:00:00 2001 From: Andrzej Kaczmarek Date: Mon, 18 Dec 2017 12:17:40 +0100 Subject: [PATCH] [wip] temporary fixes for controller build This should be fixed in upstream. --- nimble/controller/src/ble_ll.c | 6 +++--- nimble/controller/src/ble_ll_adv.c | 1 - nimble/controller/src/ble_ll_conn.c | 1 - nimble/controller/src/ble_ll_scan.c | 1 - nimble/drivers/nrf52/src/ble_phy.c | 2 +- 5 files changed, 4 insertions(+), 7 deletions(-) diff --git a/nimble/controller/src/ble_ll.c b/nimble/controller/src/ble_ll.c index 81fccc778..04c3239e1 100644 --- a/nimble/controller/src/ble_ll.c +++ b/nimble/controller/src/ble_ll.c @@ -1460,9 +1460,9 @@ ble_ll_init(void) lldata->ll_supp_features = features; /* Initialize the LL task */ - os_task_init(&g_ble_ll_task, "ble_ll", ble_ll_task, NULL, - MYNEWT_VAL(BLE_LL_PRIO), OS_WAIT_FOREVER, g_ble_ll_stack, - BLE_LL_STACK_SIZE); +// os_task_init(&g_ble_ll_task, "ble_ll", ble_ll_task, NULL, +// MYNEWT_VAL(BLE_LL_PRIO), OS_WAIT_FOREVER, g_ble_ll_stack, +// BLE_LL_STACK_SIZE); rc = stats_init_and_reg(STATS_HDR(ble_ll_stats), STATS_SIZE_INIT_PARMS(ble_ll_stats, STATS_SIZE_32), diff --git a/nimble/controller/src/ble_ll_adv.c b/nimble/controller/src/ble_ll_adv.c index e362a32d5..5ab08996f 100644 --- a/nimble/controller/src/ble_ll_adv.c +++ b/nimble/controller/src/ble_ll_adv.c @@ -38,7 +38,6 @@ #include "controller/ble_ll_whitelist.h" #include "controller/ble_ll_resolv.h" #include "ble_ll_conn_priv.h" -#include "hal/hal_gpio.h" /* XXX: TODO * 1) Need to look at advertising and scan request PDUs. Do I allocate these diff --git a/nimble/controller/src/ble_ll_conn.c b/nimble/controller/src/ble_ll_conn.c index 0901352df..9d7fe1534 100644 --- a/nimble/controller/src/ble_ll_conn.c +++ b/nimble/controller/src/ble_ll_conn.c @@ -40,7 +40,6 @@ #include "controller/ble_phy.h" #include "controller/ble_hw.h" #include "ble_ll_conn_priv.h" -#include "hal/hal_gpio.h" #if (BLETEST_THROUGHPUT_TEST == 1) extern void bletest_completed_pkt(uint16_t handle); diff --git a/nimble/controller/src/ble_ll_scan.c b/nimble/controller/src/ble_ll_scan.c index c3ac7feed..adbd719be 100644 --- a/nimble/controller/src/ble_ll_scan.c +++ b/nimble/controller/src/ble_ll_scan.c @@ -39,7 +39,6 @@ #include "controller/ble_ll_resolv.h" #include "controller/ble_ll_xcvr.h" #include "ble_ll_conn_priv.h" -#include "hal/hal_gpio.h" /* * XXX: diff --git a/nimble/drivers/nrf52/src/ble_phy.c b/nimble/drivers/nrf52/src/ble_phy.c index 690bbd79f..d74425070 100644 --- a/nimble/drivers/nrf52/src/ble_phy.c +++ b/nimble/drivers/nrf52/src/ble_phy.c @@ -24,7 +24,7 @@ #include "os/os.h" #include "ble/xcvr.h" #include "bsp/cmsis_nvic.h" -#include "hal/hal_gpio.h" +// XXX #include "hal/hal_gpio.h" #include "nimble/ble.h" #include "nimble/nimble_opt.h" #include "controller/ble_phy.h"