-
Notifications
You must be signed in to change notification settings - Fork 3k
Nordic: Fix nrf sections on ARMCC #7150
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
The nrf section features has different implementations for each compilers supported by mbed-os. The header guard was ruling out compiler other than GCC by checking if __GNUC__ is defined. This check is not applicable on mbed os as the ARM compiler compile sources with gnu compatibility. This patch makes sure that the right implementation is selected for the right compiler . The previous patch has been reverted as it is not reliable.
@@ -26,14 +26,10 @@ | |||
LR_IROM1 MBED_APP_START MBED_APP_SIZE { | |||
ER_IROM1 MBED_APP_START MBED_APP_SIZE { | |||
*.o (RESET, +First) | |||
*(InRoot$$Sections) | |||
__start_sdh_soc_observers *(sdh_soc_observers) __stop_sdh_soc_observers |
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 are these lines being removed ( __start_xxx) ?
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.
Because they are not needed anymore; they were added with the first fix which wasn't reliable enough.
/morph build |
Build : SUCCESSBuild number : 2288 Triggering tests/morph test |
Pausing CI until 5.9 RC3 completes CI. Will restart jobs when able. |
/morph test |
Exporter Build : SUCCESSBuild number : 1913 |
Description
The nrf section features has different implementations for each compilers supported by mbed-os. The header guard was ruling out compiler other than GCC by checking if GNUC is defined. This check is not applicable on mbed os as the ARM compiler compile sources with gnu compatibility.
This patch makes sure that the right implementation is selected for the right compiler . The previous patch has been reverted as it is not reliable.
Pull request type