浏览代码

fix compile errors in bsp:stm32f0x.

aozima 12 年之前
父节点
当前提交
5fb028968b

+ 2 - 1
bsp/stm32f0x/Libraries/CMSIS/ST/STM32F0xx/Source/Templates/gcc_ride7/startup_stm32f0xx.s

@@ -89,7 +89,8 @@ LoopCopyDataInit:
 /* Zero fill the bss segment. */  
 FillZerobss:
   movs r3, #0
-  str r3, [r2], #4
+  str r3, [r2, #4]
+  adds r2, r2, #4
     
 LoopFillZerobss:
   ldr r3, = _ebss