Hello,
I’m considering buying the Pico 2 W Plus
My questions are: can it be used with the pico c SDK like a normal Pico with standard wifi support?
I have a project written in c/c++ that works for the pico 2 w vanilla, can I recompile it with maybe some modifications and will it work on the pimoroni one? If I wanted to add psram support, what should I do? Are there any C libraries or do I have to write my own?
Thanks.
With “some modifications” it will certainly work. The Pico2 W Plus uses a different chip (B-variant with more pins than the A-variant), but the SDK will take care of this if you get the definitions right (there is a chip-variant definition btw.).
The last time I checked the chip-variant for the Pico2 W Plus was missing and thus defaulting to the A-variant in the SDK though.
PSRAM adds some additional challenges, you cannot put everything in PSRAM. You should check the "tlsf’ library (e.g. GitHub - espressif/tlsf: This repository contains Espressif patches to TLSF, used in ESP-IDF, but there are many forks). This library allows multiple memory-pools and you can define a e.g. a pool in PSRAM for buffers. But maybe you can find some simple examples somewhere.
Thanks for the explanation, I bought one last week hope today it arrives!😁