-
Notifications
You must be signed in to change notification settings - Fork 3k
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
RASPBERRYPI: Add support for RP2040 MCU #14488
Conversation
Should the link step be using "--specs=nano.specs" as well as "--specs=nosys.specs" ? My reading indicates that they do work together, and an experiment with just that change appears to work, and cuts ~20k off the binary size. |
nano lib is selected if C standard lib is set to small. nosys.specs are default linker option. This board can support small standard lib. |
to avoid name clashes with mbed I2C API.
lptimer is deactivated since it's meant to run at 1hz :|
Are you going to add |
None of the various APIs (PWM, Serial, I2C, SPI) return the pins to GPIO mode when they are turned off. (actually, I don't see ANY code to turn off I2C or SPI.) |
…TION_FIX" This reverts commit 4932950.
This PR cannot be merged due to conflicts. Please rebase to resolve them. |
Should this pull request still be opened? |
So is there a plan to merge this PR in? What is left to get this target added in? |
@facchinm I am closing this pull request, the best would be to open a new one with up to date information. |
@facchinm what's left to implement? If it's just a git conflict case I can fix them. |
@willianpaixao There should be nothing left to implement but tests are not passing due to some cmake incompatibilities with the way we use to ignore some sdk folders. |
@facchinm could you write more about those problems? I could try to tackle them, but need some context. |
@pennam do you still have some logs of the compliance test failures? |
After applying this patch i recovered from my working directory:
Running |
Just wanted to provide an update, @JohnK1987 and I are now working on an updated version of this PR for the Mbed Community Edition project (linked above). Currently it is able to build and work for basic projects, though some Mbed tests are still not passing. |
Summary of changes
This PR introduces a new target, RaspberryPi's RP2040 microcontroller.
The technical specifications are:
Impact of changes
Supported features:
Not yet supported:
Migration actions required
Documentation
This porting is based on https://github.com/raspberrypi/pico-sdk with minimal patches applied (should make it easier to update to new releases)
https://datasheets.raspberrypi.org/rp2040/rp2040-datasheet.pdf
Pull request type
Test results
Will be provided soon
Reviewers
@pennam @0xc0170