File tree Expand file tree Collapse file tree 2 files changed +6
-26
lines changed
libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4
TARGET_DISCO_L476VG/TOOLCHAIN_ARM_MICRO
TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_MICRO Expand file tree Collapse file tree 2 files changed +6
-26
lines changed Original file line number Diff line number Diff line change 39
39
;
40
40
;*******************************************************************************
41
41
42
- ; Amount of memory (in bytes) allocated for Stack
43
- ; Tailor this value to your application needs
44
- ; <h> Stack Configuration
45
- ; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
46
- ; </h>
47
-
48
- Stack_Size EQU 0x00000400
49
-
50
42
AREA STACK , NOINIT , READWRITE , ALIGN= 3
51
43
EXPORT __initial_sp
52
-
53
- Stack_Mem SPACE Stack_Size
54
44
55
45
__initial_sp EQU 0x10008000 ; Top of RAM, L4-ECC-SRAM2 retained in standby
56
46
57
47
; <h> Heap Configuration
58
48
; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
59
49
; </h>
60
50
61
- Heap_Size EQU 0x00000400
51
+ Heap_Size EQU 0x8000 ; 32KB
62
52
63
53
AREA HEAP , NOINIT , READWRITE , ALIGN= 3
64
54
EXPORT __heap_base
65
55
EXPORT __heap_limit
66
56
67
57
__heap_base
68
58
Heap_Mem SPACE Heap_Size
69
- __heap_limit EQU (__initial_sp - Stack_Size)
59
+ __heap_limit
70
60
71
61
PRESERVE8
72
62
THUMB
73
63
74
-
75
64
; Vector Table Mapped to Address 0 at Reset
76
65
AREA RESET , DATA , READONLY
77
66
EXPORT __Vectors
@@ -415,3 +404,4 @@ FPU_IRQHandler
415
404
END
416
405
417
406
;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE*****
407
+
Original file line number Diff line number Diff line change 39
39
;
40
40
;*******************************************************************************
41
41
42
- ; Amount of memory (in bytes) allocated for Stack
43
- ; Tailor this value to your application needs
44
- ; <h> Stack Configuration
45
- ; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
46
- ; </h>
47
-
48
- Stack_Size EQU 0x00000400
49
-
50
42
AREA STACK , NOINIT , READWRITE , ALIGN= 3
51
43
EXPORT __initial_sp
52
-
53
- Stack_Mem SPACE Stack_Size
54
44
55
45
__initial_sp EQU 0x10008000 ; Top of RAM, L4-ECC-SRAM2 retained in standby
56
46
57
47
; <h> Heap Configuration
58
48
; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
59
49
; </h>
60
50
61
- Heap_Size EQU 0x00000400
51
+ Heap_Size EQU 0x8000 ; 32KB
62
52
63
53
AREA HEAP , NOINIT , READWRITE , ALIGN= 3
64
54
EXPORT __heap_base
65
55
EXPORT __heap_limit
66
56
67
57
__heap_base
68
58
Heap_Mem SPACE Heap_Size
69
- __heap_limit EQU (__initial_sp - Stack_Size)
59
+ __heap_limit
70
60
71
61
PRESERVE8
72
62
THUMB
73
63
74
-
75
64
; Vector Table Mapped to Address 0 at Reset
76
65
AREA RESET , DATA , READONLY
77
66
EXPORT __Vectors
@@ -415,3 +404,4 @@ FPU_IRQHandler
415
404
END
416
405
417
406
;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE*****
407
+
You can’t perform that action at this time.
0 commit comments