Fixed bug #635.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8238 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
6774111f77
commit
37d632cd0f
|
@ -224,7 +224,7 @@ endinitloop:
|
|||
/* Main program invocation, r0 contains the returned value.*/
|
||||
bl main
|
||||
|
||||
#if CRT0_CALL_CONSTRUCTORS == TRUE
|
||||
#if CRT0_CALL_DESTRUCTORS == TRUE
|
||||
/* Destructors invocation.*/
|
||||
ldr r4, =__fini_array_start
|
||||
ldr r5, =__fini_array_end
|
||||
|
|
|
@ -178,6 +178,8 @@ Reset_Handler:
|
|||
movw r1, #SCB_FPCCR & 0xFFFF
|
||||
movt r1, #SCB_FPCCR >> 16
|
||||
str r0, [r1]
|
||||
dsb
|
||||
isb
|
||||
|
||||
/* CPACR initialization.*/
|
||||
movw r0, #CRT0_CPACR_INIT & 0xFFFF
|
||||
|
@ -185,6 +187,8 @@ Reset_Handler:
|
|||
movw r1, #SCB_CPACR & 0xFFFF
|
||||
movt r1, #SCB_CPACR >> 16
|
||||
str r0, [r1]
|
||||
dsb
|
||||
isb
|
||||
|
||||
/* FPU FPSCR initially cleared.*/
|
||||
mov r0, #0
|
||||
|
@ -285,7 +289,7 @@ endinitloop:
|
|||
/* Main program invocation, r0 contains the returned value.*/
|
||||
bl main
|
||||
|
||||
#if CRT0_CALL_CONSTRUCTORS == TRUE
|
||||
#if CRT0_CALL_DESTRUCTORS == TRUE
|
||||
/* Destructors invocation.*/
|
||||
ldr r4, =__fini_array_start
|
||||
ldr r5, =__fini_array_end
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
+--readme.txt - This file.
|
||||
+--documentation.html - Shortcut to the web documentation page.
|
||||
+--license.txt - GPL license text.
|
||||
+--exception.txt - GPL exception text (stable releases only).
|
||||
+--demos/ - Demo projects, one directory per platform.
|
||||
+--docs/ - Documentation.
|
||||
| +--common/ - Documentation common build resources.
|
||||
|
@ -95,6 +94,8 @@
|
|||
- HAL: Introduced support for TIM21 and TIM22 in STM32 ST driver.
|
||||
- HAL: Updated STM32F0xx headers to STM32CubeF0 version 1.3.0. Added support
|
||||
for STM32F030xC, STM32F070x6, STM32F070xB devices.
|
||||
- VAR: Fixed CRT0_CALL_DESTRUCTORS not utilised in crt0_v7m.s (bug #635)
|
||||
(backported to 3.0.2).
|
||||
- HAL: Fixed wrong ld file in STM32F072xB USB CDC demo (bug #634)(backported
|
||||
to 3.0.2).
|
||||
- NIL: Fixed Wrong assertion in NIL chSemResetI() and NIL OSAL
|
||||
|
|
Loading…
Reference in New Issue