Fixed bugs 3026528 and 3027975.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2062 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2010-07-11 06:03:32 +00:00
parent f6554b6135
commit 25588d58b5
3 changed files with 11 additions and 1 deletions

View File

@ -20,6 +20,13 @@
.syntax unified
.thumb
/* If the macro is not defined in the Makefile then a board.h file must be
provided containing the definition of the STM32 family member.*/
#if !defined(STM32F10X_LD) && !defined(STM32F10X_MD) && \
!defined(STM32F10X_HD) && !defined(STM32F10X_CL)
#include "board.h"
#endif
.section vectors
_vectors:
.word __ram_end__

View File

@ -51,7 +51,7 @@ void port_switch(Thread *ntp, Thread *otp) {
"push r8 \n\t" \
"push r7 \n\t" \
"push r6 \n\t" \
"push r6 \n\t" \
"push r5 \n\t" \
"push r4");
otp->p_ctx.sp = sp;
sp = ntp->p_ctx.sp;

View File

@ -59,6 +59,9 @@
*****************************************************************************
*** 2.1.1 ***
- FIX: Fixed invalid contex restore in MSP430 port (bug 3027975)(backported
to 2.0.2).
- FIX: Fixed STM32 vectors file (bug 3026528)(backported to 2.0.2).
- FIX: Fixed race condition in STM32 SPI driver (bug 3025854)(backported to
2.0.2).
- FIX: Fixed H_LOCK and H_UNLOCK redefined with CH_USE_MALLOC_HEAP (bug