Skip to content

Setting WANT_HCI_DUMP to 1 in CMakeLists.txt target_compile_definitions() doesn't work #1267

@matsobdev

Description

@matsobdev

Just like in the topic. Code below in CMakeLists.txt doesn't make BTstack to dump HCI comms:

target_compile_definitions(picow_bt_example_common INTERFACE
        PICO_STDIO_USB_CONNECT_WAIT_TIMEOUT_MS=3000
        WANT_HCI_DUMP=1 # This enables btstack debug
        #ENABLE_SEGGER_RTT=1
        )

But, defining #define WANT_HCI_DUMP 1 only in btstack_config.txt just works.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions