-
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
error: use __INITIAL_SP from cmsis instead of RTX one #14624
Conversation
We used to require INITIAL_SP as rtx target headers define it. This should not be required, as cmsis already defines symbol __INITIAL_SP for all toolchains. Fixes ARMmbed#14432
@0xc0170, thank you for your changes. |
I'm not getting this to build under ARMC6. User error?
|
doesn't work. No idea what it should be. |
We might have some targets that do not define the required symbols? I'll check |
I believe I fixed it. It was not marked as being extern symbol so compiler could not find it's definition but I've checked and the linker files should provide these. I've tested both toolchains, no errors. |
I run CI to check more targets |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
It works! |
As it was already approved, I'll merge this |
Summary of changes
We used to require INITIAL_SP as rtx target headers define it. This should not be required, as
cmsis already defines symbol __INITIAL_SP for all toolchains.
Fixes #14432
We have
platform/tests/TESTS/mbed_platform/error_handling/main.cpp
but that does not probably contain any config in our CI to run with these enabled:Impact of changes
Migration actions required
Documentation
Pull request type
Test results
Reviewers