176 Commits

Author SHA1 Message Date
Karun
64a23e1213 update perimap for stm32u5[34]5 octospi implementations 2024-01-23 15:55:19 -05:00
Dario Nieuwenhuis
845c209135
Merge pull request #365 from eZioPan/update-chiptool
update chiptool
2024-01-22 21:15:30 +00:00
eZio Pan
ca7f19e916 update chiptool 2024-01-22 20:40:34 +08:00
eZio Pan
f0d25d27c6 make eth mapping more precise 2024-01-22 20:31:56 +08:00
eZio Pan
7131cf46dd apply chiptool validate on yaml parse 2024-01-08 16:30:57 +08:00
Tyler Gilbert
59598d3ff8 Add cordic to all MCUs that have it. Read/write WDATA/RDATA directly for ease of use 2024-01-07 15:16:08 -06:00
Tyler Gilbert
ce5c765eed add cordic_v1 for stm32u5 2024-01-03 21:05:54 -06:00
Dario Nieuwenhuis
617ad260f5
Merge pull request #343 from tyler-gilbert/add-icache-v1-for-stm32u5
Add icache_v1 for use with STM32U5
2024-01-04 00:57:57 +00:00
Tyler Gilbert
f7ad1d5b0f Add icache_v1 for use with STM32U5 2024-01-03 18:09:28 -06:00
Tyler Gilbert
b133fdbc97 Add support for ADF_v1 available on STM32U5 2024-01-03 16:28:25 -06:00
eZio Pan
1b09238877 add irq name exception for "TIM6_DAC" 2024-01-03 18:17:17 +08:00
Dario Nieuwenhuis
4a3b69e3af rustfmt. 2024-01-03 02:00:48 +01:00
Dario Nieuwenhuis
46e3f5fe3a gen/header: less strict irq parsing, it was missing some irqs. 2024-01-03 02:00:23 +01:00
Dario Nieuwenhuis
61a6ceab16 gen/interrupts: add a bit more logging 2024-01-03 02:00:23 +01:00
Dario Nieuwenhuis
a535002553
Merge pull request #325 from chrenderle/main
Add rtc registers for stm32l5
2024-01-01 21:11:26 +00:00
Christian Enderle
0ddf28abe3 dbgmcu: add support for stm32l5 2023-12-28 11:11:40 +01:00
Christian Enderle
28306c1d75 Added rtc registers for stm32l5 2023-12-26 11:32:15 +01:00
eZio Pan
d20904a208 refactor with clippy 2023-12-24 19:07:32 +08:00
Dario Nieuwenhuis
3634020845 Fix qspi for all chips.
Co-Authored-By: Tupelov <64274155+Tupelov@users.noreply.github.com>
2023-12-08 21:54:03 +01:00
Sam
830341361e STM32L1 to use ADC1 address instead of incorrect ADC address 2023-12-08 18:55:54 +01:00
Sam
1cc9a2fcca limit ADC1 clocks fallback for stm32l series 2023-12-08 18:55:54 +01:00
Sam
08c1f451b6 ADC stm32l151c8 specifics 2023-12-08 18:55:53 +01:00
Sam
b53fd35116 ADC afit_v1_1 implementation 2023-12-08 18:55:38 +01:00
Dario Nieuwenhuis
b6181ce3f3
Merge pull request #308 from tcbennun/fdcan-fix
fdcan: add H7 support; fix regs for others; add message RAM blocks
2023-12-08 17:21:24 +00:00
Torin Cooper-Bennun
27c71ac451 fdcan: generate register blocks for message RAM
this is a special case, as most data sources don't mention this as a
separate peripheral at all, and those that do don't handle the offsets
in the case of multiple FDCANS

H7 chips have a single 10KB block shared between all FDCANs
2023-11-21 10:45:51 +00:00
Torin Cooper-Bennun
90ff5316eb rcc: fix FDCAN: multiple FDCANs share the same RCC fields
the RCC fields are named either FDCAN or FDCAN12
2023-11-21 10:45:51 +00:00
Torin Cooper-Bennun
f65fd694e1 fdcan: fix register block definitions; separate version for H7
the Cube XMLs refer to "fdcan_v1_0" and "fdcan_v1_1" but these seem to
have no bearing on the actual registers used. Thus chips.rs should make
no distinction between v1_0 and v1_1.

the previous YAML seems to have been generated from a G4 SVD, but this
series' SVDs consistently have several errata.

I have therefore replaced can_fdcan.yaml with can_fdcan_v1.yaml, built
from an H5 SVD which appears to match the RMs of G0, G4, H5 and L5
chips.

the H7 series has a totally different FDCAN, so I've added a separate
YAML for it.
2023-11-21 10:45:51 +00:00
Adam Greig
78232c013e
Rework DACs for all STM32 2023-11-19 04:51:20 +00:00
Adam Greig
7ce7dc901f
Add DACv4 support for STM32G4 2023-11-19 04:51:19 +00:00
Dario Nieuwenhuis
f6d1ffc1a2 Fix G0 USB interrupts. 2023-11-18 01:39:07 +01:00
Dario Nieuwenhuis
4852f5040a Ensure no duplicate irqs with the same signal. 2023-11-18 00:39:24 +01:00
Dario Nieuwenhuis
f5a4c58efa Remove USB_DRD_FS rename hack. 2023-11-18 00:00:14 +01:00
Dario Nieuwenhuis
f0866ffbc4 Check for non-existing interrupts earlier. 2023-11-17 23:55:55 +01:00
Dario Nieuwenhuis
221d24f6f8 Parse interrupts on demand for each chip instead of upfront. 2023-11-17 23:42:07 +01:00
Dario Nieuwenhuis
c551c07bf1 rcc: consistency fixes. 2023-11-13 01:00:53 +01:00
Dario Nieuwenhuis
8381654ade crs: add for l5. 2023-11-05 23:37:05 +01:00
xoviat
04d773b7b3
Merge pull request #303 from xoviat/low-power
add stop mode rcc data
2023-11-05 22:29:38 +00:00
Dario Nieuwenhuis
e78c8c9d94 crs: add for all chips. 2023-11-05 23:12:27 +01:00
xoviat
b9efaf36d8 add stop mode rcc data 2023-11-05 15:52:50 -06:00
Dario Nieuwenhuis
b59a5c1812 rcc: add missing enums to wb, wl. 2023-10-23 00:30:16 +02:00
Dario Nieuwenhuis
cf3f969fe8 Add stm32wba spi. 2023-10-22 22:31:20 +02:00
xoviat
8fecdeff9c rcc: solve hashmap determinism for good 2023-10-20 18:43:46 -05:00
xoviat
39e82b76a4 rcc: solve data mutability 2023-10-19 21:01:17 -05:00
Olle Sandberg
9f019bd9ba wwdg: register definitions for window watchdog v2 2023-10-19 14:49:41 +02:00
xoviat
8bd7ff51b0 rcc: expand checker to all chips 2023-10-18 21:01:57 -05:00
xoviat
3d9c8b70e3 rcc: check l4plus and l5 2023-10-17 17:21:06 -05:00
xoviat
c61495fd4e rcc: more cleanup 2023-10-17 16:57:33 -05:00
xoviat
fb84c0ac55 rcc: fixup clock names and expand checking 2023-10-16 17:53:26 -05:00
JackN
47a5753bef TSC: Add new TSCperipheral to perimap 2023-10-16 10:25:09 -04:00
Dario Nieuwenhuis
9330e31117 rng: add wb support. 2023-10-16 04:58:26 +02:00