Repository navigation
embed: improve stack top estimation - #13653
Merged
Merged
Conversation
yamt
force-pushed
the
embed-stcak-top
branch
from
February 13, 2024 05:16
aa63d9d to
5ca6700
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #13653 +/- ##
=======================================
Coverage 98.36% 98.36%
=======================================
Files 159 159
Lines 21069 21069
=======================================
Hits 20724 20724
Misses 345 345 ☔ View full report in Codecov by Sentry. |
Member
|
Thanks for the patch, this looks like a good solution to that issue. It forces the user to think about the stack top pointer. |
Obtaining the stack-top via a few function calls may yield a pointer which is too deep within the stack. So require the user to obtain it from a higher level (or via some other means). Fixes issue micropython#11781. Signed-off-by: YAMAMOTO Takashi <[email protected]>
dpgeorge
force-pushed
the
embed-stcak-top
branch
from
February 14, 2024 23:12
5ca6700 to
d2a3cd7
Compare
Contributor
|
Thanks! I will integrate this into #11430 when I get the time. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: #11781