From 3332c4070555f8c87564aa90f61091c9fa4aef8a Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Wed, 24 Nov 2021 03:17:54 +0100 Subject: examples: remove unused deps. --- examples/stm32f7/Cargo.toml | 2 -- examples/stm32f7/src/bin/eth.rs | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'examples/stm32f7') diff --git a/examples/stm32f7/Cargo.toml b/examples/stm32f7/Cargo.toml index 2d3cd0b7..68c73f09 100644 --- a/examples/stm32f7/Cargo.toml +++ b/examples/stm32f7/Cargo.toml @@ -9,9 +9,7 @@ resolver = "2" embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt"] } embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] } embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "net", "stm32f767zi", "unstable-pac", "time-driver-tim2"] } -embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } embassy-net = { path = "../../embassy-net", default-features = false, features = ["defmt", "tcp", "medium-ethernet", "pool-16"] } -embassy-macros = { path = "../../embassy-macros" } defmt = "0.3" defmt-rtt = "0.3" diff --git a/examples/stm32f7/src/bin/eth.rs b/examples/stm32f7/src/bin/eth.rs index afb86086..521b031e 100644 --- a/examples/stm32f7/src/bin/eth.rs +++ b/examples/stm32f7/src/bin/eth.rs @@ -13,7 +13,6 @@ use embassy::executor::{Executor, Spawner}; use embassy::io::AsyncWriteExt; use embassy::time::{Duration, Timer}; use embassy::util::Forever; -use embassy_macros::interrupt_take; use embassy_net::{ Config as NetConfig, Ipv4Address, Ipv4Cidr, StackResources, StaticConfigurator, TcpSocket, }; @@ -101,7 +100,7 @@ fn main() -> ! { RNG_INST.replace(rng); } - let eth_int = interrupt_take!(ETH); + let eth_int = interrupt::take!(ETH); let mac_addr = [0x00, 0x00, 0xDE, 0xAD, 0xBE, 0xEF]; let state = STATE.put(State::new()); -- cgit v1.2.3