I got my empty project to compile with pico_cyw43_arch_none by adding pico_stdlib as a second library.
The next step is using pico_cyw43_arch_lwip_poll (instead of ...arch_none). This seems to require adding to the include path so the LWIP library can #include my user-supplied "lwipopts.h".
But I now get the error
..."pico-sdk/lib/lwip/src/include/lwip/sys.h:95:10: fatal error: arch/sys_arch.h: No such file or directory"
It's being included from LWIP, so I would have expected that the target_link_libraries() line would have taken care of it.
'find' finds four such headers in pico-sdk:
The next step is using pico_cyw43_arch_lwip_poll (instead of ...arch_none). This seems to require adding to the include path so the LWIP library can #include my user-supplied "lwipopts.h".
But I now get the error
..."pico-sdk/lib/lwip/src/include/lwip/sys.h:95:10: fatal error: arch/sys_arch.h: No such file or directory"
It's being included from LWIP, so I would have expected that the target_link_libraries() line would have taken care of it.
'find' finds four such headers in pico-sdk:
- * pico-sdk/lib/lwip/contrib/ports/freertos/include/arch/sys_arch.h
* pico-sdk/lib/lwip/contrib/ports/unix/port/include/arch/sys_arch.h
* pico-sdk/lib/lwip/contrib/ports/win32/include/arch/sys_arch.h
* pico-sdk/lib/lwip/test/unit/arch/sys_arch.h
Statistics: Posted by Eric Buddington — Mon Dec 16, 2024 7:43 pm