Expand description
embassy-net driver for the STM32F7 ETH MAC + LAN8742A PHY.
Same shape as super::qemu_shm::QemuShmDriver — the differences
are all behind the C entry points (ove_stm32f7_eth_async_* vs
ove_qemu_net_async_*). For now the driver polls; spawn a poller
task alongside the embassy-net Runner:
ⓘ
#[embassy_executor::task]
async fn poll_task() {
loop {
embassy_time::Timer::after_millis(2).await;
ove::async_net::stm32f7_eth::wake_poll();
}
}ISR-backed wake (via HAL_ETH_IRQHandler) is a future optimisation
— the STM32F7 ETH IRQ exists but stock oveRTOS doesn’t enable it
(the lwIP backend also polls).
Structs§
- Stm32f7
EthDriver - STM32F7 ETH MAC driver.
- Stm32f7
EthRx - Stm32f7
EthTx
Constants§
- MTU
- Max Ethernet frame size (Ethernet header + IP MTU + CRC slack).
Functions§
- wake_
poll - Wake the embassy-net runner to re-poll the ETH MAC.