.. leading zeros are required for `frontmatter` to treat them as dates
rather than strings, apparently per the YAML specification.
This was done by script:
```py
import re
import datetime
import pathlib
import sys
import frontmatter
rx = re.compile(r'^(\s*)date_added:.*$', re.M)
for path_str in sys.argv[1:]:
print(path_str)
path = pathlib.Path(path_str)
post = frontmatter.load(path)
date_added = post.get("date_added", "")
if isinstance(date_added, datetime.date):
continue
if isinstance(date_added, str):
try:
date_added = datetime.datetime.strptime(date_added, "%Y-%m-%d")
except ValueError as exc:
print(f"Failed to parse date {date_added} in {path_str}: {exc}")
continue
date_added = date_added.date()
content = path.read_text("utf-8")
new_content = rx.sub(lambda m: f"{m.group(1)}date_added: {date_added}", content)
assert content != new_content
path.write_text(new_content, "utf-8")
```
2.2 KiB
2.2 KiB
| layout | board_id | title | name | manufacturer | board_url | board_image | date_added | family | features | ||
|---|---|---|---|---|---|---|---|---|---|---|---|
| download | wiznet_w5500_evb_pico | W5500-EVB-Pico Download | W5500-EVB-Pico | WIZnet |
|
w5500-evb-pico.jpg | 2022-07-25 | raspberrypi |
|
W5500-EVB-Pico is a microcontroller evaluation board based on the Raspberry Pi RP2040 and fully hardwired TCP/IP controller W5500 – and basically works the same as Raspberry Pi Pico board but with additional Ethernet via W5500.
- Raspberry Pi Pico Clone
- Ethernet (W5500 Hardwired TCP/IP CHIP)
Features
- RP2040 microcontroller with 2MByte Flash
- Dual-core cortex M0+ at up to 133MHz
- 264kByte multi-bank high performance SRAM
- External Quad-SPI Flash with eXecute In Place (XIP)
- High performance full-crossbar bus fabric
- 30 multi-function General Purpose IO (4 can be used for ADC)
- 1.8-3.3V IO Voltage (NOTE. Pico IO voltage is fixed at 3.3V)
- 12-bit 500ksps Analogue to Digital Converter (ADC)
- Various digital peripherals
- 2 × UART, 2 × I2C, 2 × SPI, 16 × PWM channels
- 1 × Timer with 4 alarms, 1 × Real Time Counter
- 2 × Programmable IO (PIO) blocks, 8 state machines total
- Flexible, user-programmable high-speed IO
- Can emulate interfaces such as SD Card and VGA
- Includes W5500
- Supports Hardwired Internet Protocols: TCP, UDP, ICMP, IPv4, ARP, IGMP, PPPoE
- Supports 8 Independent Hardware SOCKETs simultaneously
- Internal 32 Kbytes Memory for TX/ RX Buffers
- Supports High Speed Serial Peripheral Interface(SPI MODE 0, 3)
- Micro-USB B port for power and data (and for reprogramming the Flash)
- 40 pin 21×51 ‘DIP’ style 1mm thick PCB with 0.1″ through-hole pins also with edge castellations
- 3-pin ARM Serial Wire Debug (SWD) port
- 10 / 100 Ethernet PHY embedded
- Supports Auto Negotiation
- Full / Half Duplex
- 10 / 100 Based
- Built-in RJ45
- Built-in LDO