-
Notifications
You must be signed in to change notification settings - Fork 3k
Feature itm fix #7504
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
Feature itm fix #7504
Conversation
The ITM must be initialized before the SoftDevice, but due to the lazy initialization in C++ on (at least) GCC the ITM init call might happen too late. This commit moves the initialization code into the NRF52 system startup file.
@@ -263,7 +264,7 @@ static bool errata_115(void) | |||
if ((*(uint32_t *)0x10000130ul == 0x8ul) && (*(uint32_t *)0x10000134ul == 0x0ul)){ | |||
return true; | |||
} | |||
|
|||
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.
Introducing new spaces? please remove
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.
Sorry - failed to mention in the commit message that I reversed the whitespace changes that @marcuschangarm made which you previously commented on. A review of "all commits" looks clean w.r.t. whitespace.
/morph build |
Build : SUCCESSBuild number : 2625 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 2264 |
Test : SUCCESSBuild number : 2372 |
Description
The ITM must be initialized before the SoftDevice, but due to the lazy initialization in C++ on (at least) GCC the ITM init call might happen too late.
This commit moves the initialization code into the NRF52 system startup file and cleans up preprocessor styling.
Pull request type