Modified for BG96
Fork of mbed-dev by
Diff: targets/TARGET_STM/mbed_rtx.h
- Revision:
- 187:0387e8f68319
- Parent:
- 186:707f6e361f3e
--- a/targets/TARGET_STM/mbed_rtx.h Fri Jun 22 16:45:37 2018 +0100 +++ b/targets/TARGET_STM/mbed_rtx.h Thu Sep 06 13:40:20 2018 +0100 @@ -126,14 +126,14 @@ #endif // INITIAL_SP #if (defined(__GNUC__) && !defined(__CC_ARM) && !defined(__ARMCC_VERSION) && defined(TWO_RAM_REGIONS)) - extern uint32_t __StackLimit[]; - extern uint32_t __StackTop[]; - extern uint32_t __end__[]; - extern uint32_t __HeapLimit[]; - #define HEAP_START ((unsigned char*)__end__) - #define HEAP_SIZE ((uint32_t)((uint32_t)__HeapLimit - (uint32_t)HEAP_START)) - #define ISR_STACK_START ((unsigned char*)__StackLimit) - #define ISR_STACK_SIZE ((uint32_t)((uint32_t)__StackTop - (uint32_t)__StackLimit)) +extern uint32_t __StackLimit[]; +extern uint32_t __StackTop[]; +extern uint32_t __end__[]; +extern uint32_t __HeapLimit[]; +#define HEAP_START ((unsigned char*)__end__) +#define HEAP_SIZE ((uint32_t)((uint32_t)__HeapLimit - (uint32_t)HEAP_START)) +#define ISR_STACK_START ((unsigned char*)__StackLimit) +#define ISR_STACK_SIZE ((uint32_t)((uint32_t)__StackTop - (uint32_t)__StackLimit)) #endif #endif // MBED_MBED_RTX_H