diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-04-09 20:07:32 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-09 20:07:32 +0000 |
| commit | 46efce6ea2d4280d5e8e1eaece53269a94fb4847 (patch) | |
| tree | 06f8f837f861366f10843610df4fb87a9c9d385e /examples | |
| parent | cbbfeb23be69769a957c38a09f8b759cc83f076e (diff) | |
| parent | 683ad8047996709fce819c90f6cad47c096a57b7 (diff) | |
Merge pull request #64 from kbleeke/master
general maintenance commits
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/rpi-pico-w/Cargo.toml | 20 | ||||
| -rw-r--r-- | examples/rpi-pico-w/src/main.rs | 2 |
2 files changed, 11 insertions, 11 deletions
diff --git a/examples/rpi-pico-w/Cargo.toml b/examples/rpi-pico-w/Cargo.toml index 41ee8a3c4..dca796e3d 100644 --- a/examples/rpi-pico-w/Cargo.toml +++ b/examples/rpi-pico-w/Cargo.toml | |||
| @@ -7,14 +7,14 @@ edition = "2021" | |||
| 7 | [dependencies] | 7 | [dependencies] |
| 8 | cyw43 = { path = "../../", features = ["defmt", "firmware-logs"] } | 8 | cyw43 = { path = "../../", features = ["defmt", "firmware-logs"] } |
| 9 | cyw43-pio = { path = "../../cyw43-pio" } | 9 | cyw43-pio = { path = "../../cyw43-pio" } |
| 10 | embassy-executor = { version = "0.1.0", features = ["defmt", "integrated-timers"] } | 10 | embassy-executor = { version = "0.1.0", features = ["defmt", "integrated-timers", "executor-thread", "arch-cortex-m"] } |
| 11 | embassy-time = { version = "0.1.0", features = ["defmt", "defmt-timestamp-uptime"] } | 11 | embassy-time = { version = "0.1.0", features = ["defmt", "defmt-timestamp-uptime"] } |
| 12 | embassy-rp = { version = "0.1.0", features = ["defmt", "unstable-traits", "nightly", "unstable-pac", "time-driver", "pio"] } | 12 | embassy-rp = { version = "0.1.0", features = ["defmt", "unstable-traits", "nightly", "unstable-pac", "time-driver", "pio"] } |
| 13 | embassy-net = { version = "0.1.0", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet", "unstable-traits", "nightly"] } | 13 | embassy-net = { version = "0.1.0", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet", "unstable-traits", "nightly"] } |
| 14 | atomic-polyfill = "0.1.5" | 14 | atomic-polyfill = "0.1.5" |
| 15 | static_cell = "1.0" | 15 | static_cell = "1.0" |
| 16 | 16 | ||
| 17 | defmt = "0.3" | 17 | defmt = "=0.3.2" |
| 18 | defmt-rtt = "0.3" | 18 | defmt-rtt = "0.3" |
| 19 | panic-probe = { version = "0.3", features = ["print-defmt"] } | 19 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 20 | 20 | ||
| @@ -27,14 +27,14 @@ heapless = "0.7.15" | |||
| 27 | 27 | ||
| 28 | 28 | ||
| 29 | [patch.crates-io] | 29 | [patch.crates-io] |
| 30 | embassy-executor = { git = "https://github.com/embassy-rs/embassy", rev = "e3f8020c3bdf726dfa451b5b190f27191507a18f" } | 30 | embassy-executor = { git = "https://github.com/embassy-rs/embassy", rev = "047ea9066f0d946fd4d706577b21df38fd3b1647" } |
| 31 | embassy-time = { git = "https://github.com/embassy-rs/embassy", rev = "e3f8020c3bdf726dfa451b5b190f27191507a18f" } | 31 | embassy-time = { git = "https://github.com/embassy-rs/embassy", rev = "047ea9066f0d946fd4d706577b21df38fd3b1647" } |
| 32 | embassy-futures = { git = "https://github.com/embassy-rs/embassy", rev = "e3f8020c3bdf726dfa451b5b190f27191507a18f" } | 32 | embassy-futures = { git = "https://github.com/embassy-rs/embassy", rev = "047ea9066f0d946fd4d706577b21df38fd3b1647" } |
| 33 | embassy-sync = { git = "https://github.com/embassy-rs/embassy", rev = "e3f8020c3bdf726dfa451b5b190f27191507a18f" } | 33 | embassy-sync = { git = "https://github.com/embassy-rs/embassy", rev = "047ea9066f0d946fd4d706577b21df38fd3b1647" } |
| 34 | embassy-rp = { git = "https://github.com/embassy-rs/embassy", rev = "e3f8020c3bdf726dfa451b5b190f27191507a18f" } | 34 | embassy-rp = { git = "https://github.com/embassy-rs/embassy", rev = "047ea9066f0d946fd4d706577b21df38fd3b1647" } |
| 35 | embassy-net = { git = "https://github.com/embassy-rs/embassy", rev = "e3f8020c3bdf726dfa451b5b190f27191507a18f" } | 35 | embassy-net = { git = "https://github.com/embassy-rs/embassy", rev = "047ea9066f0d946fd4d706577b21df38fd3b1647" } |
| 36 | embassy-net-driver = { git = "https://github.com/embassy-rs/embassy", rev = "e3f8020c3bdf726dfa451b5b190f27191507a18f" } | 36 | embassy-net-driver = { git = "https://github.com/embassy-rs/embassy", rev = "047ea9066f0d946fd4d706577b21df38fd3b1647" } |
| 37 | embassy-net-driver-channel = { git = "https://github.com/embassy-rs/embassy", rev = "e3f8020c3bdf726dfa451b5b190f27191507a18f" } | 37 | embassy-net-driver-channel = { git = "https://github.com/embassy-rs/embassy", rev = "047ea9066f0d946fd4d706577b21df38fd3b1647" } |
| 38 | 38 | ||
| 39 | [profile.dev] | 39 | [profile.dev] |
| 40 | debug = 2 | 40 | debug = 2 |
diff --git a/examples/rpi-pico-w/src/main.rs b/examples/rpi-pico-w/src/main.rs index 4b1623be7..d5610d2ba 100644 --- a/examples/rpi-pico-w/src/main.rs +++ b/examples/rpi-pico-w/src/main.rs | |||
| @@ -14,7 +14,7 @@ use embassy_net::tcp::TcpSocket; | |||
| 14 | use embassy_net::{Config, Stack, StackResources}; | 14 | use embassy_net::{Config, Stack, StackResources}; |
| 15 | use embassy_rp::gpio::{Flex, Level, Output}; | 15 | use embassy_rp::gpio::{Flex, Level, Output}; |
| 16 | use embassy_rp::peripherals::{DMA_CH0, PIN_23, PIN_24, PIN_25, PIN_29}; | 16 | use embassy_rp::peripherals::{DMA_CH0, PIN_23, PIN_24, PIN_25, PIN_29}; |
| 17 | use embassy_rp::pio::{Pio0, PioPeripherial, PioStateMachineInstance, Sm0}; | 17 | use embassy_rp::pio::{Pio0, PioPeripheral, PioStateMachineInstance, Sm0}; |
| 18 | use embedded_io::asynch::Write; | 18 | use embedded_io::asynch::Write; |
| 19 | use static_cell::StaticCell; | 19 | use static_cell::StaticCell; |
| 20 | use {defmt_rtt as _, panic_probe as _}; | 20 | use {defmt_rtt as _, panic_probe as _}; |
