aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/f2
AgeCommit message (Collapse)Author
2012-11-13Proposed deduplication of peripherals, GPIO exampleKen Sarkies
See rambling post on dev list for justification
2012-11-07Enable nvic and exti support for L1Karl Palsson
And include an example that uses it.
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-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-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-02Add C linkage declaration for C++ usageNicolas Schodet
2012-03-21Revert "Fix setting alternate port functions on the STM32F2."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. See also 87ea496ca768d18e51d8654cbad9cb261a881b1b. This reverts commit 2433f17e7341d6afcda24d395d0b93c50a37b7b1.
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 STM32F2.Gareth McMullin
Thanks to Ricardo Martins.
2012-02-06f2/dma.h: Whitespace and coding-style fixes.Uwe Hermann
2012-02-06Fixed typo in F2 dma header to match the datasheet.Fergus Noble
2012-02-06DMA register definitions for F2.Fergus Noble
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/f2/pwr.h: Document reserved bits.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 generic STM32F2 RCC clock functionStephen Caudle
2011-10-30Clean up whitespace in stm32f2 GPIOStephen Caudle
2011-10-30Clean up whitespace in stm32f2 RCCStephen Caudle
Also make RCC IO defines consistent with stm32f1.
2011-10-30Add SCB from stm32f1Stephen Caudle
2011-10-27Merge remote-tracking branch 'fnoble/stm32f2' into stm32fxStephen Caudle
Conflicts: lib/stm32f2/Makefile
2011-10-27Add RCC and FLASH support for STM32F2Stephen Caudle
2011-10-26Add header for F2 syscfg peripheral.Fergus Noble
2011-10-26Fix NVIC defines for F2.Fergus Noble
2011-10-12RCC header file for F2 implemented, no convenience functions so far.Fergus Noble
2011-10-12Moving nvic code to common, adding F1 and F2 specific user interrupt ↵Fergus Noble
definition headers.
2011-10-12Some updates to the F2 GPIO header plus implementation of GPIO convenience ↵Fergus Noble
functions.
2011-10-12Initial import of F2 GPIO peripheral header file.Fergus Noble
2011-10-12Restructuring stm32 include directories.Fergus Noble
2011-09-16RCC header file for F2 implemented, no convenience functions so far.Fergus Noble
2011-09-15Moving nvic code to common, adding F1 and F2 specific user interrupt ↵Fergus Noble
definition headers.
2011-09-14Some updates to the F2 GPIO header plus implementation of GPIO convenience ↵Fergus Noble
functions.
2011-09-14Initial import of F2 GPIO peripheral header file.Fergus Noble
2011-09-14Restructuring stm32 include directories.Fergus Noble