21 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
cf665a99f3 better handling of naming exceptions. 2021-11-29 01:57:34 +01:00
Dario Nieuwenhuis
620afab503 more complete rcc info: clock, and enable/reset registers 2021-11-29 01:57:34 +01:00
Dario Nieuwenhuis
f93860b894 Do not output kind to the yamls.
I originally added it for debugging of the stm32-data script itself.
It is useless to anyone trying to consume the yamls, due to the wonky st versioning.
2021-11-29 01:57:34 +01:00
Dario Nieuwenhuis
a83949d082 Only parse rcc from the registers, not the modes xml.
The info we have is available in both, the registers seem a bit
more reliable.
2021-11-29 01:57:34 +01:00
Dario Nieuwenhuis
2d6befa3a4 Unify handling of "ghost peripherals" missing from the XMLs. 2021-11-29 01:57:34 +01:00
Dario Nieuwenhuis
a447451969 Ban STM32GBK1CB.
It's a ghost stm32g4 chip that completely breaks the naming convention
and is apparently full-unobtainium (doesn't exist on mouser, digikey, etc.)
2021-11-28 23:34:12 +01:00
Dario Nieuwenhuis
b4191f4d1c clocks: accept regs like xxENR1 (previously it'd only accept xxENR)
This adds a few more `clock` entries.
2021-11-28 22:26:22 +01:00
Dario Nieuwenhuis
ac50274c95 Ensure consistent order for dmamuxes. 2021-11-28 21:56:02 +01:00
Dario Nieuwenhuis
353411841c stm32g4 support. 2021-11-27 02:20:17 +01:00
Ulf Lilleengen
6e3877238c Add overrides for missing GPIO blocks for STM32L432 2021-11-22 13:27:04 +01:00
Bob McWhirter
2f142fadef Adjust to apply I2C for U5. 2021-11-11 15:52:31 -05:00
Bob McWhirter
46513a50f8 Further adjustment for U5. 2021-11-08 13:48:03 -05:00
Dario Nieuwenhuis
c34409d6f8 Add analog pins for all analog peris, not just ADC 2021-11-05 19:18:58 +01:00
Dario Nieuwenhuis
8833e7a8df Add stub stm32f1 gpio parsing 2021-11-05 18:20:53 +01:00
Dario Nieuwenhuis
8b5f735c6d Remove duplicated gpio maps 2021-11-05 17:46:12 +01:00
Dario Nieuwenhuis
5cd5d2b110 Add back parsing for ADC pins. 2021-11-05 17:46:12 +01:00
Dario Nieuwenhuis
ffc40c718a Unify all docs under the docs key, sort them. 2021-11-05 17:46:11 +01:00
Dario Nieuwenhuis
ae9ff6f3a5 Simplify main parsing code, fix AF parsing missing stuff. 2021-11-05 02:23:38 +01:00
Dario Nieuwenhuis
5eb3c378ef Sort pins to make diffing easier. 2021-11-05 02:23:37 +01:00
Dario Nieuwenhuis
cf494447ff Ignore pins with broken names. Only Pxyy. 2021-11-05 00:39:36 +01:00
Dario Nieuwenhuis
ca3da1b2de Split python code in a few modules 2021-11-04 19:25:43 +01:00