Fix v2 ethernet pin definitions. Fix ethernet example for H7 nucleos.

This commit is contained in:
Matous Hybl
2021-11-03 17:01:48 +01:00
parent 26f86d7f36
commit 9b5d9fbfca
5 changed files with 11 additions and 6 deletions

View File

@ -105,8 +105,8 @@ fn main() -> ! {
let state = STATE.put(State::new());
let eth = unsafe {
ETH.put(Ethernet::new(
state, p.ETH, eth_int, p.PA1, p.PA2, p.PC1, p.PA7, p.PC4, p.PC5, p.PB12, p.PB13,
p.PB11, LAN8742A, mac_addr, 1,
state, p.ETH, eth_int, p.PA1, p.PA2, p.PC1, p.PA7, p.PC4, p.PC5, p.PG13, p.PB13,
p.PG11, LAN8742A, mac_addr, 0,
))
};