File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed
targets/TARGET_GigaDevice
TARGET_GD32F30X/TARGET_GD32F307VG/device/TOOLCHAIN_GCC_ARM Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ SECTIONS
110
110
__end__ = .;
111
111
end = __end__;
112
112
*(.heap*)
113
+ . = ORIGIN (RAM) + LENGTH (RAM) - STACK_SIZE;
113
114
__HeapLimit = .;
114
115
} > RAM
115
116
Original file line number Diff line number Diff line change 45
45
46
46
#endif
47
47
48
- #if (defined(__GNUC__ ) && !defined(__CC_ARM ) && !defined(__ARMCC_VERSION ) && defined(TWO_RAM_REGIONS ))
49
- extern uint32_t __StackLimit [];
50
- extern uint32_t __StackTop [];
51
- extern uint32_t __end__ [];
52
- extern uint32_t __HeapLimit [];
53
- #define HEAP_START ((unsigned char*)__end__)
54
- #define HEAP_SIZE ((uint32_t)((uint32_t)__HeapLimit - (uint32_t)HEAP_START))
55
- #define ISR_STACK_START ((unsigned char*)__StackLimit)
56
- #define ISR_STACK_SIZE ((uint32_t)((uint32_t)__StackTop - (uint32_t)__StackLimit))
57
- #endif
58
-
59
48
#endif /* MBED_MBED_RTX_H */
You can’t perform that action at this time.
0 commit comments