circuitpython-org/_board/waveshare_esp32s2_pico.md
Jeff Epler 4715875cc4 Fix board dates to always be of the form YYYY-MM-DD
.. 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")
```
2024-03-22 11:31:45 -05:00

1.4 KiB

layout board_id title name manufacturer board_url board_image bootloader_id date_added family features
download waveshare_esp32s2_pico ESP32-S2-Pico Download ESP32-S2-Pico Waveshare
https://www.waveshare.com/esp32-s2.htm
waveshare_esp32s2_pico.jpg waveshare_esp32s2_pico 2022-08-21 esp32s2
Breadboard-Friendly
USB-C
Wi-Fi

This is a WiFi development board with compact size, plenty peripheral interfaces, integrated low-power Wi-Fi System-on-Chip (SoC) and mass memory, supporting Raspberry Pi Pico expansion board ecosystem. Equipped with hardware crypto accelerator, RNG, HMAC and Digital Signature module, it can meet the security requirements of the Internet of Things.

Technical details

  • ESP32-S2FH4 - Xtensa single-core 32-bit LX7 240Mhz microprocessor
  • Boot & Reset buttons to get into the bootloader
  • TPS63000DRCR on-board 1.8A current high efficiency boost/buck DC-DC power supply IC
  • Integrated 320KB SRAM, 128KB ROM, 8MB PSRAM, 4MB Flash memory
  • Support IEEE802.11 b/g/n, on-board 2.4 GHz WiFi ceramic antenna, up to 150 Mbps data transfer rate
  • USB-C connector, no more plug orientation problem

Waveshare wiki link.

Purchase

Add any links to purchase the board