mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-26 02:37:41 +00:00
hci_dump: nrf5-zephyr
This commit is contained in:
parent
5d255a7a69
commit
34c8f786e4
@ -15,6 +15,7 @@ obj-y += \
|
||||
l2cap.o \
|
||||
l2cap_signaling.o \
|
||||
btstack_run_loop_embedded.o \
|
||||
hci_dump_embedded_stdout.o \
|
||||
|
||||
obj-y += ble/
|
||||
# obj-y += classic/
|
||||
|
@ -27,6 +27,8 @@ rsync -a ../../platform/embedded/hal_time_ms.h ${ZEPHYR_BASE}/subsys/btstack
|
||||
rsync -a ../../platform/embedded/hal_tick.h ${ZEPHYR_BASE}/subsys/btstack
|
||||
rsync -a ../../platform/embedded/btstack_run_loop_embedded.h ${ZEPHYR_BASE}/subsys/btstack
|
||||
rsync -a ../../platform/embedded/btstack_run_loop_embedded.c ${ZEPHYR_BASE}/subsys/btstack
|
||||
rsync -a ../../platform/embedded/hci_dump_embedded_stdout.h ${ZEPHYR_BASE}/subsys/btstack
|
||||
rsync -a ../../platform/embedded/hci_dump_embedded_stdout.c ${ZEPHYR_BASE}/subsys/btstack
|
||||
|
||||
# copy bludroid
|
||||
rsync -a ../../3rd-party/bluedroid ${ZEPHYR_BASE}/subsys/btstack
|
||||
|
@ -41,6 +41,7 @@
|
||||
#include "btstack_run_loop.h"
|
||||
#include "hci.h"
|
||||
#include "hci_dump.h"
|
||||
#include "hci_dump_embedded_stdout.h"
|
||||
#include "hci_transport.h"
|
||||
|
||||
// static struct device *hci_uart_dev;
|
||||
@ -274,7 +275,7 @@ void main(void)
|
||||
btstack_run_loop_init(btstack_run_loop_zephyr_get_instance());
|
||||
|
||||
// enable full log output while porting
|
||||
// hci_dump_open(NULL, HCI_DUMP_STDOUT);
|
||||
// hci_dump_init(hci_dump_embedded_stdout_get_instance());
|
||||
|
||||
// init HCI
|
||||
hci_init(transport_get_instance(), NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user