@@ -34,11 +34,10 @@ use rt::{entry, exception, ExceptionFrame};
34
34
use sh:: hio:: { self , HStdout } ;
35
35
use smoltcp:: {
36
36
socket:: {
37
- Socket , SocketSet , TcpSocket , TcpSocketBuffer , UdpPacketMetadata , UdpSocket ,
38
- UdpSocketBuffer , IcmpSocket , IcmpEndpoint ,
37
+ Socket , TcpSocket , TcpSocketBuffer , UdpPacketMetadata , UdpSocket , UdpSocketBuffer ,
39
38
} ,
40
39
time:: Instant ,
41
- wire:: { EthernetAddress , IpAddress , IpEndpoint , Ipv4Address } ,
40
+ wire:: { EthernetAddress , IpEndpoint } ,
42
41
} ;
43
42
use stm32f7:: stm32f7x6:: {
44
43
CorePeripherals , Interrupt , Peripherals , ETHERNET_DMA , ETHERNET_MAC , RCC , SAI2 , SYSCFG ,
@@ -492,8 +491,8 @@ where
492
491
}
493
492
494
493
async fn run ( mut self ) {
495
- use smoltcp:: wire:: { EthernetAddress , Ipv4Address , IpCidr } ;
496
- use smoltcp:: socket:: { SocketSet , RawSocketBuffer , RawPacketMetadata , IcmpSocketBuffer , IcmpPacketMetadata } ;
494
+ use smoltcp:: wire:: { Ipv4Address , IpCidr } ;
495
+ use smoltcp:: socket:: { SocketSet , RawSocketBuffer , RawPacketMetadata } ;
497
496
use smoltcp:: dhcp:: Dhcpv4Client ;
498
497
499
498
let mut ethernet_interface = ethernet:: EthernetDevice :: new (
0 commit comments