diff options
| author | Matous Hybl <[email protected]> | 2021-11-03 17:01:48 +0100 |
|---|---|---|
| committer | Matous Hybl <[email protected]> | 2021-11-04 16:25:30 +0100 |
| commit | 9b5d9fbfcab7a51463ab98019e67ca3f667035e6 (patch) | |
| tree | 95ac81872395ad77d8097c844ce80b177e75f01a /examples/stm32h7/src/bin/eth.rs | |
| parent | 26f86d7f36ebbab3e43bad2edef78bf6002456d4 (diff) | |
Fix v2 ethernet pin definitions. Fix ethernet example for H7 nucleos.
Diffstat (limited to 'examples/stm32h7/src/bin/eth.rs')
| -rw-r--r-- | examples/stm32h7/src/bin/eth.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/stm32h7/src/bin/eth.rs b/examples/stm32h7/src/bin/eth.rs index acb6ef3a6..c1b203b8e 100644 --- a/examples/stm32h7/src/bin/eth.rs +++ b/examples/stm32h7/src/bin/eth.rs | |||
| @@ -105,8 +105,8 @@ fn main() -> ! { | |||
| 105 | let state = STATE.put(State::new()); | 105 | let state = STATE.put(State::new()); |
| 106 | let eth = unsafe { | 106 | let eth = unsafe { |
| 107 | ETH.put(Ethernet::new( | 107 | ETH.put(Ethernet::new( |
| 108 | state, p.ETH, eth_int, p.PA1, p.PA2, p.PC1, p.PA7, p.PC4, p.PC5, p.PB12, p.PB13, | 108 | state, p.ETH, eth_int, p.PA1, p.PA2, p.PC1, p.PA7, p.PC4, p.PC5, p.PG13, p.PB13, |
| 109 | p.PB11, LAN8742A, mac_addr, 1, | 109 | p.PG11, LAN8742A, mac_addr, 0, |
| 110 | )) | 110 | )) |
| 111 | }; | 111 | }; |
| 112 | 112 | ||
