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: STM32L452_Nucleo_ticker
Fork of mbed-dev by
Diff: platform/mbed_application.h
- Revision:
- 170:19eb464bc2be
- Parent:
- 167:e84263d55307
- Child:
- 178:79309dc6340a
diff -r e3b6fe271b81 -r 19eb464bc2be platform/mbed_application.h
--- a/platform/mbed_application.h Wed Jul 19 17:31:21 2017 +0100
+++ b/platform/mbed_application.h Thu Aug 03 13:13:39 2017 +0100
@@ -21,7 +21,12 @@
#include<stdint.h>
-#define MBED_APPLICATION_SUPPORT defined(__CORTEX_M3) || defined(__CORTEX_M4) || defined(__CORTEX_M7)
+#if defined(__CORTEX_M3) || defined(__CORTEX_M4) || defined(__CORTEX_M7)
+#define MBED_APPLICATION_SUPPORT 1
+#else
+#define MBED_APPLICATION_SUPPORT 0
+#endif
+
#if MBED_APPLICATION_SUPPORT
#ifdef __cplusplus
extern "C" {
