mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-24 05:01:31 +11:00
Update to pio-rs v0.1.0 (#239)
* Update to PIO 0.1.0 * Update to latest ws2812-pio and i2c-pio. These depend on pio 0.1.0, avoiding a conflict * Rename CI tests. Also check we can cargo build. And remove 'on host tests' that didn't do anything. Co-authored-by: Jonathan Pallant <jonathan.pallant@42technology.com>
This commit is contained in:
parent
24a417f01a
commit
53d9dbdf52
|
@ -1,5 +1,5 @@
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
name: CI Checks
|
name: Build and Test check
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
name: cargo-check
|
name: cargo-check
|
||||||
|
@ -14,10 +14,18 @@ jobs:
|
||||||
target: thumbv6m-none-eabi
|
target: thumbv6m-none-eabi
|
||||||
override: true
|
override: true
|
||||||
profile: minimal
|
profile: minimal
|
||||||
|
- uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: check
|
||||||
|
args: --workspace --examples
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
args: --workspace --examples --features eh1_0_alpha
|
args: --workspace --examples --features eh1_0_alpha
|
||||||
|
- uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: build
|
||||||
|
args: --workspace --all
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
21
.github/workflows/tests_host.yml
vendored
21
.github/workflows/tests_host.yml
vendored
|
@ -1,21 +0,0 @@
|
||||||
on: [push, pull_request]
|
|
||||||
name: On-host tests
|
|
||||||
jobs:
|
|
||||||
check:
|
|
||||||
name: Check and Lint
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
env:
|
|
||||||
RUSTFLAGS: "-D warnings"
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
target: thumbv6m-none-eabi
|
|
||||||
override: true
|
|
||||||
profile: minimal
|
|
||||||
## Tests are currently not working on host - disabled until we can find a good solution
|
|
||||||
# - uses: actions-rs/cargo@v1
|
|
||||||
# with:
|
|
||||||
# command: test
|
|
||||||
# args: --target x86_64-unknown-linux-gnu
|
|
|
@ -21,8 +21,8 @@ panic-halt= "0.2.0"
|
||||||
embedded-hal ="0.2.5"
|
embedded-hal ="0.2.5"
|
||||||
nb = "1.0.0"
|
nb = "1.0.0"
|
||||||
smart-leds = "0.3.0"
|
smart-leds = "0.3.0"
|
||||||
pio = { git = "https://github.com/rp-rs/pio-rs.git", branch = "main" }
|
pio = "0.1.0"
|
||||||
ws2812-pio = { git = "https://github.com/ithinuel/ws2812-pio-rs", rev = "7a11616f994025f5c99f28b283d2b25d60d46a43" }
|
ws2812-pio = { git = "https://github.com/ithinuel/ws2812-pio-rs", rev = "4f0d81e594ea9934f9c4c38ed9824ad0cce4ebb5" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["boot2", "rt"]
|
default = ["boot2", "rt"]
|
||||||
|
|
|
@ -21,8 +21,8 @@ panic-halt= "0.2.0"
|
||||||
embedded-hal ="0.2.5"
|
embedded-hal ="0.2.5"
|
||||||
smart-leds = "0.3"
|
smart-leds = "0.3"
|
||||||
nb = "1.0.0"
|
nb = "1.0.0"
|
||||||
pio = { git = "https://github.com/rp-rs/pio-rs.git", branch = "main" }
|
pio = "0.1.0"
|
||||||
ws2812-pio = { git = "https://github.com/ithinuel/ws2812-pio-rs", rev = "7a11616f994025f5c99f28b283d2b25d60d46a43" }
|
ws2812-pio = { git = "https://github.com/ithinuel/ws2812-pio-rs", rev = "4f0d81e594ea9934f9c4c38ed9824ad0cce4ebb5" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["rt", "boot2"]
|
default = ["rt", "boot2"]
|
||||||
|
|
|
@ -25,5 +25,5 @@ rp2040-boot2 = "0.2"
|
||||||
smart-leds = "0.3.0"
|
smart-leds = "0.3.0"
|
||||||
embedded-time = "0.12.0"
|
embedded-time = "0.12.0"
|
||||||
nb = "1.0.0"
|
nb = "1.0.0"
|
||||||
pio = { git = "https://github.com/rp-rs/pio-rs.git", branch = "main" }
|
pio = "0.1.0"
|
||||||
ws2812-pio = { git = "https://github.com/ithinuel/ws2812-pio-rs", rev = "7a11616f994025f5c99f28b283d2b25d60d46a43" }
|
ws2812-pio = { git = "https://github.com/ithinuel/ws2812-pio-rs", rev = "4f0d81e594ea9934f9c4c38ed9824ad0cce4ebb5" }
|
||||||
|
|
|
@ -38,7 +38,7 @@ panic-halt= "0.2.0"
|
||||||
embedded-hal ="0.2.5"
|
embedded-hal ="0.2.5"
|
||||||
cortex-m-rtic = "0.6.0-rc.4"
|
cortex-m-rtic = "0.6.0-rc.4"
|
||||||
nb = "1.0"
|
nb = "1.0"
|
||||||
i2c-pio = { git = "https://github.com/ithinuel/i2c-pio-rs", rev = "afc2dad0e955da2b712d7f7cd78c7af88ddc6a45" }
|
i2c-pio = { git = "https://github.com/ithinuel/i2c-pio-rs", rev = "df06e4ac94a5b2c985d6a9426dc4cc9be0d535c0" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["boot2", "rt"]
|
default = ["boot2", "rt"]
|
||||||
|
|
|
@ -21,8 +21,8 @@ panic-halt = "0.2.0"
|
||||||
smart-leds = "0.3.0"
|
smart-leds = "0.3.0"
|
||||||
embedded-time = "0.12.0"
|
embedded-time = "0.12.0"
|
||||||
nb = "1.0.0"
|
nb = "1.0.0"
|
||||||
pio = { git = "https://github.com/rp-rs/pio-rs.git", branch = "main" }
|
pio = "0.1.0"
|
||||||
ws2812-pio = { git = "https://github.com/ithinuel/ws2812-pio-rs", rev = "7a11616f994025f5c99f28b283d2b25d60d46a43" }
|
ws2812-pio = { git = "https://github.com/ithinuel/ws2812-pio-rs", rev = "4f0d81e594ea9934f9c4c38ed9824ad0cce4ebb5" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["boot2", "rt"]
|
default = ["boot2", "rt"]
|
||||||
|
|
|
@ -21,8 +21,8 @@ panic-halt= "0.2.0"
|
||||||
embedded-hal ="0.2.5"
|
embedded-hal ="0.2.5"
|
||||||
smart-leds = "0.3"
|
smart-leds = "0.3"
|
||||||
nb = "1.0.0"
|
nb = "1.0.0"
|
||||||
pio = { git = "https://github.com/rp-rs/pio-rs.git", branch = "main" }
|
pio = "0.1.0"
|
||||||
ws2812-pio = { git = "https://github.com/ithinuel/ws2812-pio-rs", rev = "7a11616f994025f5c99f28b283d2b25d60d46a43" }
|
ws2812-pio = { git = "https://github.com/ithinuel/ws2812-pio-rs", rev = "4f0d81e594ea9934f9c4c38ed9824ad0cce4ebb5" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["boot2", "rt"]
|
default = ["boot2", "rt"]
|
||||||
|
|
|
@ -18,7 +18,7 @@ itertools = { version = "0.10.1", default-features = false }
|
||||||
nb = "1.0"
|
nb = "1.0"
|
||||||
rp2040-pac = "0.2.0"
|
rp2040-pac = "0.2.0"
|
||||||
paste = "1.0"
|
paste = "1.0"
|
||||||
pio = { git = "https://github.com/rp-rs/pio-rs.git", branch = "main" }
|
pio = "0.1.0"
|
||||||
usb-device = "0.2.8"
|
usb-device = "0.2.8"
|
||||||
vcell = "0.1"
|
vcell = "0.1"
|
||||||
void = { version = "1.0.2", default-features = false }
|
void = { version = "1.0.2", default-features = false }
|
||||||
|
@ -41,7 +41,7 @@ cortex-m-rt = "0.7"
|
||||||
panic-halt = "0.2.0"
|
panic-halt = "0.2.0"
|
||||||
rp2040-boot2 = "0.2.0"
|
rp2040-boot2 = "0.2.0"
|
||||||
hd44780-driver = "0.4.0"
|
hd44780-driver = "0.4.0"
|
||||||
pio-proc = { git = "https://github.com/rp-rs/pio-rs.git", branch = "main" }
|
pio-proc = "0.1.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
rt = ["rp2040-pac/rt"]
|
rt = ["rp2040-pac/rt"]
|
||||||
|
|
Loading…
Reference in a new issue