Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-05-03 | build: Allow other tools to add to paths.dev_v2 | Vegard Storheil Eriksen | 1 | -3/+3 | |
2023-05-01 | usb: Update code for stm32_usb and add support for v3. | Vegard Storheil Eriksen | 7 | -420/+292 | |
2023-05-01 | stm32g0b1: Add initial support. | Vegard Storheil Eriksen | 4 | -0/+218 | |
2023-04-30 | build: Allow patching/overriding platform spec. | Vegard Storheil Eriksen | 1 | -1/+12 | |
2022-09-10 | build: Add protonium builder. | Vegard Storheil Eriksen | 2 | -0/+57 | |
2022-09-10 | async: Add queue. | Vegard Storheil Eriksen | 1 | -0/+59 | |
2022-09-10 | async: Add source/sink concepts. | Vegard Storheil Eriksen | 1 | -0/+42 | |
2022-09-10 | async: Workaround for gcc bug. | Vegard Storheil Eriksen | 1 | -0/+4 | |
2022-09-10 | riscv: Add critical section. | Vegard Storheil Eriksen | 4 | -1/+23 | |
2022-09-10 | stm32g4: Add OPAMP. | Vegard Storheil Eriksen | 3 | -0/+36 | |
2022-09-10 | stm32g4: Rename DMAMUX1 to DMAMUX. | Vegard Storheil Eriksen | 1 | -2/+2 | |
2022-09-10 | build: Add -Wno-volatile to default CXXFLAGS. | Vegard Storheil Eriksen | 1 | -1/+1 | |
2022-09-10 | build: Add -fcoroutines to default CXXFLAGS. | Vegard Storheil Eriksen | 1 | -1/+1 | |
2022-07-28 | stm32_adc: Rename common blocks to ADC12 and ADC345 respectively. | Vegard Storheil Eriksen | 5 | -17/+24 | |
2022-07-27 | stm32g4: Add 512k variant. | Vegard Storheil Eriksen | 1 | -0/+7 | |
2022-07-27 | stm32g4: Add ADC. | Vegard Storheil Eriksen | 1 | -0/+23 | |
2022-07-27 | adc: convert to new style | Karl Palsson | 9 | -58/+120 | |
Converted the old STM32 headers to new style and copied offsets to platform data. Signed-off-by: Karl Palsson <karlp@tweak.net.au> | |||||
2022-05-04 | build: Detect available toolchains. | Vegard Storheil Eriksen | 1 | -1/+9 | |
2022-04-17 | stm32_uart: Add more helper functions. | Vegard Storheil Eriksen | 1 | -12/+38 | |
2022-04-17 | stm32_uart: Use constraints to make helper functions compatible with all ↵ | Vegard Storheil Eriksen | 1 | -1/+13 | |
versions. | |||||
2022-04-16 | gd32v: invert rcc definitions, add flash/gpio | Karl Palsson | 1 | -48/+70 | |
inverted RCC definitions came in via: 24507af1a stm32_rcc: allow aliases for enables. Switch the order of definitions for gd32v so it can compile, and enable the f1 gpio and flash peripherals to allow basic compilations to succeed. Signed-off-by: Karl Palsson <karlp@tweak.net.au> | |||||
2022-04-16 | stm32_flash: l4/wb/g4 fix reserved gaps | Karl Palsson | 1 | -4/+13 | |
l4 and g4 are the same, g4 just has some extra registers, and the first section is the same for wb as well, all of them had missing reserved registers. | |||||
2022-04-16 | WIPWIP: pwr: set lpms_c2? | Karl Palsson | 1 | -0/+7 | |
really? | |||||
2022-04-16 | stm32g4: initial platform support | Karl Palsson | 5 | -0/+392 | |
Have some demo code using lptim, lpuart, exti and rtc mostly working. It glitches into undefined exceptions, so it's a little concerning, but... it's all cross checked against RM0440_rev7, so it's pretty good. Signed-off-by: Karl Palsson <karlp@tweak.net.au> | |||||
2022-04-16 | stm32l4: fix exti register map | Karl Palsson | 1 | -0/+1 | |
Missing a gap before the second section continued. Signed-off-by: Karl Palsson <karlp@tweak.net.au> | |||||
2022-04-16 | stm32_uart: add write_blocking helper | Karl Palsson | 1 | -0/+6 | |
A nice easy basic helper for "I just wannna wite a char now!" | |||||
2022-04-16 | platforms: stm32wb: add LPUART1 | Karl Palsson | 1 | -0/+3 | |
2022-04-16 | FIXME: platforms: stm32l4: fix all rcc enables, add lptim | Karl Palsson | 3 | -2/+78 | |
FIXME: LPTIM should be split out, rcc should squish to earlier, as early as we can with other rcc fixes,post the last dev_v2 merge. | |||||
2022-04-16 | platforms: stm32l4: Fix interrupts, enable | Karl Palsson | 2 | -41/+73 | |
Need to actually include the l4 file to start building! When I copied all the peripheral addresses out of the ref man, I ignored the RCC interrupts and platform define. Fix that now, against RM0351_rev9 Signed-off-by: Karl Palsson <karlp@tweak.net.au> | |||||
2022-04-16 | platform: stm32l4: more variants | Karl Palsson | 1 | -0/+20 | |
Will need more work though, as there's L476xC with 256K flash, 128K ram, and L432xC with 256K flash, 64K ram. But that's tomorrow's problem, I'm using a 476xG... Signed-off-by: Karl Palsson <karlp@tweak.net.au> | |||||
2022-04-16 | WIP: stm32_hsem: lock get/release helpers | Karl Palsson | 1 | -0/+8 | |
2022-04-16 | WIP: stm32_pwr: LPMS helpers | Karl Palsson | 1 | -0/+7 | |
2022-04-16 | timer: add LPTIM definitions | Karl Palsson | 2 | -0/+18 | |
Add them to the stm32wb platform as well. Signed-off-by: Karl Palsson <karlp@tweak.net.au> | |||||
2022-04-16 | rcc: add "disable" methods for low power | Karl Palsson | 2 | -0/+10 | |
Some people might like to turn peripherals back off again. We have all the machinery in place, so make it easy for them. Signed-off-by: Karl Palsson <karlp@etactica.com> | |||||
2022-04-16 | stm32f7: Add more peripherals. | Vegard Storheil Eriksen | 5 | -4/+93 | |
2022-04-16 | async: Add preliminary time scheduler. | Vegard Storheil Eriksen | 3 | -0/+140 | |
2022-04-16 | gdb_plugins/mmio: Add mmio_ref helper. | Vegard Storheil Eriksen | 1 | -0/+13 | |
2022-04-16 | display: stm32: Add LTDC support. | Vegard Storheil Eriksen | 5 | -0/+83 | |
2022-04-16 | i2c: stm32: Add v2 support. | Vegard Storheil Eriksen | 7 | -191/+72 | |
2022-01-26 | stm32_ipcc: helper methods to ease porting ST code | Karl Palsson | 1 | -0/+32 | |
Make it a litle easier to read for some bits that are constantly checked. Signed-off-by: Karl Palsson <karlp@tweak.net.au> | |||||
2022-01-26 | stm32wb: rtc: initial registers | Karl Palsson | 5 | -0/+75 | |
Backup registers are just hardcoded to 32, which is the max seen. Note that the STM32WB only has 20! I've captured that in the platform yaml, even though it's not used anywhere (yet?) Signed-off-by: Karl Palsson <karlp@tweak.net.au> | |||||
2022-01-26 | stm32l1: initial support, incomplete | Karl Palsson | 4 | -0/+242 | |
2022-01-26 | stm32_syscfg: convert to modern. | Karl Palsson | 8 | -39/+54 | |
Includes the f4, l0 and wb. f4 renames MEMRM to MEMRMP to be both consistent with other parts and consistent with ref man. Retested on the WB, but l0 and f4 code was simply moved. For yaml files, given how varied syscfg is, we default to using the family name as the type, but still allow overriding via explicit type in the yaml file if desired. Signed-off-by: Karl Palsson <karlp@tweak.net.au> | |||||
2022-01-26 | syscfg: stm32wb: legacy implementation | Karl Palsson | 1 | -0/+23 | |
Functional, after much hair tearing. Signed-off-by: Karl Palsson <karlp@tweak.net.au> | |||||
2022-01-26 | stm32_gpio: provide port and pin numbers | Karl Palsson | 1 | -4/+12 | |
Accessing Pin.n and Pin.get_portnum() will give you values suitable for use with EXTI and similar places. Signed-off-by: Karl Palsson <karlp@tweak.net.au> | |||||
2022-01-26 | stm32l4: add basic platform file | Karl Palsson | 3 | -0/+268 | |
While checking STM32WB, this was easy enough to just transcribe while working. Untested on real hardware. Signed-off-by: Karl Palsson <karlp@tweak.net.au> | |||||
2022-01-26 | build: provide a "LAKS" define | Karl Palsson | 1 | -1/+2 | |
maybe you're doing something wrong, or maybe you're doing something so so right. Hand people a salmon and let them make that decision. Signed-off-by: Karl Palsson <karlp@tweak.net.au> | |||||
2022-01-26 | stm32wb: cal: add Flash UID64 | Karl Palsson | 1 | -0/+8 | |
At least the constants to get started. Note that RM0434r8 says that 0x27 is for revision "B" but rev9 says it's not revision "X" (Presumably B nomenclature has been dropped?) | |||||
2022-01-26 | stm32wb: exti: initial registers | Karl Palsson | 5 | -0/+61 | |
Basic registers to start with, a lot of commonality, but extra registers on the WB. Signed-off-by <karlp@tweak.net.au> | |||||
2022-01-26 | stm32wb: wpan/ipcc/hsem: initial registers | Karl Palsson | 6 | -0/+88 | |
Not sure if "wpan" is the right directory for them, but they didn't feel like they warranted their own directory each. Signed-off-by: Karl Palsson <karlp@tweak.net.au> |