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:
- 8264:05c56a5c7c69
- Parent:
- 7988:4644adacd001
- Child:
- 8266:b5ccac2d5e81
--- a/tools/toolchains/gcc.py Wed Sep 28 06:48:24 2016 -0700
+++ b/tools/toolchains/gcc.py Fri Sep 23 15:44:09 2016 -0500
@@ -46,8 +46,12 @@
"-Wl,--wrap,exit", "-Wl,--wrap,atexit"],
}
- def __init__(self, target, options=None, notify=None, macros=None, silent=False, tool_path="", extra_verbose=False):
- mbedToolchain.__init__(self, target, options, notify, macros, silent, extra_verbose=extra_verbose)
+ def __init__(self, target, options=None, notify=None, macros=None,
+ silent=False, tool_path="", extra_verbose=False,
+ build_profile=None):
+ mbedToolchain.__init__(self, target, options, notify, macros, silent,
+ extra_verbose=extra_verbose,
+ build_profile=build_profile)
if target.core == "Cortex-M0+":
cpu = "cortex-m0plus"
@@ -280,8 +284,11 @@
Returns False otherwise."""
return mbedToolchain.generic_check_executable("GCC_ARM", 'arm-none-eabi-gcc', 1)
- def __init__(self, target, options=None, notify=None, macros=None, silent=False, extra_verbose=False):
- GCC.__init__(self, target, options, notify, macros, silent, TOOLCHAIN_PATHS['GCC_ARM'], extra_verbose=extra_verbose)
+ def __init__(self, target, options=None, notify=None, macros=None,
+ silent=False, extra_verbose=False, build_profile=None):
+ GCC.__init__(self, target, options, notify, macros, silent,
+ TOOLCHAIN_PATHS['GCC_ARM'], extra_verbose=extra_verbose,
+ build_profile=build_profile)
# Use latest gcc nanolib
if "std-lib" in self.options:
@@ -312,8 +319,11 @@
Returns False otherwise."""
return mbedToolchain.generic_check_executable("GCC_CR", 'arm-none-eabi-gcc', 1)
- def __init__(self, target, options=None, notify=None, macros=None, silent=False, extra_verbose=False):
- GCC.__init__(self, target, options, notify, macros, silent, TOOLCHAIN_PATHS['GCC_CR'], extra_verbose=extra_verbose)
+ def __init__(self, target, options=None, notify=None, macros=None,
+ silent=False, extra_verbose=False, build_profile=None):
+ GCC.__init__(self, target, options, notify, macros, silent,
+ TOOLCHAIN_PATHS['GCC_CR'], extra_verbose=extra_verbose,
+ build_profile=build_profile)
additional_compiler_flags = [
"-D__NEWLIB__", "-D__CODE_RED", "-D__USE_CMSIS", "-DCPP_USE_HEAP",