-
-
Notifications
You must be signed in to change notification settings - Fork 10
Added full RP2040 (RPi Pico) support #16
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
Conversation
Added the SPI1 as selection option, for useing both cores to write to an MCP DAC
|
Btw. I also added the current version in the pull request for a possible release... |
|
Thanks for the addition |
|
Yeah, I think so too... I also (if this one will pass) am planning to add this capability to some other libs, which I need for a upcoming project... |
|
|
Had a quick look, and I could not find any RPI pico / RP2040 workflow to test the library. |
|
Found how to add a platform to the build-CI. Edit .arduino-ci.yml Had to install the boards support for the pico (packages part) - https://github.com/earlephilhower/arduino-pico |
|
So, it was only an Issue with the check not knowing the RP2040, right? |
|
Soo... Ive changed the code slightly... Should work now... It uses now only one variable for the bus selection, like the ESP32... |
|
Sorry forgot to change the .arduino-ci.yml for the test... |
Yes, the changes themselves looked good (few minor things). Now I know how to add RP2040 testing I plan to add it to all my other 150++ libraries, see if they are portable.
Can you tell which libraries? |
|
Build succeeds 😎 well done! |
Added the the Option to choose the 2nd SPI Bus on the RP2040 with the RP2040. Added also the specific commands to change the Bus pins on the RP2040. Added some documentation as well. The Addition is intended for the arduino-pico library by earlephilhower https://github.com/earlephilhower/arduino-pico
(At the moment the edits are validated on the original Pico board and the MCP4822)