You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove flip-link feature, replace by flip-link option (#3001)
* Fix renamed config options
* Make `flip-link` feature into a config-option
* Remove `psram-quad`/`psram-octal` - replaced by `psram`
* Changelogs
* Fix
* Add `esp_config::Validator::Enumeration`
* Fix HIL-tests
* HIL: use octal psram for the S3
* Fix xtask
* xtask
* examples
* Make `spi-address-workaround` only available on ESP32
* Always allow `cfg(spi_address_workaround)`
* Make config-options valid for all targets
Copy file name to clipboardExpand all lines: esp-hal/MIGRATING-0.23.md
+35Lines changed: 35 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,6 +128,41 @@ Use `DataMode::SingleTwoDataLines` to get the previous behavior.
128
128
129
129
`Spi` now offers both, `with_mosi` and `with_sio0`. Consider using `with_sio` for half-duplex SPI except for [DataMode::SingleTwoDataLines] or for a mixed-bus.
130
130
131
+
## Removed `flip-link` Feature
132
+
133
+
The `flip-link` feature is removed and replaced by the `ESP_HAL_CONFIG_FLIP_LINK` option.
134
+
135
+
Cargo.toml
136
+
```diff
137
+
- esp-hal = { version = "0.23.0", features = ["flip-link"]}
138
+
+ esp-hal = "0.23.0"
139
+
```
140
+
141
+
config/config.toml
142
+
```diff
143
+
[env]
144
+
+ ESP_HAL_CONFIG_FLIP_LINK = "true"
145
+
```
146
+
147
+
## Removed `psram-quad`/`prsram-octal` Feature
148
+
149
+
The features `psram-quad`/`prsram-octal` are replaced by a single `psram` feature and an additional config option (`ESP_HAL_CONFIG_PSRAM_MODE`).
150
+
151
+
`ESP_HAL_CONFIG_PSRAM_MODE` defaults to `quad` and (for ESP32-S3) also allows `octal`.
152
+
153
+
Cargo.toml
154
+
```diff
155
+
- esp-hal = { version = "0.23.0", features = ["psram-octal"]}
156
+
+ esp-hal = { version = "0.23.0", features = ["psram"]}
157
+
```
158
+
159
+
config/config.toml
160
+
```diff
161
+
[env]
162
+
+ ESP_HAL_CONFIG_PSRAM_MODE = "octal"
163
+
```
164
+
165
+
131
166
## UART halves have their configuration split too
132
167
133
168
`Uart::Config` structure now contains separate `RxConfig` and `TxConfig`:
0 commit comments