-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from phip1611/dev
Release 2.0.0 with no_std-support
- Loading branch information
Showing
23 changed files
with
352 additions
and
277 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 @@ | ||
/target | ||
.idea | ||
.DS_STORE | ||
Cargo.lock |
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,12 @@ | ||
language: rust | ||
rust: | ||
- stable | ||
- stable | ||
|
||
script: | ||
- rustup target add thumbv7em-none-eabihf # some embedded ARM chip | ||
- rustup target add armv7-unknown-linux-gnueabihf # Raspberry Pi | ||
- rustup target add x86_64-unknown-linux-gnu # regular Linux | ||
- cargo check --target thumbv7em-none-eabihf --no-default-features # some embedded ARM chip; no_std | ||
- cargo check --target armv7-unknown-linux-gnueabihf # raspberry Pi | ||
- cargo build --target x86_64-unknown-linux-gnu # regular linux; also in CI | ||
- cargo test --all-targets --target x86_64-unknown-linux-gnu # regular linux; also in CI |
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 was deleted.
Oops, something went wrong.
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,15 +1,15 @@ | ||
[package] | ||
name = "ws2818-rgb-led-spi-driver" | ||
description = "Simple, stripped down, educational driver for WS28XX (WS2811) RGB LED (chains). It uses SPI device for timing/clock. Needs Linux and works definitely on Raspberry Pi." | ||
version = "1.0.1" | ||
description = "Simple, stripped down, educational, no_std-compatible driver for WS28XX (WS2811/12) RGB LEDs. Uses SPI device for timing/clock, and works definitely on Linux/Raspberry Pi." | ||
version = "2.0.0" | ||
authors = ["Philipp Schuster <[email protected]>"] | ||
edition = "2018" | ||
exclude = [ | ||
"examples", | ||
".travis.yml", | ||
] | ||
keywords = ["spi", "ws2811", "ws2812", "ws2818", "neopixel"] | ||
categories = ["hardware-support"] | ||
categories = ["hardware-support", "no-std"] | ||
readme = "README.md" | ||
license = "MIT" | ||
homepage = "https://github.com/phip1611/ws2818-rgb-led-spi-driver" | ||
|
@@ -18,5 +18,10 @@ documentation = "https://docs.rs/ws2818-rgb-led-spi-driver/" | |
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[features] | ||
# by default this crate needs "std" and uses "spidev" to access SPI device on Linux | ||
default = ["adapter_spidev"] | ||
adapter_spidev = ["spidev"] | ||
|
||
[dependencies] | ||
spidev = "0.4.1" | ||
spidev = { version = "0.4.1", optional = true } |
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
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
Oops, something went wrong.