circuitpython-org/_blinka/google_coral.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.5 KiB

layout board_id title name manufacturer board_url board_image download_instructions downloads_display blinka date_added features
download google_coral Google Coral Dev Board Google Coral Dev Board Google
https://coral.withgoogle.com/products/dev-board
google_coral.jpg https://learn.adafruit.com/circuitpython-on-google-coral-linux-blinka true true 2019-05-13
Wi-Fi
Bluetooth/BLE
Ethernet
HDMI/DisplayPort
40-pin GPIO

A development board to quickly prototype on-device ML products. Scale from prototype to production with a removable system-on-module (SOM).

Edge TPU Module

  • CPU: NXP i.MX 8M SOC (quad Cortex-A53, Cortex-M4F)
  • GPU: Integrated GC7000 Lite Graphics
  • ML accelerator: Google Edge TPU coprocessor
  • RAM: 1 GB LPDDR4
  • Flash memory: 8 GB eMMC
  • Wireless: Wi-Fi 2x2 MIMO (802.11b/g/n/ac 2.4/5 GHz) Bluetooth 4.1
  • Dimensions: 48 mm x 40 mm x 5 mm

Baseboard

  • Flash memory MicroSD slot
  • USB: USB-C OTG, USB-C power, Type-A 3.0 host, Micro-B serial console
  • LAN: Gigabit Ethernet port
  • Audio: 3.5 mm audio jack (CTIA compliant) Digital PDM microphone (x2) 2.54 mm 4-pin terminal for stereo speakers
  • Video: HDMI 2.0a (full size) 39-pin FFC connector for MIPI-DSI display (4-lane) 24-pin FFC connector for MIPI-CSI2 camera (4-lane)
  • GPIO: 3.3 V power rail 40 - 255 ohm programmable impedance ~82 mA max current
  • Power: 5 V DC (USB-C)
  • Dimensions: 88 mm x 60 mm x 24mm

Purchase