Skip to content

Commit 5b28191

Browse files
committed
fix the startup.s to the newest version
1 parent 764a9ca commit 5b28191

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

bsp/stm32/libraries/STM32L4xx_HAL/CMSIS/Device/ST/STM32L4xx/Source/Templates/arm/startup_stm32l4r9xx.s

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,25 @@
1010
;* calls main()).
1111
;* After Reset the Cortex-M4 processor is in Thread mode,
1212
;* priority is Privileged, and the Stack is set to Main.
13-
;* <<< Use Configuration Wizard in Context Menu >>>
1413
;*******************************************************************************
1514
;*
1615
;* <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
1716
;* All rights reserved.</center></h2>
1817
;*
19-
;* This software component is licensed by ST under BSD 3-Clause license,
18+
;* This software component is licensed by ST under Apache License, Version 2.0,
2019
;* the "License"; You may not use this file except in compliance with the
2120
;* License. You may obtain a copy of the License at:
22-
;* opensource.org/licenses/BSD-3-Clause
21+
;* opensource.org/licenses/Apache-2.0
2322
;*
2423
;*******************************************************************************
25-
;
24+
;* <<< Use Configuration Wizard in Context Menu >>>
2625
; Amount of memory (in bytes) allocated for Stack
2726
; Tailor this value to your application needs
2827
; <h> Stack Configuration
2928
; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
3029
; </h>
3130

32-
Stack_Size EQU 0x400;
31+
Stack_Size EQU 0x400
3332

3433
AREA STACK, NOINIT, READWRITE, ALIGN=3
3534
Stack_Mem SPACE Stack_Size
@@ -40,7 +39,7 @@ __initial_sp
4039
; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
4140
; </h>
4241

43-
Heap_Size EQU 0x200;
42+
Heap_Size EQU 0x200
4443

4544
AREA HEAP, NOINIT, READWRITE, ALIGN=3
4645
__heap_base

0 commit comments

Comments
 (0)