-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This allows us to have different dependencies for different examples in the futures. And it makes it easier for new users to get started. They can just copy the example folder. Signed-off-by: Daniel Schaefer <dhs@frame.work>
- Loading branch information
1 parent
e18ed41
commit 7aa4439
Showing
11 changed files
with
44 additions
and
22 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
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
build-all: | ||
cargo build --target=thumbv6m-none-eabi --examples --all-features | ||
cd examples/adafruit_rgb && \ | ||
cargo build --target=thumbv6m-none-eabi --examples --all-features |
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,22 @@ | ||
[package] | ||
name = "stm3" | ||
version = "0.2.0" | ||
edition = "2021" | ||
publish = false | ||
|
||
[dependencies] | ||
is31fl3741 = { path = "../../", features = [ "adafruit_rgb_13x9", "embedded_graphics" ] } | ||
embedded-hal = "0.2.7" | ||
cortex-m-rt = "0.7.3" | ||
cortex-m = "0.7.7" | ||
fugit = "0.3.7" | ||
panic-halt = { version = "0.2.0" } | ||
stm32g0xx-hal = {version = "0.2.0", features = ["rt", "stm32g071"]} | ||
tinybmp = "0.5.0" | ||
embedded-graphics = "0.8.1" | ||
|
||
[[example]] | ||
name = "stm32" | ||
|
||
[[example]] | ||
name = "gaypride" |
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,9 @@ | ||
# Adafruit RGB 13x9 with STM Nucleo | ||
|
||
## Build and run | ||
|
||
``` | ||
cargo build --target=thumbv6m-none-eabi | ||
cargo build --target=thumbv6m-none-eabi --example stm32 | ||
cargo build --target=thumbv6m-none-eabi --example gaypride | ||
``` |
File renamed without changes.
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 @@ | ||
#![no_std] |