Age | Commit message (Collapse) | Author |
|
They were always landing on the top level, or not even present.
|
|
|
|
|
|
Just basic documentation to clear up errors for starters.
|
|
|
|
Eliminates errors, fixes groupings, adds missing groupings.
|
|
|
|
|
|
|
|
|
|
As we did with f2, use a parent grouping to contain the different sets
of APB1 fields.
|
|
|
|
We use a parent grouping to make the generic "AHB" groups work, even
though F2 and many later families have AHB1, AHB2 and AHB3
|
|
|
|
As done earlier for other families, makes the doxygen linking working
properly.
|
|
For f7, it was completely missing doc markers
|
|
The nvic_ functions all had a broken link to an f1 list of irqs. Change
the header generator to generate a fixed name, and link to them.
Because of their scoping, this ok, they find the correct family's irq
definitions.
|
|
You can't have two mainpage items, and the second was just being
ignored. This restores them, which makes the left side list longer,
which we may or may not like, but it's at least how it was documented to
be.
|
|
@example is for including a file containing the example code.
|
|
Requires a little stub file per target, so we can neatly define the
architecture. This properly includes all the cortex m core
documentation finally.
|
|
Makes links works, avoids warnings.
|
|
Not sure how/why i pushed thqt, absolutely no need to call sed with -s
parameter. Fix build on os x / systems running non gnu sed.
|
|
Not sure where this went. I was building docs for it to make the
doxygen work, but then, it's not here?!
Anyway, here now :)
|
|
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
|
|
The internal stack has a hard internal limit of 8, which is as many as
all supported devices support, but not as flexible as the arbitrary
addressing that USB actually allows.
At _least_ document this.
Fixes: https://github.com/libopencm3/libopencm3/issues/666
|
|
* Include the doc-swm050.h core file that defines the base groups.
* Fix/tweak groupings to make things consistent with other targets.
* Drop redundant type information. That's all included from the function
signatures automatically by doxygen.
* Added register descriptions from datasheet.
|
|
SWM050 is a series of MCU made by Foshan Synwit Tech. It contains a
Cortex-M0 CPU core, 8KiB of Flash and 1KiB of SRAM. The only peripherals
are GPIO, Timer and WDT. There's only two parts in this series, with
either TSSOP-8 or SSOP-16 packages.
This commit introduces the interrupt vector and GPIO support for them.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
|
|
|
|
|
|
|
|
|
|
This was introduced by a bad merge/rebase leaving a dangling header
definition.
Fixes: b8424263 stm32:l4: rcc: Add RTC clock functions
|
|
Allow for the high frequency clock that controlls things such as the
main CPU to be switched over to USHFRCODIV2. This is a 24 MHz PLL
that is trimmed using clock recovery from the USB signal, and is
accurate to within 1% of 24 MHz.
Signed-off-by: Sean Cross <sean@xobs.io>
|
|
This clock is the USB High Frequency PLL that gets trimmed based
on clock recovery. It is the most accurate PLL on the system,
assuming it is connected via USB.
Add the definition of this clock in preparation for being able
to switch to it.
Signed-off-by: Sean Cross <sean@xobs.io>
|
|
FLASH_CR_OPTSTRT needs to be written to FLASH_CR, and there is no reason
to mask the last two data bits.
Signed-off-by: Bruno Randolf <br1@einfach.org>
Reviewed-by: Karl Palsson <karlp@tweak.net.au>
(original code appeared to be badly copied from the flash_common_f24 codebase)
|
|
Clear wakeup clock selection before setting the desired bits, so no
old bits can stay set
Reviewed-by: Karl Palsson <karlp@tweak.net.au>
|
|
|
|
|
|
Add all interrups from RM0351
|
|
Add functions for PLL output and 48MHz clock source selection
|
|
According to RM0351 and RM0394 flash needs to be programmed by double words.
Also fix flash_program() which was wrong anyways.
Reviewed-by: Karl Palsson <karlp@tweak.net.au>
|
|
This makes the compiler warnings more useful.
|
|
This makes it actually generate deprecated warnings. The deprecated
doxygen stays with the .c file as before.
|
|
48Mhz has no purpose other than to be a naiive method of haivng working
USB. 120MHz never had any purpose, other than to match the f2 code it
was copied from. Drop them both. Remaining configs are all max speeds
for various F4 parts. Lower speeds are all custom
|
|
|
|
|
|
This also unifies the whitespace in the file.
Reviewed-by: Karl Palsson <karlp@tweak.net.au>
|
|
Fixes: 96d094af13 mk/genlink-config: provide LIBNAME in devices autogeneration
The initial fix had fixed the examples repo, but broke the tests and the
template repo. Restore the suffix properly.
|
|
This makes the generic rules workk happily regardless of whether the
linkerscript generation is being used or not.
Notably, in the examples repo, use of the linker script autogeneration
was retriggering library builds as LIBNAME was unset and therefore the
libraries lib<blank>.a couldn't be found.
|
|
|