chrysn
563586c072
Merge branch 'master' into efm32
13 years ago
Piotr Esden-Tempski
43561de329
License change of the library to LGPL, version 3 or later.
Agreed to by all the significant contributors to the library.
13 years ago
chrysn
e388056fda
efm32: energy management unit headers and example
13 years ago
chrysn
eda122180a
(efm32: remove todo that couldn't work out)
13 years ago
Piotr Esden-Tempski
994d559a6c
Corrected interrupt flag register defines.
13 years ago
Piotr Esden-Tempski
f5cd026ae3
Added dma_channel_reset prototype.
13 years ago
chrysn
70ac046f98
added efm32 lightswitch example
13 years ago
chrysn
541fded753
convenience functions for efm32 gpio
also, the whole gpio header file is now a big doxygen group, structuring
the convenience functions and the register/value definitions
13 years ago
Piotr Esden-Tempski
ec904f176b
Cleaned up and streamlined DMA support for f1. Definitely needs a bunch of testing!
13 years ago
Piotr Esden-Tempski
20c5e56234
Fixed spi convenience reset function to compile properly.
13 years ago
chrysn
a747e887bd
efm32 tinygecko gpio: implemented all the bit values
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.
13 years ago
Piotr Esden-Tempski
c49f505df4
Added spi reset convenience function.
13 years ago
chrysn
8e90ffa2ab
fixed a bug in efm32 miniblink example
actually, it wasn't a bug; the compiler just optimized a statement away
until it was declared volatile. inserting a no-op assembler instruction
to make it more obvious what's going on
13 years ago
chrysn
805119786c
added upload target for segger's JLink tool
this is quite a hack, but the only way i know of by which firmware can
be uploaded to the efm32tg-stk until OpenOCD supports SWD on jlink
13 years ago
chrysn
09523e854d
efm32 example: enhanced makefiles
13 years ago
chrysn
f52b1a56b0
make doxygen ignore __attribute__
doxygen doesn't understand __attribute__ and constructs bogus call
graphs and dependencies from it.
according to the doxygen maintainer[1], this is the way to deal with it.
[1] http://sourceforge.net/mailarchive/message.php?msg_id=20085215
13 years ago
chrysn
d6a314bed7
efm32: make all interrupts usable in vector table
* define weak symbol for ${irq_name}_isr
* put them in the rom vector table
* declare reset_vector weak in case someone wants to insert code there
* remove null_handler (null handlers should be only requested
explicitly, and finding out why the chip gets stuck is easier than
determining whether or not a no-op interrupt handler was executed)
13 years ago
chrysn
f4376371ec
efm32: minor documentation enhancements
13 years ago
chrysn
f6025af859
efm32 tinygecko: defined interrupts
there seems not to be anything family specific about the interrupt
vectors of m3 based efm32 systems, thus renaming vector.h to irq.h
13 years ago
chrysn
be62115f00
efm32: created memory map from all base addresses
13 years ago
chrysn
91732cbb9e
make doxygen ignore .d files
.d files are created to track Makefile dependencies and don't contain
real code
13 years ago
chrysn
2275ed7b0c
overhauled documentation
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)
13 years ago
chrysn
08918902ab
made blinking a led on efm32 possible
this includes all register definitions for the gpu and mcu modules, but
not all their bit definitions
13 years ago
chrysn
2180a02e2f
first attempt at porting libopencm3 to energymicro
unless sources are explicitly given, the linker scripts and make files
were copied over from the stm32/f1 port.
13 years ago
Piotr Esden-Tempski
2b3f07ee08
Added reset function to i2c convenience functions.
13 years ago
Piotr Esden-Tempski
cbef43ddd8
Added set priority group convenience function.
13 years ago
Piotr Esden-Tempski
c5e5c0fdab
Updated SCB_AIRCR_PRIGROUP bit definitions to be more consistent with the style the library.
13 years ago
Piotr Esden-Tempski
1c5dfd9d22
Added fancyblink for lisa/m V2
13 years ago
Piotr Esden-Tempski
c654b2199a
Renamed current lisa-m tests to lisa-m-1 as it differs a bit from v2.
13 years ago
Piotr Esden-Tempski
bffbb0e54d
Added missing gpio definitions for timer 5.
13 years ago
Piotr Esden-Tempski
5a384ff895
Added combined gpio bank definitions to timers as you tend to set those up in bulk.
13 years ago
Piotr Esden-Tempski
b325c81127
Forgot some BANK suffixes.
13 years ago
Piotr Esden-Tempski
d4ea773de4
Added bank definitions to f1 gpio header.
13 years ago
Gareth McMullin
2433f17e73
Fix setting alternate port functions on the STM32F2.
Thanks to Ricardo Martins.
13 years ago
Gareth McMullin
03e44e91e3
Linker scripts provide stack pointer at the top of RAM.
Thanks to Tomaz Solc.
13 years ago
Gareth McMullin
e11185d47d
Fix setting alternate port functions on the STM32F4.
Thanks to Ricardo Martins.
13 years ago
Mike Smith
7da1967056
Add an interface for soft disconnection, and hook it up in the F107 driver.
13 years ago
Mike Smith
5310cd1b57
Flash sector erase requires the FLASH_SER bit set.
13 years ago
Mike Smith
cdcfaaf688
F4 examples should build for F4, pass consistent arguments to the compiler and linker to ensure that compatible libraries are linked.
13 years ago
Piotr Esden-Tempski
1a3ad6e998
Added the entry point definiton to all stm32 linker scripts. This allows gdb to reset the target correctly on exit.
13 years ago
Uwe Hermann
9532195e65
More coding-style and cosmetic fixes.
13 years ago
Uwe Hermann
5f82f28d01
f2/dma.h: Whitespace and coding-style fixes.
13 years ago
Fergus Noble
9949b5dcf4
Fixed typo in F2 dma header to match the datasheet.
13 years ago
Fergus Noble
3e47a46c5c
Fix numerous bugs in NVIC convenience functions, doing an |= on a clear register will clear ALL currently enabled irqs, not just the one you specified and other things of that sort. Also changed to support the full range of irq numbers supported by ARMv7M, not just the first 68 used in the STM32F1 series.
13 years ago
Fergus Noble
477c410be4
Added functions to enable and disable DMA from stm32 USART.
13 years ago
Fergus Noble
7c67322f75
Change stm32 usart baud rate generation to round rather than floor for more accurate divisor selection.
13 years ago
Fergus Noble
d071a9ffde
Cleaned up the jobygps examples.
13 years ago
Fergus Noble
ac29b654a9
Fix nasty bug with GPIO alternate function setup on F2/F4 (sorry guys).
13 years ago
Fergus Noble
5dce4172a8
Fix bug with F4 clock settings, change HPRE to PPRE.
13 years ago
Fergus Noble
fae83c43c1
Discard .ARM.exidx section to make newlib 64bit (long long) printf support work. This may need to be fixed if using C++.
13 years ago