199 Commits

Author SHA1 Message Date
Lucas Granberg
90b8b692b7 add comp v3 to STM32WL (non E) 2024-02-07 15:37:57 +02:00
Lucas Granberg
8c8af96abd add comp_v3 and apply to stm32wl 2024-02-07 14:55:12 +02:00
Dario Nieuwenhuis
f0101a2249
Merge pull request #377 from AdinAck/main
[READY NOW!] Initial Comparator Support
2024-02-06 16:59:03 +00:00
Dario Nieuwenhuis
e702b4d564 fix pwr for wb35xx 2024-02-04 22:40:36 +01:00
Dario Nieuwenhuis
dffe8dacce Add clock mux for F4 and F7. 2024-02-02 02:15:32 +01:00
Dario Nieuwenhuis
768b3e8e31 Fix missing AF numbers in H7 _C pins. 2024-02-01 23:46:31 +01:00
Dario Nieuwenhuis
fcdcb0471b Fix missing DAC RCC on H7. 2024-02-01 23:40:12 +01:00
Dario Nieuwenhuis
c6ad5e265a cleanup rcc bit matching. 2024-02-01 23:36:45 +01:00
Dario Nieuwenhuis
0cb3a4fcae always use non-_C GPIOs for digital signals on H7. 2024-02-01 01:35:33 +01:00
Adin Ackerman
ee4b4abcc4 update g0 regex for single character 2024-01-30 18:32:48 -08:00
Adin Ackerman
e52429988f Merge remote-tracking branch 'upstream/main' 2024-01-30 16:08:51 -08:00
Adin Ackerman
78fba3e52c Merge remote-tracking branch 'upstream/main' 2024-01-30 15:58:05 -08:00
Adin Ackerman
675a67c3af add comparators to G0 and G4 2024-01-30 15:57:55 -08:00
Caleb Garrett
0ec4390269 Corrected cryp perimap. 2024-01-30 09:46:13 -05:00
Caleb Garrett
d3663f608b Added cryp perimap. 2024-01-29 21:48:24 -05:00
Dario Nieuwenhuis
67a5ba0be1
Merge pull request #375 from caleb-garrett/hash
Add HASH
2024-01-30 01:55:55 +00:00
Carlos Barrales Ruiz
b14a4f1f18 Fix UART definitions present in STM32F1 series (sci2_v1_1) 2024-01-30 01:01:13 +01:00
Caleb Garrett
6fae02614a Added hash registers and perimap. 2024-01-29 18:48:07 -05:00
Taylor Carpenter
136f53de04
Match all versions of CRC by chip family 2024-01-28 20:11:54 -05:00
Taylor Carpenter
2acb6a4682
Fix crc version mapping
CRC version mapping is now done by family before failing back to the IP version listed in MCU XML
Versions now match what is on spreadsheet
2024-01-27 00:55:33 -05:00
Dario Nieuwenhuis
2d51fbe736
Merge pull request #370 from kkoppul2/update_octospi_base_address
Fix register address mapping
2024-01-27 01:08:43 +00:00
Karun Koppula
505f4dabf5 Fix register address mapping 2024-01-26 19:36:41 -05:00
Cryowatt
33331ec8e2 Adding SAI 1.2 mapping to PERIMAP
Adding registers for sai_v1_2

Transformed and cleaned

Adding SAI 1.2 mapping to PERIMAP

v5 was the same as v2, deleting v5

Removed trailing whitespace
2024-01-26 16:13:23 -08:00
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