1
- ;******************** (C) COPYRIGHT 2014 STMicroelectronics ********************
1
+ ;******************** (C) COPYRIGHT 2015 STMicroelectronics ********************
2
2
;* File Name : startup_stm32f439xx.s
3
3
;* 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.
7
7
;* This module performs:
8
8
;* - Set the initial SP
9
9
;* - Set the initial PC == Reset_Handler
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
- 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
65
43
66
44
PRESERVE8
67
45
THUMB
@@ -326,7 +304,7 @@ Default_Handler PROC
326
304
EXPORT OTG_HS_WKUP_IRQHandler [ WEAK ]
327
305
EXPORT OTG_HS_IRQHandler [ WEAK ]
328
306
EXPORT DCMI_IRQHandler [ WEAK ]
329
- EXPORT CRYP_IRQHandler [ WEAK ]
307
+ EXPORT CRYP_IRQHandler [ WEAK ]
330
308
EXPORT HASH_RNG_IRQHandler [ WEAK ]
331
309
EXPORT FPU_IRQHandler [ WEAK ]
332
310
EXPORT UART7_IRQHandler [ WEAK ]
@@ -435,33 +413,6 @@ DMA2D_IRQHandler
435
413
ENDP
436
414
437
415
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
466
417
467
418
;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE*****
0 commit comments