13 Commits

Author SHA1 Message Date
Süha
6f0aff1df4
Correct flash size for g03 and g04 2024-04-17 22:18:34 +08:00
eZio Pan
471c377368 clippy fix 2024-04-13 23:36:32 +08:00
Dario Nieuwenhuis
0c4baf4783 Remove a few zero-sized memory regions that are breaking memory.x generation. 2024-04-13 03:27:35 +02:00
Dario Nieuwenhuis
d4a97f60b1 Add stm32u0. 2024-04-13 03:16:25 +02:00
Warren Campbell
af9e902172 Corrects STM32U5 memory sizes 2024-04-11 18:04:35 -04:00
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
4e3ed9abee Remove OTP from memory map. 2024-04-09 02:19:17 +02:00
eZio Pan
d20904a208 refactor with clippy 2023-12-24 19:07:32 +08:00
Dario Nieuwenhuis
883442f2ad Switch to bender CI 2023-06-28 17:44:05 +02:00
Rasmus Melchior Jacobsen
a7503de2dc Lookup memory details by die instead of by chip name 2023-03-29 09:44:23 +02:00
Rasmus Melchior Jacobsen
9e0a4b153e Fix memory various region generation bugs 2023-03-25 12:31:16 +01:00
Rasmus Melchior Jacobsen
ba962b3ca1 Support multiple flash regions, including OTP 2023-03-25 05:46:16 +01:00
Dario Nieuwenhuis
a2333b8afb New repo structure: includes stm32-metapac, doesn't commit generated files. 2023-03-20 01:56:23 +01:00