1545 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
df6b1a13b0 rcc_f3: add lots of missing stuff. 2021-11-28 23:25:16 +01:00
Dario Nieuwenhuis
3780dbab57 rcc_l5: fix typo 2021-11-28 22:45:06 +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
2e8c0bc791 Fix stm32u5 accidentally removed fieldset/PRIVCFGR 2021-11-27 02:32:51 +01:00
Dario Nieuwenhuis
b643072930 Merge pull request #104 from embassy-rs/stm32g4
Stm32g4
2021-11-27 02:21:32 +01:00
Dario Nieuwenhuis
353411841c stm32g4 support. 2021-11-27 02:20:17 +01:00
Dario Nieuwenhuis
6af084d858 SYSCFG_H7: random typo fix 2021-11-27 02:19:55 +01:00
Dario Nieuwenhuis
b630a96365 PWR: arrayify PUCRx, PDCRx 2021-11-27 02:19:38 +01:00
Ulf Lilleengen
064d70c85c Merge pull request #103 from embassy-rs/add-overrides
Add overrides for missing GPIO blocks for STM32L432
2021-11-22 13:29:44 +01:00
Ulf Lilleengen
6e3877238c Add overrides for missing GPIO blocks for STM32L432 2021-11-22 13:27:04 +01:00
Dario Nieuwenhuis
0dcaaa07fe cleanup spi v1/f1, add missing i2s stuff 2021-11-17 21:30:52 +01:00
Dario Nieuwenhuis
c6c5c099bb fmt all register yamls 2021-11-17 21:23:26 +01:00
Dario Nieuwenhuis
e00ad29955 Merge pull request #102 from bobmcwhirter/u5_i2c
U5 i2c
2021-11-12 03:19:36 +01:00
Bob McWhirter
2f142fadef Adjust to apply I2C for U5. 2021-11-11 15:52:31 -05:00
Dario Nieuwenhuis
5ee8e96dd0 Merge pull request #101 from bobmcwhirter/u5_rcc_enum
U5 rcc enum
2021-11-11 20:59:45 +01:00
Bob McWhirter
e501a9746f Complete enum cleanup. 2021-11-11 14:52:45 -05:00
Bob McWhirter
91c77958bd Remove some useless enums.
Apply better variant names to some enums.
2021-11-11 14:09:49 -05:00
Bob McWhirter
117e3f3f4b Clean up some enum variants, reduce some enums that duplicate. 2021-11-11 10:25:04 -05:00
Dario Nieuwenhuis
ca1fa7e249 Merge pull request #100 from matoushybl/fix/dcmi-rst
Fix DCMI reset.
2021-11-10 23:30:41 +01:00
Matous Hybl
bfc7856d75 Fix DCMI reset. 2021-11-10 17:31:06 +01:00
Dario Nieuwenhuis
6229ccf12a Merge pull request #99 from bobmcwhirter/u5supportmore
More support for STM32U5
2021-11-09 14:58:27 +01:00
Bob McWhirter
e09a3aa06e Update README for new python parser module. 2021-11-08 14:05:49 -05:00
Bob McWhirter
d2e9ef3622 U5 FLASH and RCC. 2021-11-08 13:48:03 -05:00
Bob McWhirter
46513a50f8 Further adjustment for U5. 2021-11-08 13:48:03 -05:00
Dario Nieuwenhuis
5984d8a712 Merge pull request #98 from embassy-rs/python-refactor
Cleanup python code
2021-11-05 19:30:36 +01: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
Dario Nieuwenhuis
b645ff267c Merge pull request #97 from matoushybl/h7
Support for STM32H72x family.
2021-11-04 15:59:10 +01:00
Matous Hybl
6ef7659b9d Add support for H723 RCC differences. 2021-11-04 15:26:52 +01:00
Matous Hybl
dac1140b17 Fix pin names by removing pin functions in brackets. 2021-11-04 10:35:18 +01:00
Dario Nieuwenhuis
2e06408221 Merge pull request #96 from matoushybl/f7-support
Fix v1c ethernet definition.
2021-11-04 00:23:50 +01:00
Matous Hybl
3d7e46e6c9 Fix v1c ethernet definition. 2021-11-03 10:13:15 +01:00
Dario Nieuwenhuis
c40960c953 Merge pull request #95 from bobmcwhirter/weird_u5_headers
Weird u5 headers
2021-11-02 17:35:16 +01:00
Bob McWhirter
21f31372a6 Adjust the d script.
Extract some peripherals for U5.
Update parse.py for some U5 perculiarities.
2021-11-02 12:02:38 -04:00
Bob McWhirter
dc4a94e868 Parse out U5xx packages.
Avoid barfing if we're not yet parsing DMA, because we aren't for GPDMA.
2021-10-29 13:08:21 -04:00
Bob McWhirter
dca5886b25 Parse decimal in the form of '08U'.
Parse division such as FLASH_BANK_SIZE / FLASH_SOMETHING in defines.
2021-10-29 11:45:27 -04:00