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:
7908:0f6ef9835afc
Parent:
7907:36a6ad9af387
Child:
7909:8d21dcb647f6
diff -r 36a6ad9af387 -r 0f6ef9835afc tools/toolchains/gcc.py
--- a/tools/toolchains/gcc.py	Mon Sep 12 18:54:39 2016 -0500
+++ b/tools/toolchains/gcc.py	Tue Sep 13 12:06:01 2016 -0500
@@ -272,6 +272,9 @@
 class GCC_ARM(GCC):
     @staticmethod
     def check_executable():
+        """Returns True if the executable (arm-none-eabi-gcc) location
+        specified by the user exists OR the executable can be found on the PATH.
+        Returns False otherwise."""
         if not TOOLCHAIN_PATHS["GCC_ARM"] or not exists(TOOLCHAIN_PATHS['GCC_ARM']):
             exe = find_executable('arm-none-eabi-gcc')
             if not exe:
@@ -306,6 +309,9 @@
 class GCC_CR(GCC):
     @staticmethod
     def check_executable():
+        """Returns True if the executable (arm-none-eabi-gcc) location
+        specified by the user exists OR the executable can be found on the PATH.
+        Returns False otherwise."""
         if not TOOLCHAIN_PATHS["GCC_CR"] or not exists(TOOLCHAIN_PATHS['GCC_CR']):
             exe = find_executable('arm-none-eabi-gcc')
             if not exe: