New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add support for Waveshare RP2040-LCD-1.28 #7153
feat: Add support for Waveshare RP2040-LCD-1.28 #7153
Conversation
When can this be added? I just bought this board for a project and going with CircuitPython would be great. |
@fonix232 Please let us know when this is ready for review. @LazaroFilm You can help test using "artifacts" from the CI run. See the bottom artifact here: https://github.com/adafruit/circuitpython/actions/runs/3352586595 |
I have compiled this and loaded it into my device. The LCD and pins are working, have not tested the IMU yet. The one issue I found is not quite related to this pull request is that the VID an PID of the device are not recognized by VSCode's extension for CircuitPython, thus making it impossible to access the console, though, the console works in Mu Editor. Digging further I cannot find the PID for this board on this page: https://github.com/raspberrypi/usb-pid |
Good eye! Looks like it'll need to be requested like other Waveshare boards have. |
I have issued a ticket on Waveshare's website requesting for the PID#. We'll see. |
@tannewt I've opened this as a draft due to not having an opportunity to test it thoroughly. The PID/VID used in this PR is taken from the device as-is, running the factory firmware OOTB. If that's not appropriate (I was hoping it would be), then I'm open to suggestions on how to proceed, as well as to changes to the current code. |
That PID is marked for the Pico rather than a waveshare board. It looks like they've requested PIDs for other boards so hopefully they will for this one too. |
Yes they used the default Pico PID. The problem is that it conflicts in VSCODE plug-in as it's detected to have a different name than the pico with à pico PID which crashes the vscode plugin (in my opinion, that plug-in could benefit from a refactor to avoid crashing in this instance, it's a bit too strict of a PID check) |
UPDATE: Waveshare had replied to me but my mail considered it as spam. Here is the email:
So the board now has an official VID/PID. |
Glad they got one! I'd like to wait until the listing is public because I've had other folks get it wrong. |
@tannewt the listing should be public now (the LCD-1.28 is listed but without URL). I've updated the PR with it, should be merge-able (even with the missing drivers for QMI8658 and GC9A01). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your patience!
Initial support for Waveshare RP2040-LCD-1.28
Testing underway.
Features:
TODO:
S_KEY_
definitions (UP
,DOWN
andCENTER
)Schematics: https://www.waveshare.com/w/upload/6/60/RP2040-LCD-1.28-sch.pdf