stm32f1: Fix bugs in std library.

This commit is contained in:
Solomon Peachy 2013-08-03 21:30:59 -04:00
parent f04ee1be5b
commit 318aa83967
2 changed files with 7 additions and 1 deletions

View File

@ -89,7 +89,12 @@ LoopCopyDataInit:
/* Zero fill the bss segment. */
FillZerobss:
movs r3, #0
str r3, [r2], #4
// XXX fix a bug.
str r3, [r2]
adds r2, r2, #4
// XXX original code:
// str r3, [r2], #4
// XXX Done
LoopFillZerobss:
ldr r3, = _ebss

View File

@ -98,6 +98,7 @@
/* Includes ------------------------------------------------------------------*/
#include "stm32f0xx_dac.h"
#include "stm32f0xx_rcc.h"
/** @addtogroup STM32F0xx_StdPeriph_Driver
* @{