I'm running btstack from the pico-sdk in a freertos task, setting up handlers etc but not using a timer. I can't use btstack_run_loop_execute as it blocks and when I use:
The other task that blinks an LED stops. The pico examples don't have anything for bt/freertos that sends data so it's not clear what to do.
The freertos in pico-examples/pico_w/bt doesn't use hci_power_control(HCI_POWER_ON);
The code running in the task is the same as the code that works without freertos. In this case it's just running in a task.
Code:
hci_power_control(HCI_POWER_ON);The freertos in pico-examples/pico_w/bt doesn't use hci_power_control(HCI_POWER_ON);
The code running in the task is the same as the code that works without freertos. In this case it's just running in a task.
Statistics: Posted by codebrane — Sat Jun 07, 2025 1:27 pm