Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5310

SDK • Re: How can I avoid warnings... "CYW43_LWIP" redefined

$
0
0
It looks like there's something "interesting" going on in your project. It appears as if CYW43_LWIP is set more than once on the command line which should never be the case.

It's only set by the following "_header" libraries

pico_cyw43_arch_lwip_poll
pico_cyw43_arch_lwip_threadsafe_background
pico_cyw43_arch_lwip_sys_freertos
pico_cyw43_arch_none

You should only link to one of these libraries. My guess is that you are linking to pico_cyw43_arch_lwip_threadsafe_background and pico_cyw43_arch_none (or the "_header" versions of these libraries). They are both the same EXCEPT that you would only link to pico_cyw43_arch_none when you don't want lwip.

Can you check that you are not linking to both pico_cyw43_arch_lwip_threadsafe_background and pico_cyw43_arch_none?

Statistics: Posted by peterharperuk — Tue Dec 03, 2024 10:27 am



Viewing all articles
Browse latest Browse all 5310

Trending Articles