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

SDK • Re: How to add PicoW wifi to an existing Pico project

$
0
0
I have managed to add wifi to my project. I started with the access point example, and added the CMake information, checking it built at each stage. There was nothing hugely difficult. Running from RAM to overclock wasn't possible as there wasn't enough RAM, but I didn't really need to overclock so removed that.
I then renamed the main() in the example, adjusted it and called some of my work functions in that wifi_main(). The main() calls the wifi main and it all works.

There was a small typo in the documentation:

Code:

along with the lwipopts.h file needed by the lwIP stack.$ cp ../pico-examples/pico_w/lwipopts_examples_common.h lwipopts.hYou should now have something that looks like this,
An extra 'wifi' is needed after the pico_w, I think...
All I have to do now is flesh out the html pages.

Statistics: Posted by amenjet — Mon Dec 25, 2023 7:13 am



Viewing all articles
Browse latest Browse all 5359

Trending Articles