Skip to content

Commit

Permalink
Merge pull request #473 from romixlab/dsi-display
Browse files Browse the repository at this point in the history
MIPI DSI Display HAL
  • Loading branch information
richardeoin authored Jan 27, 2024
2 parents aea2aa8 + 891d9f5 commit 9bfd5b1
Show file tree
Hide file tree
Showing 19 changed files with 2,327 additions and 138 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
matrix: # All permutations of {rust, mcu}
rust:
- 1.65.0 # MSRV
- 1.66.1 # MSRV
- stable
mcu:
- stm32h743
Expand All @@ -33,7 +33,7 @@ jobs:
- stm32h7b0
- stm32h735
env: # Peripheral Feature flags
FLAGS: rt,xspi,sdmmc,sdmmc-fatfs,fmc,usb_hs,rtc,ethernet,ltdc,crc,rand,can,defmt
FLAGS: rt,xspi,sdmmc,sdmmc-fatfs,fmc,usb_hs,rtc,ethernet,ltdc,crc,rand,can,dsi,defmt

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- log-semihost
- log-rtt
env: # Peripheral Feature flags
FLAGS: rt,xspi,sdmmc,sdmmc-fatfs,fmc,usb_hs,rtc,ethernet,ltdc,crc,rand,can
FLAGS: rt,xspi,sdmmc,sdmmc-fatfs,fmc,usb_hs,rtc,ethernet,ltdc,crc,rand,can,dsi

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [Unreleased]

* MSRV increased to Rust 1.66.1 [#473]

## [v0.15.1] 2023-11-03

* Bugfix, usb: On RM0455 and RM0468 parts, PA11/PA12 do not have an alternate function
Expand Down
20 changes: 17 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ authors = ["Andrew Straw <[email protected]>",
"Florian Jung <[email protected]>",
"Matt Ickstadt <[email protected]>"]
edition = "2021"
rust-version = "1.65"
rust-version = "1.66.1"
categories = ["embedded", "hardware-support", "no-std"]
description = "Hardware Abstraction Layer implementation for STM32H7 series microcontrollers"
keywords = ["arm", "cortex-m", "stm32h7xx", "hal", "embedded-hal"]
Expand Down Expand Up @@ -42,7 +42,7 @@ sdio-host = { version = "0.9", optional = true }
embedded-sdmmc = { version = "0.5", optional = true }
stm32-fmc = { version = "0.3", optional = true }
synopsys-usb-otg = { version = "0.4", features = ["cortex-m"], optional = true }
embedded-display-controller = { version = "^0.1.0", optional = true }
embedded-display-controller = { version = "^0.2.0", optional = true }
log = { version = "0.4.14", optional = true} # see also the dev-dependencies section
fdcan = { version = "0.2", optional = true }
embedded-storage = "0.3"
Expand Down Expand Up @@ -81,6 +81,8 @@ usbd-serial = "0.2.0"
numtoa = "0.2.3"
tinybmp = "0.5"
embedded-graphics = "0.8"
otm8009a = "0.1"
eg-seven-segment = "0.2.0"

[dev-dependencies.smoltcp]
version = "0.10.0"
Expand All @@ -100,7 +102,7 @@ gpio-h72 = []
gpio-h747 = []
gpio-h7a2 = []

dsi = []
dsi = ["embedded-display-controller"]
cm4 = []
cm7 = []
smps = []
Expand Down Expand Up @@ -167,6 +169,18 @@ required-features = ["can"]
name = "crc"
required-features = ["crc"]

[[example]]
name = "display-dsi-video-stm32h747i-disco"
required-features = ["dsi", "ltdc", "fmc", "rtc", "rm0399"]

[[example]]
name = "display-dsi-video-teartest-stm32h747i-disco"
required-features = ["dsi", "ltdc", "fmc", "rm0399"]

[[example]]
name = "display-dsi-command-teartest-stm32h747i-disco"
required-features = ["dsi", "ltdc", "fmc", "rm0399"]

[[example]]
name = "embedded-graphics"
required-features = ["ltdc", "xspi", "rm0468"]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ stm32h7xx-hal
[![docs.rs](https://docs.rs/stm32h7xx-hal/badge.svg)](https://docs.rs/stm32h7xx-hal)
[![CI](https://github.com/stm32-rs/stm32h7xx-hal/workflows/Continuous%20integration/badge.svg)](https://github.com/stm32-rs/stm32h7xx-hal/actions)
[![Crates.io](https://img.shields.io/crates/v/stm32h7xx-hal.svg)](https://crates.io/crates/stm32h7xx-hal)
![Minimum rustc version](https://img.shields.io/badge/rustc-1.65.0+-yellow.svg)
![Minimum rustc version](https://img.shields.io/badge/rustc-1.66.1+-yellow.svg)

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

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

Expand Down
Loading

0 comments on commit 9bfd5b1

Please sign in to comment.