get RXIF to work

This commit is contained in:
2025-11-08 21:01:04 +06:00
parent fcd60d1eb8
commit e814012f09
2 changed files with 24 additions and 13 deletions

View File

@@ -30,7 +30,7 @@ while (1) {
## Impl note
This driver is kinda functional but not optimized at all
This driver is kinda functional but not optimized
- **Packet RX:** This is done by polling. You must call `ethernetif_input()` continuously in your main loop to check for and process incoming packets
- **Packet TX:** Kicking off a transmission is a blocking copy, but freeing the transmit buffer on completion is handled by the `ETH_IRQHandler` ISR
- **Packet RX:** ~~This is done by polling~~ RXIF works now. You must call `ethernetif_input()` continuously in your main loop to check for and process incoming packets
- **Packet TX:** TX isn't exactly typical DMA? The CPU has to copy the packet into a single transmit buffer and then manually start the transmission. An ISR will signal when the buffer is free to send the next packet