Dario Nieuwenhuis
7117ad49c0
Merge pull request #306 from adamgreig/g4-dac
...
Rework DAC support for all STM32s
2023-11-24 22:57:00 +00:00
Torin Cooper-Bennun
d5d131a702
rcc: g4,l5: add missing enums for FDCANSEL; fix a few incorrect descs
2023-11-21 14:57:43 +00:00
Torin Cooper-Bennun
389f547c13
fdcan: array-ify fields with 1 bit per FIFO element
2023-11-21 12:42:29 +00:00
Torin Cooper-Bennun
27c71ac451
fdcan: generate register blocks for message RAM
...
this is a special case, as most data sources don't mention this as a
separate peripheral at all, and those that do don't handle the offsets
in the case of multiple FDCANS
H7 chips have a single 10KB block shared between all FDCANs
2023-11-21 10:45:51 +00:00
Torin Cooper-Bennun
90ff5316eb
rcc: fix FDCAN: multiple FDCANs share the same RCC fields
...
the RCC fields are named either FDCAN or FDCAN12
2023-11-21 10:45:51 +00:00
Torin Cooper-Bennun
f65fd694e1
fdcan: fix register block definitions; separate version for H7
...
the Cube XMLs refer to "fdcan_v1_0" and "fdcan_v1_1" but these seem to
have no bearing on the actual registers used. Thus chips.rs should make
no distinction between v1_0 and v1_1.
the previous YAML seems to have been generated from a G4 SVD, but this
series' SVDs consistently have several errata.
I have therefore replaced can_fdcan.yaml with can_fdcan_v1.yaml, built
from an H5 SVD which appears to match the RMs of G0, G4, H5 and L5
chips.
the H7 series has a totally different FDCAN, so I've added a separate
YAML for it.
2023-11-21 10:45:51 +00:00
Adam Greig
be9d7fd584
H5: rename DAC12EN to DAC1EN to match peripheral name
2023-11-19 13:47:13 +00:00
Adam Greig
a0f7bc881a
WL5/WLE: rename DAC1EN to DACEN in RCC, per reference manual and peripheral name
2023-11-19 13:29:43 +00:00
Adam Greig
78232c013e
Rework DACs for all STM32
2023-11-19 04:51:20 +00:00
Adam Greig
82101c985c
DAC v1-4: Remove TSEL enum from TSEL fields, arrayify TSEL fields
2023-11-19 04:51:20 +00:00
Adam Greig
7ce7dc901f
Add DACv4 support for STM32G4
2023-11-19 04:51:19 +00:00
Dario Nieuwenhuis
f6d1ffc1a2
Fix G0 USB interrupts.
2023-11-18 01:39:07 +01:00
Dario Nieuwenhuis
4852f5040a
Ensure no duplicate irqs with the same signal.
2023-11-18 00:39:24 +01:00
Dario Nieuwenhuis
f5a4c58efa
Remove USB_DRD_FS rename hack.
2023-11-18 00:00:14 +01:00
Dario Nieuwenhuis
f0866ffbc4
Check for non-existing interrupts earlier.
2023-11-17 23:55:55 +01:00
Dario Nieuwenhuis
221d24f6f8
Parse interrupts on demand for each chip instead of upfront.
2023-11-17 23:42:07 +01:00
Dario Nieuwenhuis
fbb8f77326
rcc: consistency fixes on f2
2023-11-13 01:47:21 +01:00
Dario Nieuwenhuis
c551c07bf1
rcc: consistency fixes.
2023-11-13 01:00:53 +01:00
xoviat
8e0b734459
Merge pull request #307 from xoviat/macros
...
macros: handle one enum field
2023-11-07 00:07:08 +00:00
xoviat
69706e61e4
macros: handle one enum field
2023-11-06 18:01:39 -06:00
xoviat
1374ed6227
Merge pull request #304 from xoviat/cache
...
ci: cache sources
2023-11-05 23:07:44 +00:00
xoviat
8ae9a1f2a9
quiet clones
2023-11-05 17:05:25 -06:00
xoviat
2e3736a558
ci: cache sources
2023-11-05 16:52:45 -06:00
Dario Nieuwenhuis
8381654ade
crs: add for l5.
2023-11-05 23:37:05 +01:00
xoviat
04d773b7b3
Merge pull request #303 from xoviat/low-power
...
add stop mode rcc data
2023-11-05 22:29:38 +00:00
Dario Nieuwenhuis
e78c8c9d94
crs: add for all chips.
2023-11-05 23:12:27 +01:00
xoviat
54fedeeefa
don't serialize default stop mode
2023-11-05 16:11:58 -06:00
xoviat
62567511fb
Merge branch 'main' of https://github.com/embassy-rs/stm32-data into low-power
2023-11-05 15:59:50 -06:00
Dario Nieuwenhuis
3f7663279f
generated: add --allow-empty
2023-11-05 22:56:05 +01:00
xoviat
b9efaf36d8
add stop mode rcc data
2023-11-05 15:52:50 -06:00
xoviat
133a32cbbd
Merge pull request #302 from xoviat/helper-macros
...
add "enum debug" helper macro
2023-11-05 21:40:24 +00:00
xoviat
916fa6f760
use new enum debug macro
2023-11-05 14:47:25 -06:00
xoviat
509f315261
add enum debug macro
2023-11-05 14:44:29 -06:00
Dario Nieuwenhuis
73b8c37ae7
Merge pull request #300 from Radiator-Labs/main
...
Add enum/ADCSET to rcc_l5.yaml
2023-11-01 20:08:50 +00:00
shakencodes
9ba39f0f2d
Corrects name of enum/ADCSEL::PLLSAI1_R on smt32l5
2023-11-01 13:04:57 -07:00
shakencodes
445f314531
Add enum/ADCSET to rcc_l5.yaml
2023-11-01 12:39:09 -07:00
Dario Nieuwenhuis
bcc9b6bf9f
rcc/wb: add misrange enum
2023-10-23 01:02:53 +02:00
Dario Nieuwenhuis
4ddcb77c9d
rcc: rename NONE -> DISABLED
2023-10-23 00:30:16 +02:00
Dario Nieuwenhuis
b59a5c1812
rcc: add missing enums to wb, wl.
2023-10-23 00:30:16 +02:00
Dario Nieuwenhuis
ee64389697
Rename HSI16 -> HSI
2023-10-22 22:32:08 +02:00
Dario Nieuwenhuis
cf3f969fe8
Add stm32wba spi.
2023-10-22 22:31:20 +02:00
xoviat
296dd041cc
Merge pull request #297 from xoviat/rcc
...
rcc: solve hashmap determinism for good
2023-10-20 23:47:16 +00:00
xoviat
e20aed5f9a
rcc/l4: fix dup enable
2023-10-20 18:43:56 -05:00
xoviat
8fecdeff9c
rcc: solve hashmap determinism for good
2023-10-20 18:43:46 -05:00
xoviat
8a501c0438
Merge pull request #296 from xoviat/rcc
...
rcc: fix data mutability
2023-10-20 02:09:45 +00:00
xoviat
e4b19a6fd9
rcc: fix l4 sw enum
2023-10-19 21:06:26 -05:00
xoviat
39e82b76a4
rcc: solve data mutability
2023-10-19 21:01:17 -05:00
xoviat
1b7e8d6336
Merge pull request #295 from oll3/wwdg-v2
...
register definitions for window watchdog v2
2023-10-20 01:29:01 +00:00
Olle Sandberg
9f019bd9ba
wwdg: register definitions for window watchdog v2
2023-10-19 14:49:41 +02:00
xoviat
31e05a46bb
Merge pull request #294 from xoviat/rcc
...
rcc: expand checker to all chips
2023-10-19 02:09:03 +00:00