circuitpython-org/_blinka/beaglebone_blue.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
Raw Blame History

layout board_id title name manufacturer board_url board_image downloads_display blinka date_added features
download beaglebone_blue BeagleBone Blue Download BeagleBone Blue BeagleBoard
https://beagleboard.org/blue
beaglebone_blue.jpg true true 2023-05-04
Wi-Fi
Bluetooth/BLE
STEMMA QT/QWIIC

BeagleBone® Blue is an all-in-one Linux-based computer for robotics, integrating onto a single small (3.5" x 2.15") board the Octavo OSD3358 microprocessor together with wifi/bluetooth, IMU/barometer, power regulation and state-of-charge LEDs for a 2-cell LiPo, H-Bridges, and discrete connectors for 4 DC motors+encoders, 8 servos, and all of the commonly-needed buses for additional peripherals in embedded applications. Fully open source and actively supported by a strong community, the real-time performance, flexible networking, and rich set of robotics-oriented capabilities make building mobile robots with the Blue fast, streamlined, affordable, and fun.

  • AM335x 1GHz ARM® Cortex-A8 processor
  • 512MB DDR3 RAM
  • 4GB 8-bit eMMC flash storage
  • Integrated power management
  • 2×32-bit 200-MHz programmable real-time units (PRUs)
  • NEON floating-point accelerator
  • ARM Cortex-M3
  • USB2 client for power & communications, USB2 host
  • Battery support: 2-cell LiPo with balancing, LED state-of-charge monitor
  • Charger input: 9-18V
  • Wireless: 802.11bgn, Bluetooth 4.1 and BLE
  • Motor control: 8 6V servo out, 4 bidirectional DC motor out, 4 quadrature encoder in
  • Sensors: 9 axis IMU (accels, gyros, magnetometer), barometer, thermometer
  • User interface: 11 user programmable LEDs, 2 user programmable buttons
  • Easy connect JST interfaces for adding additional buses and peripherals including: GPS, DSM2 radio, UARTs, SPI, I2C, 1.8V analog, 3.3V GPIOs

Purchase