feat(boards): Add waveshare rp2040 zero board definition
This PR builds off of #2596, fixing the problems Pete noted there alongside some other changes. As of two weeks ago, Zephyr's main branch has this board as well, so the name was adjusted to match with it.
Figured since I needed to update the PR for my own stuff anyway I may as well PR the updated version.
PR check-list
- [x] Branch has a clean commit history
- [x] Additional tests are included, if changing behaviors/core code that is testable.
- [x] Proper Copyright + License headers added to applicable files (Generally, we stick to "The ZMK Contributors" for copyrights to help avoid churn when files get edited)
- [x] Pre-commit used to check formatting of files, commit messages, etc.
- [x] Includes any necessary documentation changes.
The pins defined for I2C and SPI are a bit different from upstream Zephyr. If the plan is for ZMK to eventually use the upstream board, that could make the migration process confusing.
https://github.com/nmunnich/zmk-component-rp2040-zero This component is made available in a module. As we are looking into upgrading to Zephyr 4.1 currently, which includes this component, I see no reason to further pursue putting this into ZMK directly.