Commit Graph

2675 Commits

Author SHA1 Message Date
Karl Palsson 093edfb881 doc: efm32: cmu: move to peripheral_apis
Was completely undocumented before. Just needed different tagging so it
could be picked up.

No attempt at this stage of sharing more code between the cmu modules.
2019-06-22 01:38:20 +00:00
Karl Palsson 9bc432474b doc: efm32: include gpio_common
gpio_common was built, but wasn't picked up by any documentation.
Use the peripheral_apis style from stm32, but try out the #pragma once
style.  Downside is you don't get warnings if you include an sub layer
.h file.  Upsides are
* no ifdef/endif blocks
* no /**@cond*/ /**@endcond*/ blocks
* that's enough win!
2019-06-22 01:38:20 +00:00
Karl Palsson 6d74262bf4 doc: efm32: define peripheral_apis groups
Nothing is _in_ these groups yet, but define them so we can start
filling them out.  Follows the stm32 family style.
2019-06-22 01:38:20 +00:00
Karl Palsson 92b4b5a12f doc: efm32: fix typos in family/group names 2019-06-22 01:38:14 +00:00
Karl Palsson a5562f27c0 doc: efm32: fix doxygen warnings
Mind you, this doesn't actually fix that most of these are _missing_
that is a subsequent commit
2019-06-22 00:40:31 +00:00
Karl Palsson b9c437331f efm32wg: include in documentation build 2019-06-22 00:40:16 +00:00
Karl Palsson a3291b375e efm32: ezr32wg: include in docs build
Was completely missing.
2019-06-22 00:40:09 +00:00
Sergey Shcherbakov e75a3614a4 stm32f3: ld: Added stm32f303x6/8
Signed-off-by: Sergey Shcherbakov <shchers@gmail.com>
2019-06-18 23:33:46 +03:00
Guillaume Revaillot 05214d826a stm32l0: consistent makefile.
sorted and styled per the rest of the project
2019-06-18 13:48:57 +02:00
Guillaume Revaillot 615918ffde stm32g0: compile spi_common_v1.c
fix #1067
2019-06-17 22:34:51 +00:00
Guillaume Revaillot f121c8c8f0 .gitignore: ignore autogenerated include/libopencmsis/swm050/ 2019-06-17 22:34:15 +00:00
Karl Palsson 1bc8a015f7 doc: stm32: timer: fix trivial parameter misnaming 2019-06-17 22:33:32 +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 a522f7f3fa gd32: consistent makefile 2019-06-17 22:33:32 +00:00
Karl Palsson 3363e18c9c swm050: consistent makefile 2019-06-17 22:33:32 +00:00
Karl Palsson b063c18a0c ti msp432: consistent makefile 2019-06-17 22:33:32 +00:00
Karl Palsson d501e606ed ti lm3s/lm4f: consistent makefiles 2019-06-17 22:33:32 +00:00
Karl Palsson 4ec81b01f5 lpc13xx/lpc17xx: consistent makefiles 2019-06-17 22:33:32 +00:00
Karl Palsson 528e4865c8 sam: consistent makefile styles
sorted as per style now
2019-06-17 22:33:32 +00:00
Karl Palsson 1cd9ca6dc2 vf6xx: consistent makefile
Hasn't seen any work for a while, but it should still be consistent with
other parts of the tree
2019-06-17 22:33:32 +00:00
Karl Palsson 9165c8c567 stm32l1: consistent makefile
sorting and unifying specific/shared.
2019-06-17 22:33:32 +00:00
Karl Palsson 5060790133 stm32l4: sort makefile
Consistent with all others.  The separation of the common and specific
portions is unnecessary and misleading.
2019-06-17 22:33:32 +00:00
Karl Palsson 3fe8c3cf93 stm32f7: makefile consistent style
Had already been sorted like f4, just use the same style as everywhere
now
2019-06-17 22:33:32 +00:00
Karl Palsson 00f947ec84 stm32f4: consistent makefile
Had already been sorted, now just make it consistent format with the
others.
2019-06-17 22:33:32 +00:00
Karl Palsson 48eb9957d6 stm32f3: sort makefile 2019-06-17 22:33:32 +00:00
Karl Palsson 17a0e30cd8 stm32f2: Sort Makefile 2019-06-17 22:33:32 +00:00
Karl Palsson 8002148286 stm32f1: Makefile: sort objects
periphs, ethernet, usb. Sorted for ease of finding, ease of merging.
2019-06-17 22:33:32 +00:00
Karl Palsson 452b39555b stm32f0: sort makefile object list
Consistent approach, easier to find what you need, easier to merge
2019-06-17 22:33:32 +00:00
Karl Palsson 2d0d29d946 doc: stm32l1: timer: fix params, missing groupings 2019-06-17 22:33:32 +00:00
Karl Palsson c28a5a81cf stm32: rng-v1: fix missing doxygen parameter 2019-06-17 11:48:18 +00:00
Guillaume Revaillot 7d344b187d stm32: dma: add dma_set_channel_request to ease dma cselr usage. 2019-06-17 11:44:44 +00:00
Guillaume Revaillot eb0bc099f4 stm32l0: dma: include dma_cselr, present on l0x1-2-3. 2019-06-17 11:44:44 +00:00
Guillaume Revaillot e06898d9a4 stm32: dma: cselr: factorize register definition.
F09x and L4 share the same cselr register, as well as some L0s, factorize
definitions in a new shared header and add helpers.

