Unable to build pico_cyw43_arch with CYW43_LWIP=0
I'm trying to build an application which reads and writes raw packets over Wifi. I build with library pico_cyw43_arch_poll and define CYW43_LWIP=0 so there will be no IP stack present.
cyw43_arch_wifi_connect_bssid_until() calls cyw43_tcpip_link_status() to check if link has been established but cyw43_tcpip_link_status() is only compiled if CYW43_LWIP=1
Seems like cyw43_tcpip_link_status() should be a weak definition which just calls cyw43_wifi_link_status() like the other cyw43_tcpip_... routines in cyw43_driver.c
John.
The driver could probably do better here. The other functions start with cyw43_cb* and the docs make it clear that they "must be provided by the network stack interface". It might be better to fix the issue there rather than just work around the issue in the SDK.
ping @dpgeorge