-
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
nRF: use Mbed-default boot-stack-size & fix stack_size_unification test #12874
Conversation
@@ -79,12 +79,6 @@ | |||
"MCU_NRF51": { |
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.
Should I also remove NRF51 since they're deprecated now?
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.
Check with @MarceloSalazar
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.
Oh actually it's fine to remove it, because the option is more related to SoftDevice (which we removed) rather than NRF51 or 52. We use target names because the config cannot check SoftDevice directly.
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.
Done
@LDong-Arm, thank you for your changes. |
@@ -79,12 +79,6 @@ | |||
"MCU_NRF51": { |
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.
Check with @MarceloSalazar
…used Previously we overrode nRF targets to have a larger stack due to memory required by SoftDevice. Having deprecated SoftDevice in favour of Cordio for BLE (ARMmbed#12674), such requirement does not apply anymore.
3672e96
to
81e676b
Compare
@evedon Thanks for the review |
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.
Looks good and I like that we're removing TARGET dependencies on code.
We'll review support for NRF51 in the upcoming days anyway.
CI started |
Test run: SUCCESSSummary: 6 of 6 test jobs passed |
This PR does not contain release version label after merging. |
Summary of changes
The global default stack sizes for Mbed OS are
Previously, we overrode nRF targets to have a larger stack (
0x800
) for RTOS due to memory required by the (SDK-side) SoftDevice BLE stack. Having removed SoftDevice in favour of Cordio (PR #12674), such requirement does not apply anymore.As for stack_size_unification test, it failed in a recent nightly CI after we made it available for bare-metal (PR #12827). Removing the
NRF5x
macro (for the reason above) fixes the test.Impact of changes
Migration actions required
Documentation
None.
Pull request type
Test results
Manual tests
Reviewers
@jamesbeyond @evedon @kjbracey-arm @mprse @MarceloSalazar