From cccba2901c73e1ea2211026a1806b978302a361d Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 10 Mar 2021 11:21:35 +0100 Subject: [PATCH] hci_dump: max32630-fthr port --- port/max32630-fthr/example/template/Makefile | 1 + port/max32630-fthr/src/btstack_port.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/port/max32630-fthr/example/template/Makefile b/port/max32630-fthr/example/template/Makefile index eadd4dd8a..dad99c079 100644 --- a/port/max32630-fthr/example/template/Makefile +++ b/port/max32630-fthr/example/template/Makefile @@ -157,6 +157,7 @@ COMMON = \ hci.o \ hci_cmd.o \ hci_dump.o \ + hci_dump_embedded_stdout.o \ btstack_uart_block_embedded.o \ hal_flash_bank_mxc.o \ btstack_audio.o \ diff --git a/port/max32630-fthr/src/btstack_port.c b/port/max32630-fthr/src/btstack_port.c index 9df814e10..e5f07f173 100644 --- a/port/max32630-fthr/src/btstack_port.c +++ b/port/max32630-fthr/src/btstack_port.c @@ -47,6 +47,7 @@ #include "btstack_config.h" #include "btstack_run_loop_embedded.h" #include "btstack_chipset_cc256x.h" +#include "hci_dump_embedded_stdout.h" // BTstack HALs #include "hal_tick.h" @@ -408,7 +409,7 @@ int bluetooth_main(void) btstack_run_loop_init(btstack_run_loop_embedded_get_instance()); // enable packet logger - //hci_dump_open(NULL, HCI_DUMP_STDOUT); + // hci_dump_init(hci_dump_embedded_stdout_get_instance()); /* Init HCI */ const hci_transport_t * transport = hci_transport_h4_instance(btstack_uart_block_embedded_instance());