Merge pull request #3795 from nikvoid/stm32-phy-addr-detection

STM32: Option to detect Ethernet PHY address automatically
This commit is contained in:
Dario Nieuwenhuis
2025-01-26 21:21:06 +00:00
committed by GitHub
8 changed files with 53 additions and 7 deletions

View File

@@ -76,7 +76,7 @@ async fn main(spawner: Spawner) -> ! {
p.PG13,
p.PB13,
p.PG11,
GenericSMI::new(0),
GenericSMI::new_auto(),
mac_addr,
);

View File

@@ -77,7 +77,7 @@ async fn main(spawner: Spawner) -> ! {
p.PG13,
p.PB13,
p.PG11,
GenericSMI::new(0),
GenericSMI::new_auto(),
mac_addr,
);

View File

@@ -80,7 +80,7 @@ async fn main(spawner: Spawner) -> ! {
p.PG13,
p.PB15,
p.PG11,
GenericSMI::new(0),
GenericSMI::new_auto(),
mac_addr,
);

View File

@@ -79,7 +79,7 @@ async fn main(spawner: Spawner) -> ! {
p.PG13, // TX_D0: Transmit Bit 0
p.PB13, // TX_D1: Transmit Bit 1
p.PG11, // TX_EN: Transmit Enable
GenericSMI::new(0),
GenericSMI::new_auto(),
mac_addr,
);

View File

@@ -81,7 +81,7 @@ async fn main(spawner: Spawner) -> ! {
p.PG13,
p.PB13,
p.PG11,
GenericSMI::new(0),
GenericSMI::new_auto(),
mac_addr,
);

View File

@@ -86,7 +86,7 @@ async fn main(spawner: Spawner) -> ! {
p.PC2,
p.PE2,
p.PG11,
GenericSMI::new(1),
GenericSMI::new_auto(),
mac_addr,
);
info!("Device created");