aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/cm3
AgeCommit message (Collapse)Author
2012-11-12Documentation updatesKen Sarkies
2012-10-18unified systick handlingchrysn
the only change this results in in the example binaries is in the hackrf-jellybean/systick example, where the the check in systick_set_clocksource for overflowing from the stm32 area gets used.
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-18dispatch for chip specific nvicchrysn
2012-10-18nvic.h factored out (incomplete)chrysn
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-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-08-20STM32F1xx: Changed markup to get more control over documentation, eachKen Sarkies
file having its own group module rather than using @file. No code changes except for the following: gpio: Added function to map the eventout signal plus two Remap functions dma: Prevent changing base addresses while channel enabled (see datasheet) pwr: Added pwr.c (new file) timer: Removed the last function that I introduced recently; there is already an equivalent function present. Changed some parameter names for consistency.
2012-06-27Merge pull request #6 "Doxygen markup and grouping structrue"Piotr Esden-Tempski
Merge remote-tracking branch 'ksarkies/doc' Conflicts: include/libopencm3/cm3/common.h
2012-06-09Work on scs.h register and also nvic.h.TitanMKD
ARM Interrupt API (see nvic.h). ARM SysTick API (see systick.h). Example using both Interrupt and SysTick and blink LED1/2/3 see systickdemo.c.
2012-06-02Added JellyBean Configuration for PinMux, GPIO In/Out (work in progress).TitanMKD
Added scu driver file scu.c. Modified Makefile/Makefile.include to generate .map file and use -O2 as optimization. Modified hackrf-jellybean miniblink.c to enable 1V8 and blink LED1,2&3 with configuration of PinMux and GPIO.
2012-05-28Header files for Doxygen group structure, layout changes to headings, ↵Ken Sarkies
example markup in stm32f1/ rcc
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.
2011-11-11common.h: Add Doxygen main page text.Uwe Hermann
2011-11-02Minor whitespace fixes.Uwe Hermann
2011-10-27Add RCC and FLASH support for STM32F2Stephen Caudle
2011-02-17Added ITM and TPIU register definitions.Gareth McMullin
2011-02-09Add some missing LIBOPENCM3_ prefixes.Uwe Hermann
2011-02-09FPB: More consistency fixes.Uwe Hermann
Fix incorrect FPB_CTRL_NUM_CODE2_MASK value, too.
2011-02-09FPB: Fix typo.Uwe Hermann
2011-02-09FPB: Minor additions, consistency fixes.Uwe Hermann
2011-02-09Minor cosmetics, whitespace.Uwe Hermann
2011-02-08Added Flash Patch and Breakpoint (FPB) register definitions.Gareth McMullin
2011-02-08Added ARMv7-M Core Debug (SCS) register definitions.Gareth McMullin
2010-12-31Some more file/path restructuring.Uwe Hermann
All #includes now explicitly use the "<libopencm3/stm32/rcc.h>" format. If you want to get rid of the "libopencm3" prefix in your local project you can add a respective -I entry in your Makefile (not recommended though). All .ld files and .a libs are installed in $(TOOLCHAIN_DIR)/lib directly (as before), but are now renamed to avoid potential conflicts now or in the future. Examples: libopencm3_lpc13xx.a libopencm3_lpc13xx.ld libopencm3_stm32.a libopencm3_stm32.ld