test
Fork of mbed-dev by
Diff: platform/mbed_application.h
- Revision:
- 171:19eb464bc2be
- Parent:
- 168:e84263d55307
--- 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" {