Skip to content

Commit 9bfd5b1

Browse files
authored
Merge pull request #473 from romixlab/dsi-display
MIPI DSI Display HAL
2 parents aea2aa8 + 891d9f5 commit 9bfd5b1

19 files changed

+2327
-138
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
matrix: # All permutations of {rust, mcu}
2323
rust:
24-
- 1.65.0 # MSRV
24+
- 1.66.1 # MSRV
2525
- stable
2626
mcu:
2727
- stm32h743
@@ -33,7 +33,7 @@ jobs:
3333
- stm32h7b0
3434
- stm32h735
3535
env: # Peripheral Feature flags
36-
FLAGS: rt,xspi,sdmmc,sdmmc-fatfs,fmc,usb_hs,rtc,ethernet,ltdc,crc,rand,can,defmt
36+
FLAGS: rt,xspi,sdmmc,sdmmc-fatfs,fmc,usb_hs,rtc,ethernet,ltdc,crc,rand,can,dsi,defmt
3737

3838
steps:
3939
- uses: actions/checkout@v4

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- log-semihost
2020
- log-rtt
2121
env: # Peripheral Feature flags
22-
FLAGS: rt,xspi,sdmmc,sdmmc-fatfs,fmc,usb_hs,rtc,ethernet,ltdc,crc,rand,can
22+
FLAGS: rt,xspi,sdmmc,sdmmc-fatfs,fmc,usb_hs,rtc,ethernet,ltdc,crc,rand,can,dsi
2323

2424
steps:
2525
- uses: actions/checkout@v4

CHANGELOG.md

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

33
## [Unreleased]
44

5+
* MSRV increased to Rust 1.66.1 [#473]
6+
57
## [v0.15.1] 2023-11-03
68

79
* Bugfix, usb: On RM0455 and RM0468 parts, PA11/PA12 do not have an alternate function

Cargo.toml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ authors = ["Andrew Straw <[email protected]>",
1111
"Florian Jung <[email protected]>",
1212
"Matt Ickstadt <[email protected]>"]
1313
edition = "2021"
14-
rust-version = "1.65"
14+
rust-version = "1.66.1"
1515
categories = ["embedded", "hardware-support", "no-std"]
1616
description = "Hardware Abstraction Layer implementation for STM32H7 series microcontrollers"
1717
keywords = ["arm", "cortex-m", "stm32h7xx", "hal", "embedded-hal"]
@@ -42,7 +42,7 @@ sdio-host = { version = "0.9", optional = true }
4242
embedded-sdmmc = { version = "0.5", optional = true }
4343
stm32-fmc = { version = "0.3", optional = true }
4444
synopsys-usb-otg = { version = "0.4", features = ["cortex-m"], optional = true }
45-
embedded-display-controller = { version = "^0.1.0", optional = true }
45+
embedded-display-controller = { version = "^0.2.0", optional = true }
4646
log = { version = "0.4.14", optional = true} # see also the dev-dependencies section
4747
fdcan = { version = "0.2", optional = true }
4848
embedded-storage = "0.3"
@@ -81,6 +81,8 @@ usbd-serial = "0.2.0"
8181
numtoa = "0.2.3"
8282
tinybmp = "0.5"
8383
embedded-graphics = "0.8"
84+
otm8009a = "0.1"
85+
eg-seven-segment = "0.2.0"
8486

8587
[dev-dependencies.smoltcp]
8688
version = "0.10.0"
@@ -100,7 +102,7 @@ gpio-h72 = []
100102
gpio-h747 = []
101103
gpio-h7a2 = []
102104

103-
dsi = []
105+
dsi = ["embedded-display-controller"]
104106
cm4 = []
105107
cm7 = []
106108
smps = []
@@ -167,6 +169,18 @@ required-features = ["can"]
167169
name = "crc"
168170
required-features = ["crc"]
169171

172+
[[example]]
173+
name = "display-dsi-video-stm32h747i-disco"
174+
required-features = ["dsi", "ltdc", "fmc", "rtc", "rm0399"]
175+
176+
[[example]]
177+
name = "display-dsi-video-teartest-stm32h747i-disco"
178+
required-features = ["dsi", "ltdc", "fmc", "rm0399"]
179+
180+
[[example]]
181+
name = "display-dsi-command-teartest-stm32h747i-disco"
182+
required-features = ["dsi", "ltdc", "fmc", "rm0399"]
183+
170184
[[example]]
171185
name = "embedded-graphics"
172186
required-features = ["ltdc", "xspi", "rm0468"]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ stm32h7xx-hal
66
[![docs.rs](https://docs.rs/stm32h7xx-hal/badge.svg)](https://docs.rs/stm32h7xx-hal)
77
[![CI](https://github.com/stm32-rs/stm32h7xx-hal/workflows/Continuous%20integration/badge.svg)](https://github.com/stm32-rs/stm32h7xx-hal/actions)
88
[![Crates.io](https://img.shields.io/crates/v/stm32h7xx-hal.svg)](https://crates.io/crates/stm32h7xx-hal)
9-
![Minimum rustc version](https://img.shields.io/badge/rustc-1.65.0+-yellow.svg)
9+
![Minimum rustc version](https://img.shields.io/badge/rustc-1.66.1+-yellow.svg)
1010

1111
[_stm32h7xx-hal_](https://github.com/stm32-rs/stm32h7xx-hal) contains
1212
a hardware abstraction layer on top of the peripheral access API for
@@ -110,7 +110,7 @@ programming interfaces are only available on the high density connectors.
110110
Minimum supported Rust version
111111
------------------------------
112112

113-
The Minimum Supported Rust Version (MSRV) at the moment is **1.65.0**. Older
113+
The Minimum Supported Rust Version (MSRV) at the moment is **1.66.1**. Older
114114
versions **may** compile, especially when some features are not used in your
115115
application.
116116

0 commit comments

Comments
 (0)