Merge pull request #5232 from tung7970/fix-target

RTL8195AM - Fix and cleanup mbed_rtx.h
pull/5283/merge
Jimmy Brisson 2017-10-09 11:16:08 -05:00 committed by GitHub
commit ad1345771f
1 changed files with 2 additions and 13 deletions

View File

@ -20,7 +20,7 @@
#include "rtl8195a.h"
#if defined(__CC_ARM) || (defined(__ARMCC_VERSION) || (__ARMCC_VERSION >= 6010050))
#if defined(__CC_ARM) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050))
extern uint32_t Image$$ARM_LIB_STACK$$ZI$$Base[];
extern uint32_t Image$$ARM_LIB_STACK$$ZI$$Length[];
#define ISR_STACK_START (unsigned char *)(Image$$ARM_LIB_STACK$$ZI$$Base)
@ -33,22 +33,11 @@
#define INITIAL_SP (__StackTop)
#endif
#if defined(__CC_ARM) || defined(__GNUC__)
#if defined(__GNUC__)
#ifndef ISR_STACK_SIZE
#define ISR_STACK_SIZE (0x1000)
#endif
#endif
#ifndef OS_TASKCNT
#define OS_TASKCNT 14
#endif
#ifndef OS_MAINSTKSIZE
#define OS_MAINSTKSIZE 256
#endif
#ifndef OS_CLOCK
#define OS_CLOCK PLATFORM_CLK
#endif
#endif
#endif