Skip to content

Commit 92397ab

Browse files
author
Johannes Draaijer
committed
Update to ieee802_3_miim 0.7
1 parent 0a3b105 commit 92397ab

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ aligned = "0.4"
2323
stm32f7xx-hal = { version = "0.7.0", optional = true }
2424
stm32f4xx-hal = { version = "0.13", optional = true }
2525
stm32f1xx-hal = { version = "0.9", optional = true }
26-
ieee802_3_miim = { version = "0.6", optional = true }
26+
ieee802_3_miim = { version = "0.7", optional = true }
2727
cortex-m = "0.7"
2828
log = { version = "0.4", optional = true }
2929

examples/arp-smoltcp.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,14 @@ use cortex_m::interrupt::Mutex;
1818
use cortex_m_rt::{entry, exception};
1919
use cortex_m_semihosting::hprintln;
2020
use fugit::RateExtU32;
21-
use ieee802_3_miim::Phy;
2221
use smoltcp::wire::{
2322
ArpOperation, ArpPacket, ArpRepr, EthernetAddress, EthernetFrame, EthernetProtocol,
2423
EthernetRepr, Ipv4Address,
2524
};
2625
use stm32_eth::{
2726
hal::gpio::{GpioExt, Speed},
2827
hal::rcc::RccExt,
29-
mac::phy::bare::BarePhy,
28+
mac::{phy::BarePhy, Phy},
3029
stm32::{interrupt, CorePeripherals, Peripherals, SYST},
3130
};
3231
use stm32_eth::{EthPins, RingEntry, TxError};

examples/arp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use fugit::RateExtU32;
2020
use stm32_eth::{
2121
hal::gpio::{GpioExt, Speed},
2222
hal::rcc::RccExt,
23-
mac::{phy::bare::BarePhy, Phy},
23+
mac::{phy::BarePhy, Phy},
2424
stm32::{interrupt, CorePeripherals, Peripherals, SYST},
2525
};
2626

examples/pktgen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use fugit::RateExtU32;
1717
use stm32_eth::{
1818
hal::gpio::{GpioExt, Speed},
1919
hal::rcc::RccExt,
20-
mac::{phy::bare::BarePhy, Phy},
20+
mac::{phy::BarePhy, Phy},
2121
stm32::{interrupt, CorePeripherals, Peripherals, SYST},
2222
};
2323

0 commit comments

Comments
 (0)