diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32f4/src/bin/eth.rs | 2 | ||||
| -rw-r--r-- | examples/stm32f7/src/bin/eth.rs | 2 | ||||
| -rw-r--r-- | examples/stm32h5/src/bin/eth.rs | 2 | ||||
| -rw-r--r-- | examples/stm32h7/src/bin/eth.rs | 2 | ||||
| -rw-r--r-- | examples/stm32h7/src/bin/eth_client.rs | 2 | ||||
| -rw-r--r-- | examples/stm32h7/src/bin/eth_client_mii.rs | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/examples/stm32f4/src/bin/eth.rs b/examples/stm32f4/src/bin/eth.rs index baed96449..a3af8f75c 100644 --- a/examples/stm32f4/src/bin/eth.rs +++ b/examples/stm32f4/src/bin/eth.rs | |||
| @@ -76,7 +76,7 @@ async fn main(spawner: Spawner) -> ! { | |||
| 76 | p.PG13, | 76 | p.PG13, |
| 77 | p.PB13, | 77 | p.PB13, |
| 78 | p.PG11, | 78 | p.PG11, |
| 79 | GenericSMI::new(0), | 79 | GenericSMI::new_auto(), |
| 80 | mac_addr, | 80 | mac_addr, |
| 81 | ); | 81 | ); |
| 82 | 82 | ||
diff --git a/examples/stm32f7/src/bin/eth.rs b/examples/stm32f7/src/bin/eth.rs index 1f1eadf37..f353af674 100644 --- a/examples/stm32f7/src/bin/eth.rs +++ b/examples/stm32f7/src/bin/eth.rs | |||
| @@ -77,7 +77,7 @@ async fn main(spawner: Spawner) -> ! { | |||
| 77 | p.PG13, | 77 | p.PG13, |
| 78 | p.PB13, | 78 | p.PB13, |
| 79 | p.PG11, | 79 | p.PG11, |
| 80 | GenericSMI::new(0), | 80 | GenericSMI::new_auto(), |
| 81 | mac_addr, | 81 | mac_addr, |
| 82 | ); | 82 | ); |
| 83 | 83 | ||
diff --git a/examples/stm32h5/src/bin/eth.rs b/examples/stm32h5/src/bin/eth.rs index eee1632f5..ead346741 100644 --- a/examples/stm32h5/src/bin/eth.rs +++ b/examples/stm32h5/src/bin/eth.rs | |||
| @@ -80,7 +80,7 @@ async fn main(spawner: Spawner) -> ! { | |||
| 80 | p.PG13, | 80 | p.PG13, |
| 81 | p.PB15, | 81 | p.PB15, |
| 82 | p.PG11, | 82 | p.PG11, |
| 83 | GenericSMI::new(0), | 83 | GenericSMI::new_auto(), |
| 84 | mac_addr, | 84 | mac_addr, |
| 85 | ); | 85 | ); |
| 86 | 86 | ||
diff --git a/examples/stm32h7/src/bin/eth.rs b/examples/stm32h7/src/bin/eth.rs index ec3f2c000..6665cd1d0 100644 --- a/examples/stm32h7/src/bin/eth.rs +++ b/examples/stm32h7/src/bin/eth.rs | |||
| @@ -79,7 +79,7 @@ async fn main(spawner: Spawner) -> ! { | |||
| 79 | p.PG13, // TX_D0: Transmit Bit 0 | 79 | p.PG13, // TX_D0: Transmit Bit 0 |
| 80 | p.PB13, // TX_D1: Transmit Bit 1 | 80 | p.PB13, // TX_D1: Transmit Bit 1 |
| 81 | p.PG11, // TX_EN: Transmit Enable | 81 | p.PG11, // TX_EN: Transmit Enable |
| 82 | GenericSMI::new(0), | 82 | GenericSMI::new_auto(), |
| 83 | mac_addr, | 83 | mac_addr, |
| 84 | ); | 84 | ); |
| 85 | 85 | ||
diff --git a/examples/stm32h7/src/bin/eth_client.rs b/examples/stm32h7/src/bin/eth_client.rs index a1558b079..4fbe10f31 100644 --- a/examples/stm32h7/src/bin/eth_client.rs +++ b/examples/stm32h7/src/bin/eth_client.rs | |||
| @@ -81,7 +81,7 @@ async fn main(spawner: Spawner) -> ! { | |||
| 81 | p.PG13, | 81 | p.PG13, |
| 82 | p.PB13, | 82 | p.PB13, |
| 83 | p.PG11, | 83 | p.PG11, |
| 84 | GenericSMI::new(0), | 84 | GenericSMI::new_auto(), |
| 85 | mac_addr, | 85 | mac_addr, |
| 86 | ); | 86 | ); |
| 87 | 87 | ||
diff --git a/examples/stm32h7/src/bin/eth_client_mii.rs b/examples/stm32h7/src/bin/eth_client_mii.rs index a352ef444..53f86ac80 100644 --- a/examples/stm32h7/src/bin/eth_client_mii.rs +++ b/examples/stm32h7/src/bin/eth_client_mii.rs | |||
| @@ -86,7 +86,7 @@ async fn main(spawner: Spawner) -> ! { | |||
| 86 | p.PC2, | 86 | p.PC2, |
| 87 | p.PE2, | 87 | p.PE2, |
| 88 | p.PG11, | 88 | p.PG11, |
| 89 | GenericSMI::new(1), | 89 | GenericSMI::new_auto(), |
| 90 | mac_addr, | 90 | mac_addr, |
| 91 | ); | 91 | ); |
| 92 | info!("Device created"); | 92 | info!("Device created"); |
