Karl Palsson
2d1277e1fa
doc: efm32: uart/usart provide common doxygen
...
Fix some direct includes, tag properly, include a stub file to pull in
shared header documentation and re-arrange some existing documentation
to make it present nicely.
2019-06-25 21:15:19 +00:00
Karl Palsson
56265ad93f
doc: efm32: rtc: tag and include in generated output
...
Includes the sutb file ncessary to find shared headers without any apis
2019-06-25 21:15:19 +00:00
Karl Palsson
9b3ab933ac
doc: efm32: wdog: include stub file
...
Tags were added, but without the stub file, common headers aren't picked
up by the auto source list generation
2019-06-25 21:15:19 +00:00
Karl Palsson
531aa7e6b7
doc: efm32: rmu: include in doxygen generation
...
Include a stub .c file for shared code generation
2019-06-25 21:15:19 +00:00
Karl Palsson
75f6cbfd9d
doc: efm32: msc: tag for doxygen inclusion
...
Includes a stub .c file to trigger common code generation
2019-06-25 21:15:19 +00:00
Karl Palsson
c92f3dc0ad
doc: efm32: letimer: include tags for doxygen
...
Include a stub .c file to document the shared headers.
2019-06-25 21:15:19 +00:00
Karl Palsson
25dc3a9b4b
doc: efm32: i2c: tag for doxygen
...
Includes a stub .c file until there are some APIs
2019-06-25 21:15:19 +00:00
Karl Palsson
4c01e47aed
doc: efm32: emu: tag for doxygen properly
...
Requires a stub .c file to make the common files be included until we
build some APIs.
2019-06-25 21:15:19 +00:00
Karl Palsson
790d624230
doc: efm32: burtc: tag properly for doxyen
...
includes a stub .c file until there are APIs defined.
2019-06-25 21:15:19 +00:00
Karl Palsson
7e2cd050aa
doc: efm32: acmp: document, and include via peripheral_apis
...
Requires a stub .c file as it has common includes with out any common
code (yet)
2019-06-22 01:38:20 +00:00
Karl Palsson
e97c4b39b9
efm32: consistent makefiles
...
sorted and styled per the rest of the project
2019-06-17 22:33:32 +00:00
Karl Palsson
7be50a5e75
make: use $(PREFIX)gcc instead of $(PREFIX)-gcc
...
The leading - makes it rather inconsistent with the majority of other
projects around the world. Use the form everyone else uses.
To solve this, properly pass prefix to inner makes as was always
intended.
Fixes: https://github.com/libopencm3/libopencm3/issues/1058
2019-06-07 21:25:46 +00:00
Karl Palsson
595aa806e6
efm32: add USB mass storage class code
...
We added this in the main branch earlier, but efm32 usb code was in
flux. Added now that it's stable again.
2018-06-27 22:13:40 +00:00
Karl Palsson
9a05dcb6c0
ld scripts: drop duplication of standard sections
...
Instead of every "simple" target having their own duplicate file with
all the section mappings, just provide a single, simple,
"cortex-m-generic.ld" that works with our startup code and any simple
rom/ram system. This also drops the pointless copying of files all over
the place. Using -L flags properly is sufficient, and the standard file
is now in the root of the library already.
2018-04-28 21:12:27 +00:00
kbob
5160d7996c
efm32: Split efm32/lg into /lg and /common.
...
Somewhat replaces some earlier work done by hg/lg, but much more
complete, so we kept it as is, because it's bringing in even more parts
after this.
Reviewed-by: Karl Palsson <karlp@tweak.net.au>
2018-04-27 21:36:42 +00:00
Sebastian Holzapfel
18f64812eb
efm32hg/lg: timer: use common timer implementation
2018-03-02 22:42:04 +00:00
Sebastian Holzapfel
c6296a4d88
efm32hg/lg: gpio: use common gpio implementation
2018-03-02 22:42:04 +00:00
Karl Palsson
b860319785
make: use std=c99 everywhere by default.
...
setting "STANDARD_FLAGS=-std=c11" or similar will let you try out
alternate compilation modes.
Fixes https://github.com/libopencm3/libopencm3/issues/773
2017-06-08 23:01:45 +00:00
Karl Palsson
781e4d94ba
efm32lg: mark internal function as static
...
Squelches gcc warnings
Fixes github #686
2016-08-15 15:54:55 +00:00
Jean-Philippe Ouellet
1cca117e58
Fix a few comments with logical/bitwise OR reversed.
2016-01-09 20:37:20 +00:00
Piotr Esden-Tempski
b1049f9a6f
[Style] Stylefix sweep over the whole codebase.
2015-12-14 22:57:15 +01:00
Piotr Esden-Tempski
1f6fd11dd9
[Style] Fixed all style errors in the efm32.
2015-12-14 19:30:04 +01:00
Kuldeep Singh Dhaka
77354cb371
Inital support for EFM32LG
2015-12-13 19:56:19 +01:00