We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc71c66 commit b6ff439Copy full SHA for b6ff439
targets/TARGET_Silicon_Labs/mbed_rtx.h
@@ -23,6 +23,20 @@
23
#define OS_CLOCK REFERENCE_FREQUENCY
24
#endif
25
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
39
+
40
#if defined(TARGET_EFM32GG_STK3700)
41
42
#ifndef INITIAL_SP
0 commit comments