Skip to content

Commit cefd2fb

Browse files
andreas.larssonadbridge
andreas.larsson
authored andcommitted
Aligned with STM32F429
1 parent 0f00e12 commit cefd2fb

File tree

1 file changed

+7
-56
lines changed

1 file changed

+7
-56
lines changed

hal/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_C029/TOOLCHAIN_ARM_STD/startup_stm32f439xx.S

Lines changed: 7 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
;******************** (C) COPYRIGHT 2014 STMicroelectronics ********************
1+
;******************** (C) COPYRIGHT 2015 STMicroelectronics ********************
22
;* File Name : startup_stm32f439xx.s
33
;* Author : MCD Application Team
4-
;* Version : V2.1.0
5-
;* Date : 19-June-2014
6-
;* Description : STM32F439x devices vector table for MDK-ARM toolchain.
4+
;* Version : V2.4.0
5+
;* Date : 14-August-2015
6+
;* Description : STM32F439x devices vector table for MDK-ARM_STD toolchain.
77
;* This module performs:
88
;* - Set the initial SP
99
;* - Set the initial PC == Reset_Handler
@@ -39,29 +39,7 @@
3939
;
4040
;*******************************************************************************
4141

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-
AREA STACK, NOINIT, READWRITE, ALIGN=3
51-
Stack_Mem SPACE Stack_Size
52-
__initial_sp
53-
54-
55-
; <h> Heap Configuration
56-
; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
57-
; </h>
58-
59-
Heap_Size EQU 0x00000200
60-
61-
AREA HEAP, NOINIT, READWRITE, ALIGN=3
62-
__heap_base
63-
Heap_Mem SPACE Heap_Size
64-
__heap_limit
42+
__initial_sp EQU 0x20020000 ; Top of RAM
6543

6644
PRESERVE8
6745
THUMB
@@ -326,7 +304,7 @@ Default_Handler PROC
326304
EXPORT OTG_HS_WKUP_IRQHandler [WEAK]
327305
EXPORT OTG_HS_IRQHandler [WEAK]
328306
EXPORT DCMI_IRQHandler [WEAK]
329-
EXPORT CRYP_IRQHandler [WEAK]
307+
EXPORT CRYP_IRQHandler [WEAK]
330308
EXPORT HASH_RNG_IRQHandler [WEAK]
331309
EXPORT FPU_IRQHandler [WEAK]
332310
EXPORT UART7_IRQHandler [WEAK]
@@ -435,33 +413,6 @@ DMA2D_IRQHandler
435413
ENDP
436414

437415
ALIGN
438-
439-
;*******************************************************************************
440-
; User Stack and Heap initialization
441-
;*******************************************************************************
442-
IF :DEF:__MICROLIB
443-
444-
EXPORT __initial_sp
445-
EXPORT __heap_base
446-
EXPORT __heap_limit
447-
448-
ELSE
449-
450-
IMPORT __use_two_region_memory
451-
EXPORT __user_initial_stackheap
452-
453-
__user_initial_stackheap
454-
455-
LDR R0, = Heap_Mem
456-
LDR R1, =(Stack_Mem + Stack_Size)
457-
LDR R2, = (Heap_Mem + Heap_Size)
458-
LDR R3, = Stack_Mem
459-
BX LR
460-
461-
ALIGN
462-
463-
ENDIF
464-
465-
END
416+
END
466417

467418
;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE*****

0 commit comments

Comments
 (0)