Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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!!!
Diff: tools/toolchains/gcc.py
- Revision:
- 6531:8cd307140e31
- Parent:
- 6530:98ce08655513
- Child:
- 6600:b3b988aaa1cb
--- a/tools/toolchains/gcc.py Thu Jun 16 16:13:50 2016 +0300
+++ b/tools/toolchains/gcc.py Thu Jun 16 16:57:33 2016 +0300
@@ -167,9 +167,9 @@
def get_compile_options(self, defines, includes):
opts = ['-D%s' % d for d in defines] + ['@%s' % self.get_inc_file(includes)]
- prefix_header = self.get_prefix_header()
- if prefix_header is not None:
- opts = opts + ['-include', prefix_header]
+ config_header = self.get_config_header()
+ if config_header is not None:
+ opts = opts + ['-include', config_header]
return opts
@hook_tool