micropython/ports/rp2/boards/W5500_EVB_PICO
Jim Mussared c364301817 rp2/boards: Set PICO_BOARD correctly for each board.
In most cases, it's calculated automatically from the board name, and so
doesn't need to be set at all.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-09-08 14:50:54 +10:00
..
board.json rp2/boards/W5500_EVB_PICO: Add new board definition for W5500_EVB_PICO. 2022-08-11 14:12:55 +10:00
mpconfigboard.cmake rp2/boards: Set PICO_BOARD correctly for each board. 2022-09-08 14:50:54 +10:00
mpconfigboard.h rp2/boards/W5500_EVB_PICO: Add new board definition for W5500_EVB_PICO. 2022-08-11 14:12:55 +10:00
readme.md rp2/boards/W5500_EVB_PICO: Add new board definition for W5500_EVB_PICO. 2022-08-11 14:12:55 +10:00

readme.md

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.