Modiffied compilation prompting to alling with linker's way of printing - now each issue will be printed in separate line with simple prefix like [DEBUG] Output:

pull/499/head
Przemek Wirkus 2014-09-19 13:27:40 +01:00
parent 27fa463fcf
commit eb2153ec49
1 changed files with 5 additions and 1 deletions

View File

@ -649,8 +649,12 @@ class mbedToolchain:
return bin
def default_cmd(self, command):
self.debug("Command: %s"% ' '.join(command))
_stdout, _stderr, _rc = run_cmd(command)
# Print all warning / erros from stderr to console output
for error_line in _stderr.splitlines():
print error_line
self.debug("Command: %s"% ' '.join(command))
self.debug("Return: %s"% _rc)
for output_line in _stdout.splitlines():