File tree Expand file tree Collapse file tree 4 files changed +5
-88
lines changed Expand file tree Collapse file tree 4 files changed +5
-88
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -166,6 +166,7 @@ SECTIONS
166
166
__end__ = .;
167
167
end = __end__;
168
168
*(.heap*)
169
+ . = ORIGIN (DRAM) + LENGTH (DRAM);
169
170
__HeapLimit = .;
170
171
} > DRAM
171
172
PROVIDE (__sbrk_start = ADDR (.heap));
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 29
29
#define OS_CLOCK 160000000
30
30
#endif
31
31
32
- #if defined(__CC_ARM )
32
+ #if defined(__ARMCC_VERSION )
33
33
extern uint32_t Image$$ARM_LIB_HEAP$$ZI$$Base [];
34
34
extern uint32_t Image$$ARM_LIB_HEAP$$ZI$$Length [];
35
- extern uint32_t Image$$ARM_LIB_STACK$$ZI$$Base [];
36
- extern uint32_t Image$$ARM_LIB_STACK$$ZI$$Length [];
37
- #define HEAP_START ((unsigned char*) Image$$ARM_LIB_HEAP$$ZI$$Base)
38
- #define HEAP_SIZE ((uint32_t) Image$$ARM_LIB_HEAP$$ZI$$Length)
39
- #define ISR_STACK_START ((unsigned char*)Image$$ARM_LIB_STACK$$ZI$$Base)
40
- #define ISR_STACK_SIZE ((uint32_t)Image$$ARM_LIB_STACK$$ZI$$Length)
35
+ #define HEAP_START Image$$ARM_LIB_HEAP$$ZI$$Base
36
+ #define HEAP_SIZE Image$$ARM_LIB_HEAP$$ZI$$Length
41
37
#elif defined(__GNUC__ )
42
- extern uint32_t __StackTop [];
43
- extern uint32_t __StackLimit [];
44
- extern uint32_t __end__ [];
45
- extern uint32_t __HeapLimit [];
46
- #define HEAP_START ((unsigned char*)__end__)
47
- #define HEAP_SIZE ((uint32_t)((uint32_t)__HeapLimit - (uint32_t)HEAP_START))
48
- #define ISR_STACK_START ((unsigned char*)__StackLimit)
49
- #define ISR_STACK_SIZE ((uint32_t)((uint32_t)__StackTop - (uint32_t)__StackLimit))
38
+ /* No region declarations needed */
50
39
#elif defined(__ICCARM__ )
51
40
/* No region declarations needed */
52
41
#else
You can’t perform that action at this time.
0 commit comments