505 Commits

Author SHA1 Message Date
eZio Pan
5e6056d36e flash-cleanup 2024-01-02 18:54:50 +08:00
Dario Nieuwenhuis
a535002553
Merge pull request #325 from chrenderle/main
Add rtc registers for stm32l5
2024-01-01 21:11:26 +00:00
Dario Nieuwenhuis
ad5c88c0b5
Merge pull request #329 from eZioPan/syscfg-cleanup
syscfg-cleanup
2024-01-01 20:56:56 +00:00
eZio Pan
a3244693bd manually fix description 2024-01-01 21:27:34 +08:00
eZio Pan
a21b679c2d eth_v1: apply chiptool transform 2024-01-01 20:54:54 +08:00
eZio Pan
45efe8a301 merge field PAGE_WP and FPU_IE 2024-01-01 14:49:00 +08:00
eZio Pan
751158dace syscfg-cleanup 2024-01-01 10:54:33 +08:00
Christian Enderle
0ddf28abe3 dbgmcu: add support for stm32l5 2023-12-28 11:11:40 +01:00
Christian Enderle
031827e535 Minor changes to rtc_v3u5 2023-12-26 11:32:28 +01:00
Christian Enderle
28306c1d75 Added rtc registers for stm32l5 2023-12-26 11:32:15 +01:00
Dario Nieuwenhuis
8caf2f0bda
Merge pull request #323 from eZioPan/bxcan-cleanup
bxcan-cleanup
2023-12-25 12:55:27 +00:00
eZio Pan
3d9cdb5b43 rename enum of BIDIOE, make meaning clearer 2023-12-25 15:30:17 +08:00
eZio Pan
3efb14e312 bxcan-cleanup 2023-12-25 14:15:36 +08:00
Dario Nieuwenhuis
94c4bbe9d8
Merge pull request #320 from eZioPan/spi-cleanup
spi-cleanup
2023-12-24 18:59:35 +00:00
eZio Pan
168b85e650 spi-cleanup 2023-12-24 22:40:13 +08:00
Dario Nieuwenhuis
25c76eb0c8
Merge pull request #319 from eZioPan/rtc-cleanup
rtc-cleanup
2023-12-24 12:09:26 +00:00
eZio Pan
124616527c rtc-cleanup 2023-12-24 16:47:50 +08:00
eZio Pan
3a54f8d5f5 wwdg-cleanup 2023-12-24 16:46:54 +08:00
eZio Pan
837685460b remove OCPE, OPM, ECE enum of TIM 2023-12-23 18:54:07 +08:00
eZio Pan
9a5ac3abce DMA cleanup 2023-12-19 13:47:15 +08:00
eZio Pan
9e680c8d69 no need TIM CR1 ARPE enum, just a enable/disable field 2023-12-14 21:09:00 +08:00
Dario Nieuwenhuis
8f5fcae8c2 Fix QUADSPI RCC bit names. 2023-12-08 23:43:52 +01:00
Dario Nieuwenhuis
6fe2c922b8 Update headers. 2023-12-08 23:19:12 +01: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
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
Aurélien Jacobs
2e467a5373 ADC: remove EXTSEL and JEXTSEL enum as they can be inconsistent between chips 2023-12-06 18:27:20 +01:00
Torin Cooper-Bennun
d5d131a702 rcc: g4,l5: add missing enums for FDCANSEL; fix a few incorrect descs 2023-11-21 14:57:43 +00:00
Torin Cooper-Bennun
389f547c13 fdcan: array-ify fields with 1 bit per FIFO element 2023-11-21 12:42:29 +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
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
be9d7fd584
H5: rename DAC12EN to DAC1EN to match peripheral name 2023-11-19 13:47:13 +00:00
Adam Greig
a0f7bc881a
WL5/WLE: rename DAC1EN to DACEN in RCC, per reference manual and peripheral name 2023-11-19 13:29:43 +00:00
Adam Greig
78232c013e
Rework DACs for all STM32 2023-11-19 04:51:20 +00:00
Adam Greig
82101c985c
DAC v1-4: Remove TSEL enum from TSEL fields, arrayify TSEL fields 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
fbb8f77326 rcc: consistency fixes on f2 2023-11-13 01:47:21 +01:00
Dario Nieuwenhuis
c551c07bf1 rcc: consistency fixes. 2023-11-13 01:00:53 +01:00
shakencodes
9ba39f0f2d Corrects name of enum/ADCSEL::PLLSAI1_R on smt32l5 2023-11-01 13:04:57 -07:00
shakencodes
445f314531 Add enum/ADCSET to rcc_l5.yaml 2023-11-01 12:39:09 -07:00
Dario Nieuwenhuis
bcc9b6bf9f rcc/wb: add misrange enum 2023-10-23 01:02:53 +02:00
Dario Nieuwenhuis
4ddcb77c9d rcc: rename NONE -> DISABLED 2023-10-23 00:30:16 +02:00
Dario Nieuwenhuis
b59a5c1812 rcc: add missing enums to wb, wl. 2023-10-23 00:30:16 +02:00
Dario Nieuwenhuis
ee64389697 Rename HSI16 -> HSI 2023-10-22 22:32:08 +02:00
xoviat
e20aed5f9a rcc/l4: fix dup enable 2023-10-20 18:43:56 -05:00
xoviat
e4b19a6fd9 rcc: fix l4 sw enum 2023-10-19 21:06:26 -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
Dario Nieuwenhuis
5b04234fbe rcc: cleanup f4, f7 plls. 2023-10-18 05:08:14 +02:00
xoviat
3d9c8b70e3 rcc: check l4plus and l5 2023-10-17 17:21:06 -05:00