Skip to content

Commit db1dd19

Browse files
authored
Merge pull request #4041 from akselsm/bugfix/efm32-dynamic-heap-with-armcc
[Silicon Labs] Enable dynamic heap with ARMCC
2 parents 545a42f + 72c3416 commit db1dd19

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

targets/TARGET_Silicon_Labs/mbed_rtx.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,6 @@
2323
#define OS_CLOCK REFERENCE_FREQUENCY
2424
#endif
2525

26-
#if defined(__CC_ARM)
27-
extern uint32_t HEAP$$Base;
28-
extern uint32_t HEAP$$Limit;
29-
extern uint32_t STACK$$Limit;
30-
extern uint32_t STACK$$Base;
31-
#ifndef INITIAL_SP
32-
#define INITIAL_SP ((uint32_t)&STACK$$Limit)
33-
#endif
34-
#define ISR_STACK_START ((uint32_t)&STACK$$Base)
35-
#define ISR_STACK_SIZE ((uint32_t) ((uint32_t)&STACK$$Limit - (uint32_t)&STACK$$Base))
36-
#define HEAP_START ((unsigned char*) ((uint32_t)&HEAP$$Base))
37-
#define HEAP_SIZE ((uint32_t) ((uint32_t)&HEAP$$Limit - (uint32_t)&HEAP$$Base))
38-
#endif
39-
4026
#if defined(TARGET_EFM32GG_STK3700)
4127

4228
#ifndef INITIAL_SP

0 commit comments

Comments
 (0)