aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/f4
AgeCommit message (Collapse)Author
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 DMA_ISR_OFFSET definitionBen Gamari
2012-11-07Enable nvic and exti support for L1Karl Palsson
And include an example that uses it.
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-30STM32F4: New adc moduleKen Sarkies
Note adc.h was provided by Matthew Lai but was never merged. adc.c is new.
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-18switch all interrupt lists to yaml formatchrysn
2012-10-18add irq cound to existing nvic.h fileschrysn
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 #28 Random number generator defenition and example.Piotr Esden-Tempski
Merge remote-tracking branch 'tiltit/master'
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-09-27Add all SCB registers mentioned in ARM DDI 0403D manual.Daniel Serpell
See table B3-4 and B3-5 for the definitions and B3-24 for the bit assignments of SBC_CPACR.
2012-09-15Setup to document entire project using doxygen.Ken Sarkies
New doc directory with config files and generated html, LaTeX/pdf. Makefile provided for autogeneration and explanatory README. The project structure is hostile to doxygen, which can't cope with functions of the same name. Doxygen is run for each family separately, and separately for LaTeX generation. Customized layout files sort of "integrate" HTML, and separate pdfs are generated for each family. Not ideal but seems the best solution until doxygen changes, if at all.
2012-09-07Random number generator register definitions.Oliver Dille
2012-09-02Add C linkage declaration for C++ usageNicolas Schodet
2012-03-21Revert "Fix setting alternate port functions on the STM32F4."Fergus Noble
This was also fixed in ac29b654a992a4855626fc0b92874d3847914f85 in a different way. I think the mask definition should be left with 1s indicating the bits of interest. This reverts commit e11185d47d0a2fea6d2782761edd5fd489541512.
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-24Updated SCB_AIRCR_PRIGROUP bit definitions to be more consistent with the ↵Piotr Esden-Tempski
style the library.
2012-02-12Fix setting alternate port functions on the STM32F4.Gareth McMullin
Thanks to Ricardo Martins.
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-11stm32/f4/pwr.h: Document reserved bits.Uwe Hermann
2011-11-11STM32F4: Fix typos, s/F2/F4/.Uwe Hermann
2011-11-10STM32F2/F4: SPI fixes.Uwe Hermann
- Rename SPI_CR2_FRF_TI to SPI_CR2_FRF_TI_MODE to match datasheet. - Rename SPI_CR2_FRF_MOTOROLA to SPI_CR2_FRF_MOTOROLA_MODE (see above). - Fix SPI_CR2_FRF_MOTOROLA_MODE bit definition, must be (0 << 4). - Change SPI_SR_RXNE to SPI_SR_TIFRFE; this was probably a copy-paste error. Also, the bit definition is (1 << 8).
2011-11-02Add USART6 definitions to STM32F3 & STM32F4Stephen Caudle
2011-11-02Add timer support for STM32F2 & STM32F4Stephen Caudle
2011-10-31Fix more STM32 whitespace issuesStephen Caudle
2011-10-31Fix STM32 flash programming doc linksStephen Caudle
2011-10-31Add initial support for STM32F4Stephen Caudle