aboutsummaryrefslogtreecommitdiff
path: root/lib/stm32/f4
AgeCommit message (Collapse)Author
2012-10-05Merging pull request #37 Adds hard-float support to stm32f4, with a nice ↵Piotr Esden-Tempski
mandelbrot example Merge remote-tracking branch 'schodet/hard-float'
2012-10-02Add assert macros to aid in debugging.Tomaz Solc
Adds libopencm3/cm3/assert.h header that provides assertion check macros similar to those provided by the standard C library. Thanks to Nicolas Schodet for help.
2012-09-27Enable floating-point coprocessor on reset.Daniel Serpell
Always enable the floating-point coprocessor with full access on reset, allowing usage of hard-fp toolchains.
2012-09-27Compile stm32-f4 library with floating point support.Daniel Serpell
This enables hard-float in the compilation of library and examples for the stm32f40* chips.
2012-09-03Support exceptions on all targetsNicolas Schodet
2012-09-03Use a specific symbol for data source address in flashNicolas Schodet
That way, data source address does not depend on any other unrelated change in linker script. This also fixes cases when .data input section is aligned on 8 bytes. The new version does not provide any address for the output section so that it is aligned to the strictest input section. The _data_loadaddr symbol will always take this alignment into account.
2012-09-03Clean up and make linker scripts more uniformNicolas Schodet
This includes: - fix some comments indent, - add entry point, - align exported symbols, - remove unneeded "." assignments.
2012-08-13Changed local build target for library and linker files.Piotr Esden-Tempski
- The library files are now being built into the lib subdirectory of the source. - The linker files for each library are being copied into the lib source subdirectory. Motivation: The relative locations of files in the source directory after make are now the same as after make install now. This makes it easier to reuse examples with their makefiles outside of the libopencm3 sourcecode directory.
2012-05-31Use ODR instead of IDR to toggle an output GPIONicolas Schodet
IDR represents the level on pin input while ODR is the value requested by the programmer. This makes a difference for example when using the output as open drain.
2012-05-25Mark reg32 variables as used. So that the compiler does not complain.Piotr Esden-Tempski
2012-04-07Corrected parameters of timer_set_mode() to u32.Gareth McMullin
2012-03-18Added basic exception handling to the stm32 linker scripts. Thanks Mike Smith!Piotr Esden-Tempski
2012-03-02Some additional LGPL3+ license change cleanups.Piotr Esden-Tempski
Changed the license to LGPL3+ for some makefiles that got ommited in the previous big patch commit. Corrected a find and replace error in a linker file.
2012-03-02License change of the library to LGPL, version 3 or later.Piotr Esden-Tempski
Agreed to by all the significant contributors to the library.
2012-02-24Added set priority group convenience function.Piotr Esden-Tempski
2012-02-12Linker scripts provide stack pointer at the top of RAM.Gareth McMullin
Thanks to Tomaz Solc.
2012-02-12Flash sector erase requires the FLASH_SER bit set.Mike Smith
2012-02-11Added the entry point definiton to all stm32 linker scripts. This allows gdb ↵Piotr Esden-Tempski
to reset the target correctly on exit.
2012-02-06More coding-style and cosmetic fixes.Uwe Hermann
2012-02-06Fix nasty bug with GPIO alternate function setup on F2/F4 (sorry guys).Fergus Noble
2012-02-06Fix bug with F4 clock settings, change HPRE to PPRE.Fergus Noble
2012-02-06Discard .ARM.exidx section to make newlib 64bit (long long) printf support ↵Fergus Noble
work. This may need to be fixed if using C++.
2011-12-17Added USB example for stm32f4.Gareth McMullin
Moved clock enable for OTG_FS back into applications. This and gpio config are the only differences between f107 and f2xx/f4xx.
2011-11-16Added UART4 and UART5 gpio definitions for stm32f1. Also corrected the ↵Piotr Esden-Tempski
naming everywhere. Both peripherals are UARTS not U_S_ARTS.
2011-11-17lib: More small fixes.Uwe Hermann
2011-11-17lib/stm32/f4: Coding-style fixes.Uwe Hermann
2011-11-12Fixed loading of .data in linker scripts.Gareth McMullin
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-07Fix alignment issue in data sectionStephen Caudle
2011-11-02Add timer support for STM32F2 & STM32F4Stephen Caudle
2011-11-02Fix APB1 & APB2 frequencies in STM32F4 RCC tableStephen Caudle
2011-11-02Add pwr to STM32F4 makefileStephen Caudle
2011-10-31Add initial support for STM32F4Stephen Caudle