pimoroni / pimoroni-pico-rp2350

MicroPython builds for Pimoroni Pico 2 / RP2350 boards.
32 stars 3 forks source link

I need a header file for the Pico Plus 2 W for the Pico SDK #15

Open znmeb opened 3 weeks ago

znmeb commented 3 weeks ago

I don't know if this is the right repo for this issue but it's the only RP2350-specific one I could find. See also issue https://github.com/raspberrypi/pico-sdk/issues/1985.

As you probably know, the Pico SDK has a directory with header files for all the supported boards: https://github.com/raspberrypi/pico-sdk/tree/master/src/boards/include/boards The Pimoroni Pico Plus 2 is there but the Plus 2 W is not. Can you supply a header file in their format for the Pimoroni Pico Plus 2? Thanks!!

Gadgetoid commented 1 week ago

It's in #10 -

https://github.com/pimoroni/pimoroni-pico-rp2350/blob/feature/can-haz-all-the-wireless-plz/micropython/board/PIMORONI_PICO_PLUS2/pimoroni_pico_plus2w_rp2350.h

znmeb commented 5 days ago

Thanks! I plugged this into a script I have that rebuilds all of the examples in https://github.com/raspberrypi/pico-examples for RP2350 boards on both the RISC-V and Arm cores. It runs the RISC-V cores first and it crashed very early in the run.

I can do some troubleshooting and capture the logfiles, but before I do that, should the WiFi even work on RISC-V? The regular Pimoroni Pico Plus 2 without the WiFi builds all the relevant examples for both types of core.

Gadgetoid commented 4 days ago

should the WiFi even work on RISC-V?

With no official reference implementation - Pico 2 W - to compare notes with, I can't possibly say. We've got a little out ahead here and are suffering for it 😬

There are also some changes coming to the WiFi driver to better support our boards/modules and I'm pulling those in ad-hoc to make our builds so I'd expect at least some trouble.

znmeb commented 4 days ago

In that case I should probably come up with some MicroPython test cases and compare them with Pico W vs. Pico Plus 2 W boards. I assume you have some of those already but maybe not for my use cases.