-
Notifications
You must be signed in to change notification settings - Fork 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
Add RP2040 support #168
Add RP2040 support #168
Conversation
…er tests now pass!
OK we're doing better with the latest round of fixes:
I won't be working on USB tests as part of this PR, and mbed-hal-rtc-reset will always fail on this device because the RTC does not keep time through a reset. Also, mbed-hal-flash-functional-tests is failing because it seems the current flash api can't handle flash-to-flash program operations. |
…vertise the correct capabilities and implement them correctly
…), fix missing frequency field in watchdog features
OK I think I have fixed nearly all the remaining tests or determined that they can't easily be fixed. Just have mbed-drivers-ticker left to investigate. One other question in the meantime. @JohnK1987, what would happen if we needed to update the version of pico sdk included here? Did you make any changes to the SDK in the branch? Did you download the entire thing, or some subset of the files? We will probably want to make a plan for the day when it needs to be updated. |
I am not sure, but as a muster I used the data from PR mentioned in main post above and ArduinoCore-Mbed, but the SKD was downloaded from original repo and then was applied only change of name rtc_init, because of colision with Mbed's rtc_init.
BR, Jan |
Ok, I was wrong. The steps what I descpripted previously are true but it was not in my repo, it was future plan. The version of SDK seems to be 1.3.0 but latest is 1.5.1. |
All right, I fixed the us ticker test! @JohnK1987 this should be good to merge now! I will look into updating the SDK in a subsequent PR. |
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.
Well done!
Summary of changes
This PR adds initial support for running Mbed on Raspberry Pi 2040 processors via the RASPBERRY_PI_PICO target. It's based on the PR Arduino created against mainline Mbed, but adapted to work with Mbed CE's CMake build system and with some extra bugfixes (BufferedSerial now works) and features (automated uploading and debugging).
Impact of changes
Mbed will now support the RPi Pico.
Migration actions required
Documentation
Wiki page is being worked on here.
Pull request type
Test results
Reviewers