Raspberry Pi Pico uf2 build help?

Zaf

Zaf

Soldato
Joined
16 Jan 2003
Posts
6,887
Location
Derbyshire
Hi Folks,

Not sure if anyone can help me, but I'm looking for someone who can build some code from GitHub and generate a uf2 file please?
 

Zaf

Zaf

Soldato
OP
Joined
16 Jan 2003
Posts
6,887
Location
Derbyshire
Here's the main repository - https://github.com/fortizc/retro-pico-switch

There's a fork with the change I wanted but didn't have a uf2 build - https://github.com/fortizc/retro-pico-switch

Unfortunately, it looks like its 8 commits behind :(

I basically need it changing from GP18 to GP2 or GP3 so I can use a Seeed XIAO RP2040 instead of a Pico

Under Setup of the readme in the main repository it says "The pre-built .uf2 file assumes the data pin is on the Pico's GP18 pin."

Any help would be much appreciated, I tried compiling it using the Arduino IDE but couldn't get it to compile
 
Last edited:

Zaf

Zaf

Soldato
OP
Joined
16 Jan 2003
Posts
6,887
Location
Derbyshire
Thanks for trying, I did reach out to DavidPagels but he said he does not do customer builds! It's just frustrating he decided to choose such a high pin rather than a lower one.
 

Zaf

Zaf

Soldato
OP
Joined
16 Jan 2003
Posts
6,887
Location
Derbyshire
Had some success this morning, I can now build DavidPagels project. I thought I had changed it from the pico_w to a plain RP2040 and set the pin to 2 (from 18) however it appears I didn't save the change to the board type! If I attempt to build for a plain RP2040 it barfs and fails to compile.

You can download the picw_w / pin 2 uf2 file from https://www.avonrise.co.uk/retro_pico_switch/retro_pico_switch.uf2

Edited to correct my build boo-boo
Thanks so much, I'll give it a go now!

To answer your question regarding why I want to use a Seeed board rather than a Pico, is because it's smaller. The smaller the footprint the better :)
 

Zaf

Zaf

Soldato
OP
Joined
16 Jan 2003
Posts
6,887
Location
Derbyshire
Had some success this morning, I can now build DavidPagels project. I thought I had changed it from the pico_w to a plain RP2040 and set the pin to 2 (from 18) however it appears I didn't save the change to the board type! If I attempt to build for a plain RP2040 it barfs and fails to compile.

You can download the picw_w / pin 2 uf2 file from https://www.avonrise.co.uk/retro_pico_switch/retro_pico_switch.uf2

Edited to correct my build boo-boo
Only just got round to testing it, unfortunately it's not getting picked up by windows. I am trying it with a standard Pico and not a Pico W, would that make a difference?

Edit/ Just tried with a Pico W and I have the same issue, it's not showing in Windows.
 
Last edited:

Zaf

Zaf

Soldato
OP
Joined
16 Jan 2003
Posts
6,887
Location
Derbyshire
I've just had a look using another adapter I've built, and I can't see anything obvious in Device Manager, when I unplug it and plug it in, nothing new appears. But when I look at 'Setup USB game controllers' it's listed in there. Using your build it's not listed.

Don't worry about it mate, I feel like I've wasted enough of your time, I really do appreciate you trying though :)
 
Last edited:
Back
Top Bottom