micropython/ports/rp2/boards/W5100S_EVB_PICO
Jim Mussared c5563aa024 rp2/mpconfigport: Make networking options consistent across boards.
Enable the same set of networking features on boards with wifi/ethernet.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-07-12 16:28:44 +10:00
..
board.json rp2/boards/W5100S_EVB_PICO: Add Wiznet W5100S-EVB-Pico board. 2022-06-03 14:34:29 +10:00
mpconfigboard.cmake all: Rename MICROPY_PY_WIZNET5K to MICROPY_PY_NETWORK_WIZNET5K. 2022-06-07 16:55:18 +10:00
mpconfigboard.h rp2/mpconfigport: Make networking options consistent across boards. 2022-07-12 16:28:44 +10:00
readme.md rp2/boards/W5100S_EVB_PICO: Add Wiznet W5100S-EVB-Pico board. 2022-06-03 14:34:29 +10:00

readme.md

Wiznet W5100S-EVB-Pico

Network Example

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

>>> import network
>>> nic = network.WIZNET5K()
>>> nic.ifconfig()
('192.168.0.18', '255.255.255.0', '192.168.0.1', '8.8.8.8')
>>> nic.dhcp(True)
('192.168.0.10', '255.255.255.0', '192.168.0.1', '192.168.0.1')

At this point standard network communications libraries should work.