diff --git a/Cargo.toml b/Cargo.toml index 68a84e9..f45a4ec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ license = "BSD-2-Clause" volatile-register = "0.2" aligned = "0.3" embedded-hal = "0.2" -smoltcp = { version = "0.6.0", default-features = false, features = ["proto-ipv4", "proto-ipv6", "socket-icmp", "socket-udp", "socket-tcp", "log", "verbose", "ethernet"], optional = true } +smoltcp = { version = "0.7.0", default-features = false, features = ["proto-ipv4", "proto-ipv6", "socket-icmp", "socket-udp", "socket-tcp", "log", "verbose", "ethernet"], optional = true } # Optional dependencies for building examples stm32f4xx-hal = { version = "0.8", optional = true } cortex-m = { version = "0.5", optional = true } diff --git a/examples/tcp_stm32f407.rs b/examples/tcp_stm32f407.rs index 80e3278..cd3d18e 100644 --- a/examples/tcp_stm32f407.rs +++ b/examples/tcp_stm32f407.rs @@ -101,8 +101,6 @@ static mut NET_STORE: NetStorage = NetStorage { const APP: () = { struct Resources { eth_iface: EthernetInterface< - 'static, - 'static, 'static, smoltcp_phy::SmoltcpDevice>, itm: ITM