Skip to content

Commit 6a8ac81

Browse files
author
Jamie Smith
authored
Fix ASM that interfered with the GCC linker script and made the linker try to zero the entire RAM space (#75)
1 parent 022d4f4 commit 6a8ac81

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

targets/TARGET_Maxim/TARGET_MAX32620C/device/TOOLCHAIN_GCC_ARM/startup_max32620.S

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -34,36 +34,6 @@
3434
.syntax unified
3535
.arch armv7-m
3636

37-
.section .stack
38-
.align 3
39-
#ifdef __STACK_SIZE
40-
.equ Stack_Size, __STACK_SIZE
41-
#else
42-
.equ Stack_Size, 0x00001000
43-
#endif
44-
.globl __StackTop
45-
.globl __StackLimit
46-
__StackLimit:
47-
.space Stack_Size
48-
.size __StackLimit, . - __StackLimit
49-
__StackTop:
50-
.size __StackTop, . - __StackTop
51-
52-
.section .heap
53-
.align 3
54-
#ifdef __HEAP_SIZE
55-
.equ Heap_Size, __HEAP_SIZE
56-
#else
57-
.equ Heap_Size, 0x00004000
58-
#endif
59-
.globl __HeapBase
60-
.globl __HeapLimit
61-
__HeapBase:
62-
.space Heap_Size
63-
.size __HeapBase, . - __HeapBase
64-
__HeapLimit:
65-
.size __HeapLimit, . - __HeapLimit
66-
6737
.section .isr_vector
6838
.align 2
6939
.globl __isr_vector

0 commit comments

Comments
 (0)