Skip to content

Conversation

@Jerzeek
Copy link

@Jerzeek Jerzeek commented Dec 4, 2025

Hi all,
We made an expander board for the Pico 2W, The Pico 2W is soldered on the board, and it has some peripherals permanently connected to the board so it made sense to make a custom board file for it.
It is part of a bigger project to learn the Industrial Design students at the Technical University of Delft to program, more info here: https://id-studiolab.github.io/Connected-Interaction-Kit/test/components/

I built the board, copied the UF2 file, tested the functionality, and all seems good!
Since our previous board utilized the ItsyBitsy M4, we aim to maintain backward compatibility with the D pins. Therefore, we have ensured that students can use both D as well as GP syntax, for example: D5 as well as GP5.
Let me know if anything is unclear.

@Jerzeek Jerzeek changed the title add studiolab_picoexpander# Please enter the commit message for your … add studiolab_picoexpander Dec 4, 2025
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, this looks fine overall. I've made some naming change suggestions.

//
// SPDX-License-Identifier: MIT

#define MICROPY_HW_BOARD_NAME "Pico Expander"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add your manufacturer name here, like "Studiolab Pico Expander" or however you capitalize and space it ("Studio Lab", "studiolab", etc.)

@Jerzeek
Copy link
Author

Jerzeek commented Dec 9, 2025

Hi @dhalbert,
Thanks for your feedback, I have changed the order of the pins. Should all be good now :)
Let me know if anythings else should be changed.

@Jerzeek
Copy link
Author

Jerzeek commented Dec 9, 2025

Hi Dan,
I kept getting an error in the actions, i have updated my branch with origin/main, but I still end up getting this error:
touch circuitpython-stubs/board/__init__.py touch circuitpython-stubs/board_definitions/__init__.py zephyr_i2c/__init__.pyi:125: error: Incompatible default for argument "out_end" (default has type "None", argument has type "int") [assignment] zephyr_i2c/__init__.pyi:125: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True zephyr_i2c/__init__.pyi:125: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase zephyr_i2c/__init__.pyi:127: error: Incompatible default for argument "in_end" (default has type "None", argument has type "int") [assignment] zephyr_i2c/__init__.pyi:127: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True zephyr_i2c/__init__.pyi:127: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase Found 2 errors in 1 file (checked 121 source files) make: *** [Makefile:292: check-stubs] Error 1 Error: Process completed with exit code 2.
Is there anything I can do to fix this?

@dhalbert
Copy link
Collaborator

dhalbert commented Dec 9, 2025

The doc build error you are seeing was due to another PR -- we'll fix that! It's unrelated to your PR at all.

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks for doing my somewhat pedantic request about the pin order.

We'll ignore the docs build error for now.

@dhalbert
Copy link
Collaborator

dhalbert commented Dec 9, 2025

Next step is to add the board to circuitpython.org: https://learn.adafruit.com/how-to-add-a-new-board-to-the-circuitpython-org-website

@dhalbert dhalbert merged commit a8f4738 into adafruit:main Dec 9, 2025
12 of 13 checks passed
@Jerzeek
Copy link
Author

Jerzeek commented Dec 9, 2025

Next step is to add the board to circuitpython.org: https://learn.adafruit.com/how-to-add-a-new-board-to-the-circuitpython-org-website

Hi Dan, amazing to see it merged :D
I already prepped everything in the repo and made a PR:
adafruit/circuitpython-org#1713

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants