circuitpython-org/_blinka/orange_pi_zero.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.3 KiB
Raw Permalink Blame History

layout board_id title name manufacturer board_url board_image download_instructions downloads_display blinka date_added features
download orange_pi_zero Orange Pi Zero Download Orange Pi Zero Shenzhen Xunlong Software CO.,Limited
http://www.orangepi.org/orangepizero/
orange_pi_zero.jpg https://learn.adafruit.com/circuitpython-on-orangepi-linux/circuitpython-orangepi true true 2019-12-03
Wi-Fi
Bluetooth/BLE
Ethernet

Orange Pi Zero is for anyone who wants to start creating with technology not just consuming it. It's a simple, fun, useful tool that you can use to start taking control of the world around you.

  • H2 Quad-core 32-bit Cortex-A7
  • Mali400MP2 GPU @600MHz
  • Supports OpenGL ES 2.0
  • 256MB DDR3 (shared with GPU)
  • TF card (Max. 32GB) / Spi flash(16MB)
  • 100M Ethernet RJ45 (onboard 100Mbps)
  • Onboard Wifi + Bluetooth
  • Realtek RTL8189FTV, IEEE 802.11 b/g/n
  • Supports external board via 13 pins
  • USB 2.0 HOST and one USB 2.0 OTG
  • GPIO(1x3) pin
  • UART, ground.
  • Power Button(SW602)
  • 26 Pin Header
  • 13 Pin Header, with 2x USB, IR pin, AUDIO(MIC, AV)
  • Power led & Status led
  • Android4.4, Lubuntu, Debian, Armbian Image

Purchase