extmod/network_wiznet5k: Add Wiznet Ethernet network interface.
Originally based on both stm32/network_wiznet5k and stm32/modnwwiznet5k. If MICROPY_PY_LWIP is enabled it uses the lwIP TCP stack in MicroPython, communicating with the Wiznet controller in MACRAW mode. In this mode it supports using the INTN pin from Wiznet controller to receive data from an interrupt trigger. If lwIP is not enabled, it runs in modnetwork/socket mode providing an interface to the TCP stack running on the Wiznet controller chip. In this mode it includes some updates by @irinakim12 from #8021, most notably bringing in DHCP support. Supports defining hardware pins in board config or dynamically set at runtime. Sets a default MAC address in the random namespace from board unique-id. Signed-off-by: Andrew Leech <andrew@alelec.net>
This commit is contained in:
parent
cb436e357f
commit
21b3a396de
1042
extmod/network_wiznet5k.c
Normal file
1042
extmod/network_wiznet5k.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user