Skip to content

Commit

Permalink
extmod/network_wiznet5k: Add Wiznet Ethernet network interface.
Browse files Browse the repository at this point in the history
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.

If LwIP is not enabled, it runs in modnetwork / socket mode providing
an interface to the TCP stack running on the wiznet controller chip.

Supports defining hw pins in board config or dynamically set at runtime.
Sets a default MAC address in the random namespace from board unique_id.
extmod/network_wiznet5k_provided: Add wiznet ethernet modnetwork driver.

In LwIP mode it supports using the INTN pin from wiznet controller to
receive data from interrupt trigger.

When running in modnetwork mode it includes some modnwwiznet5k updates by
@irinakim12 in micropython#8021, most notably bringing in DHCP support.

Signed-off-by: Andrew Leech <andrew@alelec.net>
  • Loading branch information
andrewleech committed May 27, 2022
1 parent a1a3dd8 commit 5dbaaf0
Showing 1 changed file with 1,048 additions and 0 deletions.

0 comments on commit 5dbaaf0

Please sign in to comment.