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:
6639:7310555173f0
Parent:
6600:b3b988aaa1cb
Child:
6641:8332bd01adfa
--- a/tools/toolchains/gcc.py	Thu Jun 16 12:54:35 2016 -0500
+++ b/tools/toolchains/gcc.py	Thu Jun 16 13:34:02 2016 -0500
@@ -165,11 +165,14 @@
         dep_path = base + '.d'
         return ["-MD", "-MF", dep_path]
 
+    def get_config_option(self, config_header):
+        return ['-include', config_header]
+
     def get_compile_options(self, defines, includes):
         opts = ['-D%s' % d for d in defines] + ['@%s' % self.get_inc_file(includes)]
         config_header = self.get_config_header()
         if config_header is not None:
-            opts = opts + ['-include', config_header]
+            opts = opts + self.get_conifg_option(config_header)
         return opts
 
     @hook_tool