#RP2040 and GPIO23/24
1 messages · Page 1 of 1 (latest)
Additionally, I cannot use ADC3 on RP2040, even though it is available on the chip
The supported board is the Raspberry Pi Pico, which does not expose those pins.
I think you would need to modify the board json file to allow using those pins.
Copy the folder of this zip
https://github.com/elral/MF_RaspberryPico_Boards/releases/download/1.1.1/RaspberryPicoBoards_1.1.1.zip
into the community folder.
A generic Pico can be choosen where all pins are available.
Thanks
The generic seems to break the Pico, I have to hit BOOTSEL then turn it on to reset it
With "Mobiflight RaspiPico generic"
After flashing generic it does this
@worthy girder Do you have a Pico or Pico 2?
Pico 1, RP2040
"Raspberry Pi Pico H, (copyright) 2021"
OK, let me test it when I am back at home (~2h).
aight, thanks.
Hmhm, just tested it with my Pico and it works.
When you start your board ib bootloader mode, a USB drive shows up. Which drive letter does it have? Do the files on this drive show up like the attachment?
I just found a smaller bug. Only 3 analog inputs are defined within the board.json file, but it must be 4.
Also the max buttons and outputs can be increased to 30.
I will make a new release during the day with the correct number of buttons/outputs.
Oh, and does flashing the stock Pico FW work?
flashing my custom rp2040 works fine for me
but @worthy girder if you boot the pico to bootsel mode, it should indeed look like this:
Yes
Yes
you can also copy the pico firmware there manually in file wxplorer
Yes, sorry i didn't see your message, it is E: and yes it does look like that
Hmhm, no idea what the reason cpuld be. Never had this before. I would say it could be the USB cable, but flashing the "normal" Pico FW works...
I would try what @drowsy pulsar said, copy xy/MobiFlight/Community/Elral/firmware/mobiflight_raspberrypico_generic_3_0_0.uf2 to your drive E which appears when the Pico is in bootloader mode. Would be interesting if this works.
I'll try that out tomorrow.
I recall once having a board that didn't work with MF flashing but when I manually copied the . uf2 on it, it then worked and also flashed afterwards with MF
not sure why but people have had some issues at times with custom RP2040 boards that have some issues with timing during boot
when I searched google I found some reddit and forum threads about it
Yeah, but this custom device has the stock FW, just the type is different to refer to a board specific json file