aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/efm32
AgeCommit message (Collapse)Author
2013-03-07Repair to documentation (most documented files)Ken Sarkies
to remove errors, duplications and inconsistencies. File lib/stm32/f1/pwr.c - all code removed as it duplicates that in common/pwr_common.c Remaining changes do not affect code. Compiles OK. TODO efm32 has no code so generates no modules TODO F2 needs pwr.c TODO L1 needs dma.h and dma.c
2012-11-12Documentation updatesKen Sarkies
2012-10-19added irqs for the rest of the efm32 deviceschrysn
2012-10-19rename tinygecko->efm32tg everywherechrysn
2012-10-18remove files not required in generalizations branch any morechrysn
2012-10-18Merge branch 'generalizations' into efm32chrysn
Conflicts: Makefile
2012-10-18integrate irq2nvic_h script in buildprocesschrysn
2012-10-18switch all interrupt lists to yaml formatchrysn
2012-10-18merge irq and nvic code using a scriptchrysn
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 back minimal support librarieschrysn
some of the libraries removed in [1] were essential to building anything on efm32 (especially, irq.h). [1] 4a6f4c0f7d62858a4a9afba18f11289cb0bb8358
2012-09-15remove the support libraries for efm32chrysn
i don't plan to extend or support them, and they'll just grow stale
2012-04-04added lcd examplechrysn
the way text is generated is currently rather awkward, looking for a better solution.
2012-03-04efm32: registers for ledschrysn
2012-03-04various enhancements for header generationchrysn
* don't reference sections that don't exist (typically happens for registers that don't contain any fields and are interpreted numerically. * allow templates to use override_backref for surpressing the list of registers that use it * print doc for fields even when it uses values or only exports a mask * allow fields to define their own mask; those fields have to define their values explicitly too, and don't have to provide a shift * don't print a "No values defined for the field" lines, as there's always a mask in that case by now.
2012-03-04header file generation learned register templateschrysn
registers that have the same structure can now use shared value definitions. the abstraction is kept active through the header generation; that is, no cartesian product code is generated.
2012-03-04efm32 cmu: convenience functionschrysn
includes a fix for the register definitions (subtle differences between two fields)
2012-03-04efm32: generate _MASK constantschrysn
constants are generated for all fields that either have named values or length > 1
2012-03-04efm32: shortened doxygen names and grouped them per chip familychrysn
2012-03-04experimental yaml based header file generationchrysn
the header file genertion mechanism here is designed to: * use human readable source data that is better structured and less repetitive than the header files themselves * produce same quality header files than the manual process of writing them. some features were not yet enabled to show that the existing headers didn't change. (look at emu.h's differences. whitespace switched from tabs to spaces as they are easier to handle, use --color-words to see the few differences that stemmed from inconsistencies in the original file.) * be less tedious and thus error prone when doing large modifications (eg, i forgot to add _MASK to bitfields, would like to enable bitbanding acces, and to overhaul the naming in doxygen modules)
2012-03-03efm32: some more cmu registers and doxygen updatechrysn
2012-03-03add missed license headers to efm32 fileschrysn
some files had nonstandard shared copyright lines, fixed them too
2012-03-03follow the license change to lgpl3 in efm32chrysn
this follows the license change of the master branches in [43561de]. all files whose copyright is not my own are originally based on files whose license has been changed in master. the expression used for the conversion was: sed -i -e 's/This program is free software: you can redistribute/This library is free software: you can redistribute/g' -e 's/under the terms of the GNU General Public License as published/under the terms of the GNU Lesser General Public License as published/' -e 's/This program is distributed in the hope that/This library is distributed in the hope that/g' -e 's/You should have received a copy of the GNU General/You should have received a copy of the GNU Lesser General/' -e 's/along with this program. If not/along with this library. If not/' -e 's/GNU General Public License for more details/GNU Lesser General Public License for more details/' */**/efm32/**/*(.) [43561de] 43561de3297b88d68753cb4625d6dc48bfb43d71
2012-03-02efm32: energy management unit headers and examplechrysn
2012-03-02(efm32: remove todo that couldn't work out)chrysn
2012-03-01convenience functions for efm32 gpiochrysn
also, the whole gpio header file is now a big doxygen group, structuring the convenience functions and the register/value definitions
2012-02-29efm32 tinygecko gpio: implemented all the bit valueschrysn
along with the actual implementation comes a first attempt to better structure the doxygen groups. putting all the groups in a bigger one makes it easier to reference them from the file itself, and makes the structure clearer on the module page.
2012-02-27efm32: minor documentation enhancementschrysn
2012-02-27efm32 tinygecko: defined interruptschrysn
there seems not to be anything family specific about the interrupt vectors of m3 based efm32 systems, thus renaming vector.h to irq.h
2012-02-27efm32: created memory map from all base addresseschrysn
2012-02-26overhauled documentationchrysn
includes minor refactoring in example code and modification of how the generic and the tinygecko specific vector.h go together (bringing it in line with stm32/f1's memorymap.h)
2012-02-25made blinking a led on efm32 possiblechrysn
this includes all register definitions for the gpu and mcu modules, but not all their bit definitions
2012-02-25first attempt at porting libopencm3 to energymicrochrysn
unless sources are explicitly given, the linker scripts and make files were copied over from the stm32/f1 port.