Merge pull request #1803 from neilt6/master

[RTOS] Fixed online compiler macro warnings
pull/1804/head
Martin Kojtal 2016-05-27 17:58:04 +01:00
commit 11c482c878
1 changed files with 4 additions and 0 deletions

View File

@ -57,9 +57,13 @@
#define CMSIS_OS_RTX
// __MBED_CMSIS_RTOS_CM captures our changes to the RTX kernel
#ifndef __MBED_CMSIS_RTOS_CM
#define __MBED_CMSIS_RTOS_CM
#endif
// we use __CMSIS_RTOS version, which changes some API in the kernel
#ifndef __CMSIS_RTOS
#define __CMSIS_RTOS
#endif
// The stack space occupied is mainly dependent on the underling C standard library
#if defined(TOOLCHAIN_GCC) || defined(TOOLCHAIN_ARM_STD) || defined(TOOLCHAIN_IAR)