micropython/ports/rp2/boards/W5100S_EVB_PICO
iabdalkader d02f089058 rp2/boards: Add pin CSV files to board definitions.
Pin defines are:
- For Pico define board pins and the default LED pin (WL_GPIO25).
- For Pico-W define board pins, external pins and the default
  LED pin (WL_GPIO0).
- For the Nano-RP2040, define board pins, external pins and
  the default LED pin (GPIO25)
- For all other boards, the pins.csv defines the LED pin (if any)
  for backwards compatibility with code that assumes there's always
  an LED pin.
2023-01-16 11:44:28 +11:00
..
board.json rp2/boards/W5100S_EVB_PICO: Add Wiznet W5100S-EVB-Pico board. 2022-06-03 14:34:29 +10:00
mpconfigboard.cmake rp2/boards: Set PICO_BOARD correctly for each board. 2022-09-08 14:50:54 +10:00
mpconfigboard.h rp2/mpconfigport: Make networking options consistent across boards. 2022-07-12 16:28:44 +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/W5100S_EVB_PICO: Add Wiznet W5100S-EVB-Pico board. 2022-06-03 14:34:29 +10:00

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.