Skip to content

Commit 90ddf07

Browse files
authored
Merge branch 'master' into h7-hi-mem-flash
2 parents bfc8c07 + 34987dd commit 90ddf07

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+446
-184
lines changed

CHANGELOG.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## [Unreleased]
44

5-
* Updated to `svd2rust` 0.36.1, `svdtools` 0.4.6, `form` 0.12.1, use tools binaries for CI (#1174)
6-
* bump `defmt` dependency to 1.0
5+
* Updated to `svd2rust` 0.36.1, `svdtools` 0.4.6, `form` 0.13.0, use tools binaries for CI (#1174)
6+
* bump `defmt` dependency to 1.0 (#1209)
77
* Use `svd2rust.toml` config, use custom ident suffixes (#948)
88
* Replace `makehtml.py` with `svdtools html` (#881)
99
* Remove workaround for bug in duckscript's `mv` (#981)
@@ -74,21 +74,22 @@
7474
* F2, F4, F7: Add definitions for OPTCR, OPTCR1 and OPTCR2 registers of FLASH peripheral (#1157)
7575
* F2, F4, F7: Fix several fields of FLASH peripheral and reorganise 'patches', 'fields' and 'collect' according to impacted registers (#1161)
7676
* F1, F2, F4: Derive identical UART registers from USART1, add GPTR.PSC (#1179)
77-
* CCMR3_Output fix
78-
* CRC enums and fixes
79-
* Add DAC enums
80-
* DCMI enums
81-
* DFSDM enums and fixes
82-
* RNG enums
83-
* SDIO/SDMMC v1
84-
* TSC enums and arrays
85-
* USB v2
86-
* Use arrays for DAC channels
87-
* Derive TIM registers
77+
* CCMR3_Output fix (#1184)
78+
* CRC enums and fixes (#1206)
79+
* Add DAC enums (#1196)
80+
* DCMI enums (#1205)
81+
* DFSDM enums and fixes (#1218)
82+
* RNG enums (#1220)
83+
* SDIO/SDMMC v1 (#1204)
84+
* OCTOSPI, TAMP, LTDC enums (#1226)
85+
* TSC enums and arrays (#1221)
86+
* USB v2 (#1202)
87+
* Use arrays for DAC channels (#1197)
88+
* Derive TIM registers (#1184)
8889
* Update README.md (#1152)
89-
* Add SPI enums for G4, U5, H7+
90-
* FMC/FSMC enums, arrays & derives
91-
* CRS enums
90+
* Add SPI enums for G4, U5, H7+ (#1199)
91+
* FMC/FSMC enums, arrays & derives (#1200)
92+
* CRS enums (#1208)
9293
* HRTIM:
9394
* H7 & G4 fixes and enums (#1021) (#1022)
9495
* Remove timer block suffixes from register/field names (#1023)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ contain the latest patches and updates.
9595
* On x86-64 Linux, run `make install` to download pre-built binaries at the
9696
current version used by stm32-rs
9797
* Otherwise, build using `cargo` (double check versions against `scripts/tool_install.sh`):
98-
* `cargo install form --version 0.12.1`
98+
* `cargo install form --version 0.13.0`
9999
* `cargo install svdtools --version 0.4.6`
100100
* `cargo install svd2rust --version 0.36.1`
101101
* Install rustfmt: `rustup component add rustfmt`

devices/collect/lpgpio/lp.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
MODER:
2+
_array:
3+
MODE*: {}
4+
IDR:
5+
_array:
6+
ID*: {}
7+
ODR:
8+
_array:
9+
OD*: {}
10+
BSRR:
11+
_array:
12+
BS*: {}
13+
BR*: {}
14+
BRR:
15+
_array:
16+
BR*: {}

devices/collect/tamp/bkp.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

devices/fields/octospi/common.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ DCR1:
6969
"HyperBus register mode, addressing register space. The memory-mapped accesses in this mode must be non-cacheable, or Indirect read/write modes must be used",
7070
]
7171
DEVSIZE: [0, 0x1F]
72-
CSHT: [0, 0x3F]
7372
DLYBYP:
7473
DelayBlockEnabled:
7574
[
@@ -99,7 +98,7 @@ DCR2:
9998

10099
DCR3:
101100
CSBOUND: [0, 0x1F]
102-
MAXTRAN: [0, 0xFF]
101+
"?~MAXTRAN": [0, 0xFF]
103102

104103
DCR4:
105104
REFRESH: [0, 0xFFFFFFFF]
@@ -163,7 +162,7 @@ PIR:
163162
INTERVAL: [0, 0xFFFF]
164163

165164
CCR:
166-
SIOO:
165+
"?~SIOO":
167166
SendEveryTransaction: [0, Send instruction on every transaction]
168167
SendOnlyFirstCmd: [1, Send instruction only for the first command]
169168
DQSE:

devices/fields/octospi/l4.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ CR:
77
DMM:
88
Disabled: [0, Dual-quad configuration disabled]
99
Enabled: [1, Dual-quad configuration enabled]
10+
DCR1:
11+
CSHT: [0, 0x3F]

devices/fields/octospi/l5.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
_include:
2+
- common.yaml
3+
CR:
4+
FSEL:
5+
FLASH1: [0, "FLASH 1 selected (data exchanged over IO[3:0])"]
6+
FLASH2: [1, "FLASH 2 selected (data exchanged over IO[7:4])"]
7+
DMM:
8+
Disabled: [0, Dual-quad configuration disabled]
9+
Enabled: [1, Dual-quad configuration enabled]
10+
DCR1:
11+
CSHT: [0, 7]

devices/fields/octospi/u5.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ CR:
77
DMM:
88
Disabled: [0, Dual-memory configuration disabled]
99
Enabled: [1, Dual-memory configuration enabled]
10+
DCR1:
11+
CSHT: [0, 0x3F]

devices/fields/tamp/tamp_wl.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,5 @@ SCR:
104104
COUNTR:
105105
COUNT: [0, 0xFFFFFFFF]
106106

107-
BKP?R:
108-
BKP: [0, 0xFFFFFFFF]
109-
BKP1?R:
107+
BKP?*R:
110108
BKP: [0, 0xFFFFFFFF]

devices/patches/octospi/add_wrap.yaml

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
_add:
2+
WPCCR:
3+
description: wrap communication configuration register
4+
addressOffset: 0x140
5+
resetValue: 0x00000000
6+
fields:
7+
DQSE:
8+
description: DQS enable
9+
bitOffset: 29
10+
bitWidth: 1
11+
DDTR:
12+
description: Data double transfer rate
13+
bitOffset: 27
14+
bitWidth: 1
15+
DMODE:
16+
description: Data mode
17+
bitOffset: 24
18+
bitWidth: 3
19+
ABSIZE:
20+
description: Alternate bytes size
21+
bitOffset: 20
22+
bitWidth: 2
23+
ABDTR:
24+
description: Alternate bytes double transfer rate
25+
bitOffset: 19
26+
bitWidth: 1
27+
ABMODE:
28+
description: Alternate-byte mode
29+
bitOffset: 16
30+
bitWidth: 3
31+
ADSIZE:
32+
description: Address size
33+
bitOffset: 12
34+
bitWidth: 2
35+
ADDTR:
36+
description: Address double transfer rate
37+
bitOffset: 11
38+
bitWidth: 1
39+
ADMODE:
40+
description: Address mode
41+
bitOffset: 8
42+
bitWidth: 3
43+
ISIZE:
44+
description: Instruction size
45+
bitOffset: 4
46+
bitWidth: 2
47+
IDTR:
48+
description: Instruction double transfer rate
49+
bitOffset: 3
50+
bitWidth: 1
51+
IMODE:
52+
description: Instruction mode
53+
bitOffset: 0
54+
bitWidth: 3
55+
56+
WPTCR:
57+
description: Wrap timing configuration register
58+
addressOffset: 0x148
59+
resetValue: 0x00000000
60+
fields:
61+
SSHIFT:
62+
description: Sample shift
63+
bitOffset: 30
64+
bitWidth: 1
65+
DHQC:
66+
description: Delay hold quarter cycle
67+
bitOffset: 28
68+
bitWidth: 1
69+
DCYC:
70+
description: Number of dummy cycles
71+
bitOffset: 0
72+
bitWidth: 5
73+
74+
WPIR:
75+
description: Wrap instruction register
76+
addressOffset: 0x150
77+
resetValue: 0x00000000
78+
fields:
79+
INSTRUCTION:
80+
description: Instruction
81+
bitOffset: 0
82+
bitWidth: 32
83+
84+
WPABR:
85+
description: Wrap alternate bytes register
86+
addressOffset: 0x160
87+
resetValue: 0x00000000
88+
fields:
89+
ALTERNATE:
90+
description: Alternate bytes
91+
bitOffset: 0
92+
bitWidth: 32

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy