Gareth McMullin
03e44e91e3
Linker scripts provide stack pointer at the top of RAM.
...
Thanks to Tomaz Solc.
2012-02-12 15:00:09 -08:00
Mike Smith
5310cd1b57
Flash sector erase requires the FLASH_SER bit set.
2012-02-12 15:00:08 -08:00
Piotr Esden-Tempski
1a3ad6e998
Added the entry point definiton to all stm32 linker scripts. This allows gdb to reset the target correctly on exit.
2012-02-11 22:24:41 -08:00
Uwe Hermann
9532195e65
More coding-style and cosmetic fixes.
2012-02-06 23:39:06 +01:00
Fergus Noble
ac29b654a9
Fix nasty bug with GPIO alternate function setup on F2/F4 (sorry guys).
2012-02-06 23:08:06 +01:00
Fergus Noble
5dce4172a8
Fix bug with F4 clock settings, change HPRE to PPRE.
2012-02-06 23:08:06 +01:00
Fergus Noble
fae83c43c1
Discard .ARM.exidx section to make newlib 64bit (long long) printf support work. This may need to be fixed if using C++.
2012-02-06 23:08:06 +01:00
Gareth McMullin
651917aeb4
Added USB example for stm32f4.
...
Moved clock enable for OTG_FS back into applications. This and gpio config
are the only differences between f107 and f2xx/f4xx.
2011-12-17 14:11:39 +13:00
Piotr Esden-Tempski
c6f30043fd
Added UART4 and UART5 gpio definitions for stm32f1. Also corrected the naming everywhere. Both peripherals are UARTS not U_S_ARTS.
2011-11-16 18:17:56 -08:00
Uwe Hermann
d97c937b8e
lib: More small fixes.
2011-11-17 00:09:29 +01:00
Uwe Hermann
0d25aa3fcd
lib/stm32/f4: Coding-style fixes.
2011-11-17 00:09:28 +01:00
Gareth McMullin
7546ad9736
Fixed loading of .data in linker scripts.
...
This fixes a problem where the linker included some padding
bytes between the end of the .text section (_etext) and the
start of the .data section.
The C runtime copies from _etext, so all static initialised data
was corrupted. This change forces the .data section to be written
at _etext to avoid this problem.
2011-11-12 21:29:41 +13:00
Stephen Caudle
4c18313da6
Fix alignment issue in data section
2011-11-07 23:23:16 -05:00
Stephen Caudle
d9a76c75c2
Add timer support for STM32F2 & STM32F4
2011-11-02 14:26:36 -04:00
Stephen Caudle
62c105abeb
Fix APB1 & APB2 frequencies in STM32F4 RCC table
2011-11-02 14:26:33 -04:00
Stephen Caudle
c26abb6c25
Add pwr to STM32F4 makefile
2011-11-02 14:26:31 -04:00
Stephen Caudle
5a89d44591
Add initial support for STM32F4
2011-10-31 00:41:19 -04:00