mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-07 19:01:06 +00:00
hci_dump: nrf5x
This commit is contained in:
parent
34c8f786e4
commit
8636a61217
@ -34,6 +34,7 @@
|
||||
#include "btstack_run_loop_embedded.h"
|
||||
#include "hci_transport.h"
|
||||
#include "hci_dump.h"
|
||||
#include "hci_dump_embedded_stdout.h"
|
||||
#include "hal_cpu.h"
|
||||
#include "hal_time_ms.h"
|
||||
|
||||
@ -584,8 +585,8 @@ int main(void)
|
||||
// init HCI
|
||||
hci_init(&hci_transport, NULL);
|
||||
|
||||
// enable full log output while porting
|
||||
// hci_dump_open(NULL, HCI_DUMP_STDOUT);
|
||||
// uncomment for packet log
|
||||
// hci_dump_init(hci_dump_embedded_stdout_get_instance());
|
||||
|
||||
// hand over to btstack embedded code
|
||||
btstack_main();
|
||||
|
@ -73,6 +73,7 @@ BTSTACK_ROOT ?= ../../../../../components/btstack
|
||||
C_SOURCE_FILES += $(abspath $(BTSTACK_ROOT)/port/nrf5x/main.c)
|
||||
C_SOURCE_FILES += $(abspath $(BTSTACK_ROOT)/port/retarget_blocking.c)
|
||||
C_SOURCE_FILES += $(abspath $(BTSTACK_ROOT)/platform/embedded/btstack_run_loop_embedded.c)
|
||||
C_SOURCE_FILES += $(abspath $(BTSTACK_ROOT)/platform/embedded/hci_dump_embedded_stdout.c)
|
||||
C_SOURCE_FILES += $(abspath $(BTSTACK_ROOT)/src/ad_parser.c)
|
||||
C_SOURCE_FILES += $(abspath $(BTSTACK_ROOT)/src/btstack_linked_list.c)
|
||||
C_SOURCE_FILES += $(abspath $(BTSTACK_ROOT)/src/btstack_memory.c)
|
||||
|
Loading…
Reference in New Issue
Block a user