circuitpython-org/_blinka/beaglebone_ai.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.9 KiB

layout board_id title name manufacturer board_url board_image downloads_display blinka date_added features
download beaglebone_ai BeagleBone AI Download BeagleBone AI BeagleBoard
https://beagleboard.org/ai
beaglebone_ai.jpg true true 2021-01-20
Ethernet
Wi-Fi
Bluetooth/BLE
HDMI/DisplayPort

Built on the proven BeagleBoard.org® open source Linux approach, BeagleBone® AI fills the gap between small SBCs and more powerful industrial computers. Based on the Texas Instruments AM5729, developers have access to the powerful SoC with the ease of BeagleBone® Black header and mechanical compatibility. BeagleBone® AI makes it easy to explore how artificial intelligence (AI) can be used in everyday life via the TI C66x digital-signal-processor (DSP) cores and embedded-vision-engine (EVE) cores supported through an optimized TIDL machine learning OpenCL API with pre-installed tools. Focused on everyday automation in industrial, commercial and home applications.

  • Processor: Sitara AM5729
  • Dual Arm® Cortex®-A15 microprocessor subsystem
  • 2 C66x floating-point VLIW DSPs
  • 2.5MB of on-chip L3 RAM
  • 2x dual Arm® Cortex®-M4 co-processors
  • 4x Embedded Vision Engines (EVEs)
  • 2x dual-core Programmable Real-Time Unit and Industrial Communication SubSystem (PRU-ICSS)
  • 2D-graphics accelerator (BB2D) subsystem
  • Dual-core PowerVR® SGX544™ 3D GPU
  • IVA-HD subsystem (4K @ 15fps encode and decode support for H.264, 1080p60 for others)
  • BeagleBone Black mechanical and header compatibility
  • 1GB RAM and 16GB on-board eMMC flash with high-speed interface
  • USB type-C for power and superspeed dual-role controller; and USB type-A host
  • Gigabit Ethernet, 2.4/5GHz WiFi, and Bluetooth
  • microHDMI
  • Zero-download out-of-box software experience with Debian GNU/Linux

Purchase