circuitpython-org/_blinka/beaglebone_black_industrial.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.6 KiB

layout board_id title name manufacturer board_url board_image downloads_display blinka date_added features
download beaglebone_black_industrial BeagleBone Black Industrial Download BeagleBone Black Industrial Element14
https://beagleboard.org/e14-bbbi
beaglebone_black_industrial.jpg true true 2019-12-03
Ethernet
HDMI/DisplayPort

The element14 BeagleBone Black Industrial (BBONE-BLACK-IND-4G) is a low cost, high-expansion focused BeagleBoard using a low cost industrial temperature grade Sitara™ AM3358 ARM® Cortex™-A8 processor from Texas Instruments. BBONE-BLACK-IND-4G ships with the Debian Linux distribution preinstalled on the onboard FLASH, ready to start evaluation and development.

  • Processor: TI Sitara AM3358BZCZA100, 1GHz, 2000 MIPS 1 GHz ARM®Cortex™-A8
  • SGX530 Graphics Engine
  • Programmable Real-Time Unit Subsystem
  • Operating temperature can span from -40C to +85C
  • Memory SDRAM: 512MB DDR3L 800MHZ
  • Onboard Flash: 4GB, 8bit Embedded MMC (eMMC)
  • SD/MMC Connector for microSD
  • Power management:TPS65217C PMIC is used along with a separate LDO to provide power to the system
  • Debug Support: Optional Onboard 20-pin CTI JTAG, Serial Header
  • Power Source miniUSB USB or DC Jack
  • 5VDC External Via Expansion Header
  • Connectivity High speed USB 2.0 Client port: Access to USB0, Client mode via miniUSB
  • User Input / Output Reset Button
  • Video/Audio Interfaces HDMI D type interface
  • Expansion Interfaces LCD, UART, eMMC

Purchase