Skip to content

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

Merged
merged 2 commits into from
Jul 18, 2018
Merged

Feature itm fix #7504

merged 2 commits into from
Jul 18, 2018

Conversation

TacoGrandeTX
Copy link
Contributor

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

[x] Fix
[ ] Refactor
[ ] New target
[ ] Feature
[ ] Breaking change

Marcus Chang and others added 2 commits July 12, 2018 13:29
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.
@0xc0170 0xc0170 requested a review from marcuschangarm July 13, 2018 07:54
@@ -263,7 +264,7 @@ static bool errata_115(void)
if ((*(uint32_t *)0x10000130ul == 0x8ul) && (*(uint32_t *)0x10000134ul == 0x0ul)){
return true;
}

Copy link
Contributor

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

Copy link
Contributor Author

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.

@studavekar
Copy link
Contributor

/morph build

@mbed-ci
Copy link

mbed-ci commented Jul 17, 2018

Build : SUCCESS

Build number : 2625
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/7504/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented Jul 17, 2018

@mbed-ci
Copy link

mbed-ci commented Jul 17, 2018

@cmonr cmonr merged commit dd6482b into ARMmbed:master Jul 18, 2018
pan- pushed a commit to pan-/mbed that referenced this pull request Aug 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants