ST / ST_Events-old

Dependents:   HelloWorld_CCA01M1 HelloWorld_CCA02M1 CI-data-logger-server HelloWorld_CCA02M1 ... more

This is a fork of the events subdirectory of https://github.com/ARMmbed/mbed-os.

Note, you must import this library with import name: events!!!

Revision:
8286:978e541a018f
Parent:
8266:b5ccac2d5e81
Parent:
8285:d88fab74071c
Child:
8679:1471fcf83d61
--- a/tools/toolchains/gcc.py	Fri Sep 30 15:00:43 2016 -0500
+++ b/tools/toolchains/gcc.py	Fri Sep 30 15:01:20 2016 -0500
@@ -118,6 +118,7 @@
             if match is not None:
                 if msg is not None:
                     self.cc_info(msg)
+                    msg = None
                 msg = {
                     'severity': match.group('severity').lower(),
                     'file': match.group('file'),
@@ -138,6 +139,9 @@
                 else:
                     msg['text'] += line+"\n"
 
+        if msg is not None:
+            self.cc_info(msg)
+
     def get_dep_option(self, object):
         base, _ = splitext(object)
         dep_path = base + '.d'