When the build runner runs Make/Ninja and correctly detects the presence of one or more errors the build process should be aborted earlier.
At the moment the code is blindly continuing as if the binary was successfully build and goes on calling idf_size.py on a stale map file and, what's worse, dumps the output of idf_size.py in the console window, hiding the red lines pointing to the error.
When the build runner runs Make/Ninja and correctly detects the presence of one or more errors the build process should be aborted earlier.
At the moment the code is blindly continuing as if the binary was successfully build and goes on calling
idf_size.py
on a stale map file and, what's worse, dumps the output ofidf_size.py
in the console window, hiding the red lines pointing to the error.