-
Notifications
You must be signed in to change notification settings - Fork 3k
Removed all references to __CC_ARM #12654
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
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.
Please fill in the template for the PR - introduce changes to all of us.
Also please add a reason for removing these in the commit message itself.
f3742b9
to
4465295
Compare
This PR only removed ARMC5 references from FEATURE_BLE, not platform. Could you amend the title & description? |
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. Let's check CI.
CI started |
Test run: SUCCESSSummary: 7 of 7 test jobs passed |
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.
Thanks @rajkan01 I believe the assembly part should be replaced with something compatible with ARM compiler 6 assembly. For some of the pragma, these are different too.
How do we differentiate GCC from ARMCC at compile time ?
#elif defined(__CC_ARM) | ||
#define BLE_DEPRECATED_API_USE_BEGIN() \ | ||
_Pragma("push") \ | ||
_Pragma("diag_suppress 1361") |
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.
Could you use the clang pragma instead when the file is compiled with ARMC6 ?
Please have a look at: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0742b/chr1398848167694.html
} | ||
|
||
#elif defined ( __ICCARM__ ) | ||
#if defined ( __ICCARM__ ) |
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.
Why not provide the proper replacement for ARM compiler 6 assembler ?
ALIGN | ||
} | ||
#elif defined ( __GNUC__ ) | ||
#if defined ( __GNUC__ ) |
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.
Is GCC assembly language compatible with ARMC6 ?
Summary of changes
Removed ARMC5 reference from FEATURE_BLE.
ARM Compiler 5 is no longer supported in Mbed OS and is superseded by ARM Compiler 6
Impact of changes
Breaking change: The ARMC5 references are removed from platform as they have been deprecated in a previous Mbed OS release.
Migration actions required
Use Arm Compiler 6
Documentation
None.
Pull request type
Test results
Reviewers
@evedon