-
Notifications
You must be signed in to change notification settings - Fork 3k
Add static pin-map support: SDBlockDevice, kvstore, system storage (reduce ROM used by Mbed Cloud Client example) #12058
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
@mprse, thank you for your changes. |
@mprse is this needed for RC2 then ? |
API change (extension), so cannot be patch release. |
RC2 is not a patch release. We have not yet released 5.15 so this can indeed go to the release. It is also highly important to the client team. |
To use functionality we have already in rc1, just enable other components to use it. It was agreed to have this in rc2. |
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.
LGTM
@mprse Please fix Travis (there is an error in the code) |
That's odd. I was testing this with mbed 5.15 and cloud client. I cherry-picked the commit, but it looks like on master something has changed meanwhile. |
4e964c4
to
babe42d
Compare
Fixed and tested again with Cloud Client. |
CI started |
Test run: FAILEDSummary: 3 of 4 test jobs failed Failed test jobs:
|
Checked a few failures and looks like some CI issue:
|
Test run: FAILEDSummary: 3 of 4 test jobs failed Failed test jobs:
|
Failures look related:
|
This is done in order to enable static pin-map for Mbed Cloud Client Example. This should give extra ROM savings, ~1KB.
babe42d
to
ee5953a
Compare
Moved @0xc0170 Can we run CI again. |
CI restarted |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
This one passed CI, but unfortunately, I can see that PR #12033 has already one failed test (CI is running): |
Summary of changes
This PR adds static pin-map support to:
SDBlockDevice
component,kvstore
feature,system storage
feature.This is done to reduce ROM used by the Mbed Cloud Client Example.
Related PR #12033 (fixes pin-map for
SerialBase
class and ensures that serial flow control functions/pinmaps are not pulled into the image if flow control is not used).Memory usage details
GCC 9.0/Cloud Client Example
below.Example output:
Pull request type
Test results
Reviewers
@jamesbeyond
@bulislaw
@0xc0170