|
3 | 3 | ;* Author : MCD Application Team
|
4 | 4 | ;* Version : V2.1.1
|
5 | 5 | ;* Date : 20-November-2015
|
6 |
| -;* Description : STM32F207xx devices vector table for MDK-ARM_STD toolchain. |
| 6 | +;* Description : STM32F207xx 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
|
|
13 | 13 | ;* After Reset the CortexM3 processor is in Thread mode,
|
14 | 14 | ;* priority is Privileged, and the Stack is set to Main.
|
15 | 15 | ;*******************************************************************************
|
16 |
| -; |
| 16 | +; |
17 | 17 | ;* Redistribution and use in source and binary forms, with or without modification,
|
18 | 18 | ;* are permitted provided that the following conditions are met:
|
19 | 19 | ;* 1. Redistributions of source code must retain the above copyright notice,
|
|
35 | 35 | ;* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
36 | 36 | ;* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
37 | 37 | ;* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
38 |
| -; |
| 38 | +; |
39 | 39 | ;*******************************************************************************
|
40 | 40 |
|
41 |
| -; Amount of memory (in bytes) allocated for Stack |
42 |
| -; Tailor this value to your application needs |
43 |
| -; <h> Stack Configuration |
44 |
| -; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8> |
45 |
| -; </h> |
46 |
| - |
47 |
| -Stack_Size EQU 0x00000400 |
48 |
| - |
49 |
| - AREA STACK, NOINIT, READWRITE, ALIGN=3 |
50 |
| -Stack_Mem SPACE Stack_Size |
51 | 41 | __initial_sp EQU 0x20020000
|
52 | 42 |
|
53 |
| - |
54 |
| -; <h> Heap Configuration |
55 |
| -; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8> |
56 |
| -; </h> |
57 |
| - |
58 |
| -Heap_Size EQU 0x00000200 |
59 |
| - |
60 |
| - AREA HEAP, NOINIT, READWRITE, ALIGN=3 |
61 |
| -__heap_base |
62 |
| -Heap_Mem SPACE Heap_Size |
63 |
| -__heap_limit |
64 |
| - |
65 | 43 | PRESERVE8
|
66 | 44 | THUMB
|
67 | 45 |
|
@@ -404,33 +382,6 @@ HASH_RNG_IRQHandler
|
404 | 382 | ENDP
|
405 | 383 |
|
406 | 384 | ALIGN
|
407 |
| - |
408 |
| -;******************************************************************************* |
409 |
| -; User Stack and Heap initialization |
410 |
| -;******************************************************************************* |
411 |
| - IF :DEF:__MICROLIB |
412 |
| - |
413 |
| - EXPORT __initial_sp |
414 |
| - EXPORT __heap_base |
415 |
| - EXPORT __heap_limit |
416 |
| - |
417 |
| - ELSE |
418 |
| - |
419 |
| - IMPORT __use_two_region_memory |
420 |
| - EXPORT __user_initial_stackheap |
421 |
| - |
422 |
| -__user_initial_stackheap |
423 |
| - |
424 |
| - LDR R0, = Heap_Mem |
425 |
| - LDR R1, =(Stack_Mem + Stack_Size) |
426 |
| - LDR R2, = (Heap_Mem + Heap_Size) |
427 |
| - LDR R3, = Stack_Mem |
428 |
| - BX LR |
429 |
| - |
430 |
| - ALIGN |
431 |
| - |
432 |
| - ENDIF |
433 |
| - |
434 |
| - END |
| 385 | + END |
435 | 386 |
|
436 | 387 | ;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE*****
|
0 commit comments