aboutsummaryrefslogtreecommitdiff
path: root/lib/stm32/f4
AgeCommit message (Collapse)Author
2013-01-06Merging pull request #64 Various changesPiotr Esden-Tempski
Merge remote-tracking branch 'bgamari/master'
2012-11-14stm32/f4/adc: DMA can always be used with ADC2Ben Gamari
I can't find any evidence in the manual to support this comment's claim.
2012-11-13Proposed deduplication of peripherals, GPIO exampleKen Sarkies
See rambling post on dev list for justification
2012-11-08Merging pull request #60 Miscellaneous DMA fixes for F4Piotr Esden-Tempski
Merge remote-tracking branch 'bgamari/master'
2012-11-08stm32f4/dma: Fix cut-and-paste errorBen Gamari
2012-11-08stm32f4: Add dma.oBen Gamari
2012-11-07Eliminate redundant gpio code from f2/f4/l1Karl Palsson
Implemented as per exti2
2012-11-07Enable nvic and exti support for L1Karl Palsson
And include an example that uses it.
2012-10-31Merge pull request #57 F2/F4 timer merging actionPiotr Esden-Tempski
Merge remote-tracking branch 'tdaede/f4-timer'
2012-10-31Added new f4 adc module to the library makefile.Piotr Esden-Tempski
2012-10-31Merge pull request #55 STM32F4: New adc modulePiotr Esden-Tempski
Merge remote-tracking branch 'ksarkies/adc-f4'
2012-10-31STM32F4 New: headers and source code for DMAKen Sarkies
This has been tested with some dac, timer and (as yet uncommitted) adc examples.
2012-10-31Merge pull request #22 fixing usb and f4 alignment issuesPiotr Esden-Tempski
Merge remote-tracking branch 'jdk/master' Conflicts: lib/stm32/f1/Makefile lib/stm32/f4/Makefile
2012-10-30Move timer.c to be common to all stm32 seriesThomas Daede
2012-10-30STM32F4: New adc moduleKen Sarkies
Note adc.h was provided by Matthew Lai but was never merged. adc.c is new.
2012-10-29Merge branch 'generalizations'chrysn
this merges common c and header files of different architectures, adds a dispatch mechanism and yaml descriptions of interrupt handlers from which the whole interrupt table setup c code is generated.
2012-10-22Missing EXTI ports and flag numbers for F4Karl Palsson
(Also missing for forthcoming L1)
2012-10-19remove nvic.o from stm32/f[24]'s explicit listchrysn
this was missed out in 75c216582, see there for details
2012-10-19build common .o files everywhere (fixes issue #29)chrysn
vector.o, nvic.o, scb.o and assert.o are available on every platform, but at least some of them differ between the implementations. they already got built explicityly on some platforms; now adding them to the common Makefile.include.
2012-10-18unify scb (system control block)chrysn
these register definitions are common to all cortex mcus. some of the registers might not be implemented everywhere (especially the floating point registers), but defining them does no harm. this modification does not result in any changes in the example binaries.
2012-10-18fix bug resulting from equally named fileschrysn
the local vector.o files shadowed the ../cm3/vector.c from VPATH, resulting in empty reset vectors.
2012-10-18drop two-line vector.c dispatchers in favor of central dispatchchrysn
2012-10-17Merge branch 'master' into generalizationschrysn
Conflicts: lib/lm3s/vector.c -- split out to lm3s/irq.h lib/stm32/f4/vector.c -- put the floating point initialization code into a function like in lpc43xx
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-05unified vector table initializationchrysn
the cortex generic interrupts get moved to lib/cm3/vector.c, the platorms' individual irq names, initialization and handler prototypes go to platoform specific irq.h files. as the vector.c file heavily depends on platoform specific headers, it can't be built once-and-for-all in lib/cm3/, so there are inclusion stubs in the various architecture dirs; this might be better solved with Makefile / include path handling. one particular file is lib/lpc43xx/vector.c; that platform's initialization code contains an additional section to copy everything from flash to ram (which probably performs better there). that code still resides in the inclusion stub, and gets mashed in using defines. would need a cleaner implementation together with the Makefile solution. this commit contains some files of the upcoming efm32 branch, from which it was cherry-picked. the .bin files produced from before and after this commit only differ in lpc43xx, where the startup sequence was subtly modified.
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-13stm32 F2/F4 gpio_set_af() fixJason Kotzin
2012-09-13USB core updated for reentrance based on Christian Cier-Zniewski's branchJason Kotzin
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.