diff options
| author | aozima <[email protected]> | 2013-02-20 21:54:08 +0800 |
|---|---|---|
| committer | aozima <[email protected]> | 2013-02-20 21:54:08 +0800 |
| commit | 5fb028968b3629ac54a7fe7dc74245da05ec864f (patch) | |
| tree | ecd16596e5d31a5e47fa8f45186c6c4666902bbb | |
| parent | eefb272cfdd782d57f106039eb1e10d08c387de6 (diff) | |
fix compile errors in bsp:stm32f0x.
| -rw-r--r-- | bsp/stm32f0x/Libraries/CMSIS/ST/STM32F0xx/Source/Templates/gcc_ride7/startup_stm32f0xx.s | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bsp/stm32f0x/Libraries/CMSIS/ST/STM32F0xx/Source/Templates/gcc_ride7/startup_stm32f0xx.s b/bsp/stm32f0x/Libraries/CMSIS/ST/STM32F0xx/Source/Templates/gcc_ride7/startup_stm32f0xx.s index 63cd72b581..5fd2d5afff 100644 --- a/bsp/stm32f0x/Libraries/CMSIS/ST/STM32F0xx/Source/Templates/gcc_ride7/startup_stm32f0xx.s +++ b/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 |
