0fd7b9582f
Merge branch 'embassy-rs:main' into main
2024-05-28 13:41:16 -04:00
Alexandros Liarokapis
8059f940cf
Added SPI45SEL to RCC for STM32H7 devices.
...
RCC mux was missing the SPI45SEL selector. I had to add an extra rule to
the rcc.rs and fix the wrong SPI45SEL entries in rcc_h7ab.yaml and rcc_h7rs.yaml.
I confirmed that both default entries point to the PCLK2 instead of HCLK2.
2024-05-15 22:20:10 +03:00
Adin Ackerman
273c875615
fix G4 memory even more
2024-05-14 09:33:24 -07:00
Adin Ackerman
e28546a147
fix memory size for STM32G4...6/8 and stm32g4[34]..B
2024-05-13 15:41:30 -07:00
Dario Nieuwenhuis
893d7ff36b
Add per-package pinouts.
2024-05-09 23:30:01 +02:00
8ba0a0a524
Merge branch 'embassy-rs:main' into main
2024-05-01 16:08:28 -04:00
Dario Nieuwenhuis
f1297385e9
fix i2c1 rcc bits in h7rs.
2024-05-01 16:24:50 +02:00
Dario Nieuwenhuis
06e84ca199
add i2cv3 for h7rs.
2024-05-01 16:11:17 +02:00
Dario Nieuwenhuis
afee4331ad
Add stm32h7rs family.
2024-05-01 02:16:15 +02:00
Dario Nieuwenhuis
37a0941112
Add LPDMA regs, cleanup GPDMA.
2024-04-29 20:47:57 +02:00
Dario Nieuwenhuis
e001b7dfcd
Add U5 LPDMA.
2024-04-29 18:33:48 +02:00
Dario Nieuwenhuis
a51bae6042
Simplify DMA matching a bit.
2024-04-29 18:30:50 +02:00
Dario Nieuwenhuis
706b07e020
Normalize DAC => DAC1
2024-04-29 17:59:16 +02:00
Dario Nieuwenhuis
d296bed417
Add WBA5[045]
2024-04-29 00:43:07 +02:00
Dario Nieuwenhuis
f2f067ce14
Add U5[FG].
2024-04-29 00:39:45 +02:00
Dario Nieuwenhuis
722f70a701
Add H5[23].
2024-04-29 00:36:24 +02:00
Dario Nieuwenhuis
37ec0ab67d
Use normalize for SBS->SYSCFG rename.
2024-04-28 23:44:57 +02:00
Dario Nieuwenhuis
24a684e9e6
adc: fix chips with multiple ADC_COMMON, normalize ADC to ADC1.
2024-04-28 23:28:37 +02:00
Dario Nieuwenhuis
849ed606a1
Add normalize_peri_name.
2024-04-28 23:19:15 +02:00
Dario Nieuwenhuis
ce5c57db68
Remove parse_signal_name duplicate.
2024-04-28 23:01:21 +02:00
Süha
6f0aff1df4
Correct flash size for g03 and g04
2024-04-17 22:18:34 +08:00
Dario Nieuwenhuis
9db1729024
Merge pull request #468 from Systemscape/main
...
Add DSIHOST support
2024-04-17 10:08:21 +00:00
Dario Nieuwenhuis
0e2a82de8d
Merge pull request #456 from eZioPan/lptim
...
rework on LPTIM
2024-04-17 10:03:22 +00:00
Dion Dokter
e44b6798dc
Clean up ADC
2024-04-16 16:42:50 +02:00
Dion Dokter
50f329f131
Add opamp and rtc
2024-04-16 14:44:38 +02:00
JuliDi
804326f93f
add dsihost for u5 chip family
2024-04-15 09:20:50 +02:00
JuliDi
95ff92f362
remove DSISEL from other register ymls where it is not present
2024-04-15 09:20:50 +02:00
JuliDi
c8a3e8875d
add DSI as fallback for DSIHOST in stm32-data-gen rcc.rs
2024-04-15 09:20:50 +02:00
Joël Schulz-Ansres
8ec40e422c
Add DSIHOST support
2024-04-15 09:19:55 +02:00
160921a008
update otg high speed
2024-04-14 18:35:33 -04:00
325a87c07a
u5a5 use otg-hs
2024-04-14 12:50:18 -04:00
a98c13faf5
Merge branch 'embassy-rs:main' into main
2024-04-14 12:39:59 -04:00
94439f8c67
init otg highspeed
2024-04-14 12:37:15 -04:00
Dion Dokter
a4d4695635
Add aes, crc, tsc and comp
2024-04-14 02:01:06 +02:00
Dion Dokter
7b08f67dfb
Add ADC which is basically the G0 adc but not really
2024-04-14 00:04:06 +02:00
Dion Dokter
8490e2c8c9
Add rng, dac, crs, and usb
2024-04-13 18:39:00 +02:00
eZio Pan
471c377368
clippy fix
2024-04-13 23:36:32 +08:00
eZio Pan
510f269a69
add lptim_v2b for u0
2024-04-13 23:36:32 +08:00
eZio Pan
0d43029663
lptim_v1 for l0
2024-04-13 23:27:11 +08:00
eZio Pan
d2fcff2e5e
lptim_v1a for l4(no plus), f4, f7
2024-04-13 23:27:11 +08:00
eZio Pan
096616ceda
lptim_v1b for l4+, g0, wb
2024-04-13 23:27:11 +08:00
eZio Pan
e90a3f9246
lptim_v1b_g4 for g4
2024-04-13 23:27:11 +08:00
eZio Pan
14301aa848
lptim_v1b_h7 for h7
2024-04-13 23:27:11 +08:00
eZio Pan
c3fb098274
lptim_v1c for l5 wl
2024-04-13 23:27:11 +08:00
eZio Pan
af7aefa4fe
keep lptim_v2 and remove others
2024-04-13 23:26:04 +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
9d3d5c9690
Sort memory regions by addr.
2024-04-09 02:43:44 +02:00