Consider hooking custom post checks when deciding pass rules
eddyp opened this issue · 0 comments
-
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.