Open tomosnelli opened 1 month ago
What happens if you put the the following lines into main just after the stdio_init_all() and remove the cyw43_arch_deinit call from the vTaskBlink function?
In my code I only init the cyw43 driver once in the main function and I never touch it again.
int main()
{
stdio_init_all();
if( cyw43_arch_init() )
{
printf("Failed to run cyw43_arch_init");
}
...
Currently working on project that uses pico_cyw43_arch_lwip_sys_freertos library. Upon calling cyw43_arch_init within a FreeRTOS task, cyw43_arch_init ever exists and gets stuck in an infinite loop on line 59 ~ 60 at function multicore_fifo_pop_blocking_inline() in file pico-sdk/src/rp2_common/pico_multicore/multicore.c.
Apologies if this is an already known issue or is a config error.
I'll post my main program along with the config files for further inspection.
pico_w_freertos_ble.c
CMakeList.txt
FreeRTOSConfig.h
btstack_config.h
lwipopts.h