diff --git a/port/wiced-h4/main.c b/port/wiced-h4/main.c index 87dc80c76..a075a33f7 100644 --- a/port/wiced-h4/main.c +++ b/port/wiced-h4/main.c @@ -42,6 +42,7 @@ #include "btstack_run_loop_wiced.h" #include "btstack_link_key_db_wiced_dct.h" #include "le_device_db_wiced_dct.h" +#incldue "hci_dump_embedded_stdout.h" #include "generated_mac_address.txt" @@ -105,7 +106,7 @@ void application_start(void){ btstack_run_loop_init(btstack_run_loop_wiced_get_instance()); // enable full log output while porting - // hci_dump_open(NULL, HCI_DUMP_STDOUT); + // hci_dump_init(hci_dump_embedded_stdout_get_instance()); // setup le device db storage -- not needed if used LE-only (-> start address == 0) le_device_db_wiced_dct_set_start_address(btstack_link_key_db_wiced_dct_get_storage_size()); diff --git a/port/wiced-h4/wiced-h4.mk b/port/wiced-h4/wiced-h4.mk index ddd644039..4a61cb1f8 100644 --- a/port/wiced-h4/wiced-h4.mk +++ b/port/wiced-h4/wiced-h4.mk @@ -67,6 +67,7 @@ $(NAME)_SOURCES += \ ../../platform/wiced/btstack_stdin_wiced.c \ ../../platform/wiced/btstack_uart_block_wiced.c \ ../../platform/wiced/le_device_db_wiced_dct.c \ + ../../platform/embedded/hci_dump_embedded_stdout.c \ ../../chipset/bcm/btstack_chipset_bcm.c \ ifeq ($(BT_CHIP_XTAL_FREQUENCY),)