fyi, that register allows to redefine dma channel peripheral mapping - see
device datasheet for mapping tables.
2019-06-17 11:44:44 +00:00
Karl Palsson 6198f2575f doc: efm32hg: fix missing parameter names 2019-06-16 18:20:34 +00:00
Karl Palsson 19f1160ad1 doc: stm32: timer: remove redundant groupings and consistent names 2019-06-16 18:17:06 +00:00
Karl Palsson 0b0a4de7c2 doc: stm32l0: fix doxygen groupings.
Makes some @ingroup directives redundant.
2019-06-16 18:02:41 +00:00
Guillaume Revaillot 594c354068 stm32: l0: timer/lptimer: doc+
better doc for l0 lptimer registers, add mask.
2019-06-16 09:48:34 +02:00
Karl Palsson 6c1f54dcb7 stm32g0: sort makefiles
easier to merge, easier to find things you're looking for.
2019-06-13 21:30:06 +00:00
Guillaume Revaillot ab1b0c1a5e stm32g0: exti doc fixup 2019-06-13 12:04:58 +02:00
Guillaume Revaillot 8173fb7249 stm32g0: add timer.
Only tim2/3/7/14 have been really tested yet - but the others should
work as well.
2019-06-13 12:04:58 +02:00
Guillaume Revaillot 74526f00cc stm32g0: add crc.
Regular crc-v2 peripheral, except that CRC_IDR is now 32bit wide - but
not used.
2019-06-13 12:04:58 +02:00
Guillaume Revaillot 38006c3c82 stm32g0: add rng.
Regular rng peripheral, with one additional bit : clock error detection
apparently available on l4 chips).  Curiously, Clock error detection is
_disabled_ when bit is set, but bit is cleared by default, so peripheral
/ clock error detection behaves like all other chips..

NB: RNG need proper rcc_ccicr_rngsel bits set to work, no clock is set by
default. Note also that on that chip fRNGCLK must be higher than fHCLK/32
2019-06-13 12:04:58 +02:00
Guillaume Revaillot 5a349d3ab6 stm32g0: add i2c.
Regular i2c peripheral.
Partially tested as i had no i2c slave on hand, but i can see i2c on my scope..
2019-06-13 12:04:58 +02:00
Guillaume Revaillot ba3b50a4ad stm32g0: add spi.
classic "common" spi + frf bit spi peripheral.
As for i2c, i could only check signals on scope, no spi slave to check, but looks ok.
2019-06-13 11:56:20 +02:00
Guillaume Revaillot a51ecb4719 stm32g0: add usart. 2019-06-13 11:56:20 +02:00
Guillaume Revaillot bb98d0755c stm32g0: add iwdg.
regular v2 iwdg.
2019-06-13 11:07:53 +02:00
Eric Van Albert 3d422a930f stm32l4: add common DAC support
Replace the DAC1_BASE style, only used on l4 with the standard DAC_BASE
used on all other targets.

Reviewed-by: Karl Palsson <karlp@tweak.net.au>
2019-06-12 23:25:22 +00:00
Karl Palsson 209dea96e7 doc: stm32g0: rcc: fix missing/typod param names 2019-06-12 23:20:59 +00:00
Karl Palsson 9f58ad4393 doc: fix trivial missing trailers or typos 2019-06-12 23:16:58 +00:00
Karl Palsson 55c899c93b doc: stm32l0: rcc: add groups requested by existing docs
And cleanse the arguments to all match the docs.
2019-06-12 23:06:28 +00:00