Skip to content
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

Consider hooking custom post checks when deciding pass rules #67

Open
eddyp opened this issue Feb 21, 2020 · 0 comments
Open

Consider hooking custom post checks when deciding pass rules #67

eddyp opened this issue Feb 21, 2020 · 0 comments

Comments

@eddyp
Copy link

eddyp commented Feb 21, 2020

  • Arduino board: any

  • Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.10

  • List the steps to reproduce the problem below (if possible attach a sketch or
    copy the sketch code in too):

With an on going project approaching the limit of memory use on the board the build could pass, but at runtime the project could fail due to memory corruption via stack or heap growth.

But if the runtime memory use is roughly known, one could predict what is the upper limit of the accepted statically allocated RAM before the code fails on target.

As a consequence, it would be nice if it were possible to hook some project specific script to be passed the build output (log and artefacts) to make these extra checks and fail the build, if that script returns a non 0 return code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant