Skip to content

Commit

Permalink
Place ltdc behind feature gate
Browse files Browse the repository at this point in the history
  • Loading branch information
richardeoin committed Oct 24, 2020
1 parent e1a0c16 commit d6491d2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- stm32h7b3
- stm32h7b0
env: # Peripheral Feature flags
FLAGS: rt,quadspi,sdmmc,fmc,usb_hs,rtc
FLAGS: rt,quadspi,sdmmc,fmc,usb_hs,rtc,ltdc

steps:
- uses: actions/checkout@v2
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,quadspi,sdmmc,fmc,usb_hs,rtc
FLAGS: rt,quadspi,sdmmc,fmc,usb_hs,rtc,ltdc

steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ dsi = []
cm4 = []
cm7 = []
smps = []
ltdc = []
quadspi = []
fmc = ["stm32-fmc"]
sdmmc = ["sdio-host"]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ pub mod fmc;
pub mod gpio;
#[cfg(feature = "device-selected")]
pub mod i2c;
#[cfg(feature = "device-selected")]
#[cfg(all(feature = "device-selected", feature = "ltdc"))]
pub mod ltdc;
#[cfg(feature = "device-selected")]
pub mod prelude;
Expand Down

0 comments on commit d6491d2

Please sign in to comment.