Skip to content

fixed wrong __StackTop calculation #8978

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 1 commit into from
Dec 14, 2018

Conversation

JojoS62
Copy link
Contributor

@JojoS62 JojoS62 commented Dec 5, 2018

Description

StackTop calculation was not adjusted when ram size was increased by using al 3 ram regions.
This caused memory allocation failures althogh enough free heap was reported

The problem applies to GCC_ARM toolchain.
IAR and ARM toolchain setting looks fine, but I cannot verify this.
GCC_CR settings look also fine, but GCC_CR support has been removed already.

Pull request type

[X] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

StackTop calculation was not adjusted when ram size was increased by using al 3 ram regions.
This caused memory allocation failures althogh enough free heap was reported
@0xc0170 0xc0170 requested a review from a team December 5, 2018 13:57
@0xc0170
Copy link
Contributor

0xc0170 commented Dec 5, 2018

@mmahadevan108 Can you review please

@0xc0170
Copy link
Contributor

0xc0170 commented Dec 12, 2018

@mmahadevan108 Can you review please

Still waiting for review

Copy link
Contributor

@mmahadevan108 mmahadevan108 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix.

@cmonr
Copy link
Contributor

cmonr commented Dec 12, 2018

CI started

@mbed-ci
Copy link

mbed-ci commented Dec 13, 2018

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 1
Build artifacts

@cmonr cmonr merged commit 49103d8 into ARMmbed:master Dec 14, 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