-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
demos: More st7789 to the demo directory
Signed-off-by: Alistair Francis <[email protected]>
- Loading branch information
1 parent
5b57ff7
commit 0cc29f2
Showing
6 changed files
with
40 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/Cargo.lock | ||
/nightly/target | ||
/target | ||
/demos/*/target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[package] | ||
name = "st7789" | ||
version = "0.1.0" | ||
edition = "2021" | ||
rust-version.workspace = true | ||
authors = ["Alistair Francis <[email protected]>"] | ||
description = """A demo to drive a ST7789 display via SPI using libtock-rs.""" | ||
license = "Apache-2.0 OR MIT" | ||
|
||
[dependencies] | ||
libtock = { path = "../../", features = ["rust_embedded"] } | ||
|
||
embedded-hal = "1.0" | ||
|
||
mipidsi = "0.8.0" | ||
display-interface-spi = "0.5" | ||
embedded-graphics = "0.8" | ||
|
||
[build-dependencies] | ||
libtock_build_scripts = { path = "../../build_scripts" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fn main() { | ||
libtock_build_scripts::auto_layout(); | ||
} |
File renamed without changes.