kmk_firmware icon indicating copy to clipboard operation
kmk_firmware copied to clipboard

Add Pico quickpin

Open Allstreamer opened this issue 2 years ago • 3 comments

Create Raspberry PI pico quickpin based on the Pico Docs. (Also tested on Pico H)

Allstreamer avatar Aug 18 '23 19:08 Allstreamer

Not sure what would be the best structure. Right now it's compatible with both the pico H & pico W so i was thinking of naming it pico but that would make the import:

from kmk.quickpins.pico.pico import pinout

which feels a bit weird, i'm thinking of making it top level or making a raspberry pi folder? IDK not sure if i should just keep the name as pico.

For Refrence:

# Pico folder
from kmk.quickpin.pico.pico import pinout

# Top Level
from kmk.quickpin.pico import pinout

# Raspi folder
from kmk.quickpin.raspi.pico import pinout
# or
from kmk.quickpin.raspberry.pico import pinout
# or 
from kmk.quickpin.raspberrypi.pico import pinout

Allstreamer avatar Aug 21 '23 20:08 Allstreamer

Of course it looks weird. quickpin is meant to translate physical pin names / mappings from different board layouts. You're translating from the pi pico to the pi pico, which is kind of pointless imo... but if you think that's a good addition, then kmk.quickpin.pico.pico it is.

xs5871 avatar Aug 28 '23 08:08 xs5871

I've seen some pico clones, but AFIK, I haven't seen any that change the pinout's to the point of having a use for quickpin. The only use I can see for this is not having to find the pinout with an image for people reading the code, but it wouldn't have the intended primary use of quickpin.

kdb424 avatar Oct 14 '23 00:10 kdb424

I'll close this as stale.

xs5871 avatar Jun 08 '24 21:06 xs5871