summaryrefslogtreecommitdiff
path: root/rcc
AgeCommit message (Collapse)AuthorFilesLines
2022-01-26stm32_rcc: allow aliases for enables.Karl Palsson1-1/+1
By flipping the name/number definition, we can define aliases such as ADC and ADC1, or FMC/FSMC for the same bits, making it easier to have code that both matches reference manuals, and also code that matches between lines. runtime tested on WB, compile tested on F3. Signed-off-by: Karl Palsson <karlp@etactica.com>
2022-01-26flash: convert to new styleKarl Palsson4-26/+46
2022-01-20adc: stm32f3: expand and verifyKarl Palsson1-3/+7
Working with dma and timers. This preserves the somewhat dubious decision that ADC clock for F1 and F3 should be 12Mhz. It can always be overridden later.
2022-01-20platforms: stm32f3: make functionalKarl Palsson1-5/+5
Sufficient for blinking leds. Not much else tested yet. Signed-off-by: Karl Palsson <karlp@etactica.com>
2021-09-16flash: stm32wb: oldstyle: add register map and basic initKarl Palsson2-0/+31
Flash hasn't yet been ported to new style. Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2021-09-16rcc: Fix enable register access for devices with multiple registers for the ↵Vegard Storheil Eriksen1-1/+1
same bus.
2021-09-16platforms: add stm32wbKarl Palsson1-0/+46
Basic RCC and memory map support. Signed-off-by: Karl Palsson <karlp@etactica.com>
2021-09-16rcc: include a static file with function prototypesKarl Palsson2-0/+7
Authors modifying rcc.cpp should add their protos here as desired. Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2021-09-16generators: clearly mark generated filesKarl Palsson1-0/+2
This makes it easier for end users to see where files have come from. Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2021-09-15platforms: Improve STM32F42x support.Vegard Storheil Eriksen1-2/+2
2021-01-26rcc: Generate enables from platform spec.Vegard Storheil Eriksen5-472/+213
2019-03-19Added STM32F042 support.Vegard Storheil Eriksen4-4/+14
2019-03-19Added STM32F0 support.Vegard Storheil Eriksen1-4/+72
2017-05-14STM32F4: Added rcc_init() overload with sysclk argument.Vegard Storheil Eriksen2-0/+44
2016-08-19STM32L0: Fixed typo in FLASH_PEKEYR.Vegard Storheil Eriksen1-1/+1
2016-08-18STM32L0: Add CRS definition.Vegard Storheil Eriksen1-0/+30
2016-08-18Add STM32L0 to rcc_init().Vegard Storheil Eriksen2-0/+35
2016-08-18Added STM32L0 support.Vegard Storheil Eriksen2-3/+91
2012-12-29Fixed F1 RCC bug.Vegard Storheil Eriksen1-1/+1
2012-12-10Added ethernet and syscfg register definitions.Vegard Storheil Eriksen2-0/+22
2012-11-19Added support for F3.Vegard Storheil Eriksen4-6/+69
2012-10-09Add OTGHSULPI clock gate definition.Vegard Storheil Eriksen1-14/+15
2012-09-05Renamed RCC.IOPx to RCC.GPIOx for F1.Vegard Storheil Eriksen1-7/+7
2012-08-07Initial import.Vegard Storheil Eriksen4-0/+315
Most sources are split off from suzumebachi project revision 2fc77d2 as is with some path changes. New build rules introduced.