micropython/ports/rp2/boards/W5500_EVB_PICO
Jim Mussared 6250337c9c ports: Make all network-capable boards use bundle-networking.
This will ensure that any board with networking support gets:
 - webrepl
 - mip
 - urequests
 - ntptime

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-02-01 12:42:06 +11:00
..
board.json rp2/boards/W5500_EVB_PICO: Add new board definition for W5500_EVB_PICO. 2022-08-11 14:12:55 +10:00
manifest.py ports: Make all network-capable boards use bundle-networking. 2023-02-01 12:42:06 +11:00
mpconfigboard.cmake ports: Make all network-capable boards use bundle-networking. 2023-02-01 12:42:06 +11:00
mpconfigboard.h rp2/boards/W5500_EVB_PICO: Add new board definition for W5500_EVB_PICO. 2022-08-11 14:12:55 +10:00
pins.csv rp2/boards: Add pin CSV files to board definitions. 2023-01-16 11:44:28 +11:00
readme.md rp2/boards/W5500_EVB_PICO: Add new board definition for W5500_EVB_PICO. 2022-08-11 14:12:55 +10:00

Wiznet W5500-EVB-Pico

Network Example

To use network / socket based code, connect ethernet port to network with DHCP running:

>>> import network
>>> nic = network.WIZNET5K()
>>> nic.active(True)
>>> nic.ifconfig()
('0.0.0.0', '0.0.0.0', '0.0.0.0', '0.0.0.0')
>>> nic.ifconfig("dhcp")
('192.168.0.10', '255.255.255.0', '192.168.0.1', '192.168.0.1')
>>> nic.isconnected()
True

At this point standard network communications libraries should work.