4 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
8e26f36a8e Manually maintain memory maps instead of parsing them from cubeprogdb.
First step towards fixing #301

The cubeprogdb has turned out to be a quite bad data source. It's not granular
enough (it has one entry per chip die, not per chip) so the previous code joined
the data with the C headers and cubedb to fill in the gaps, essentialy "guessing"
stuff. This has been quite error prone (see #301) and hard to make fixes to.

Instead, we're going to manually maintain memory maps in a .rs file. This way, if
something is wrong we can simply go and fix it.

This commit just migrates the existing data, even if it's wrong. (it does fix
a few very minor mistakes). Next steps is actually fixing the memory maps.
2024-04-09 03:38:33 +02:00
Dario Nieuwenhuis
0c921dde2e Refactor RCC code to find more muxes.
Fixes #383
2024-02-10 02:40:36 +01:00
Dario Nieuwenhuis
b96d1bddd3 Add H5, and newer U5s. 2023-03-27 12:17:53 +02:00
Dario Nieuwenhuis
a2333b8afb New repo structure: includes stm32-metapac, doesn't commit generated files. 2023-03-20 01:56:23 +01:00