circuitpython-org/_blinka/odroid_c2.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

2 KiB
Raw Permalink Blame History

layout board_id title name manufacturer board_url board_image download_instructions downloads_display blinka date_added features
download odroid_c2 ODROID C2 Download ODROID C2 Hardkernel co., Ltd.
https://www.hardkernel.com/shop/odroid-c2/
odroid_c2.jpg https://learn.adafruit.com/circuitpython-libaries-linux-odroid-c2 true true 2019-06-17
Ethernet
HDMI/DisplayPort
40-pin GPIO
Infrared Receiver

The ODROID-C2 is a 64-bit quad-core single board computer(SBC) that is one of the most cost-effective 64bit development boards available in the ARM world. It can function as a home theater set-top box, a general purpose computer for web browsing, gaming and socializing, a compact tool for college or office work, a prototyping device for hardware tinkering, a controller for home automation, a workstation for software development, and much more.

Some of the modern operating systems that run on the ODROID-C2 are Ubuntu, Android, ARCHLinux, Debian, with thousands of free open-source software packages available. The ODROID-C2 is an ARM device — the most advanced architecture for mobile devices and embedded 64-bit computing. The ARM processors small size, reduced complexity and low power consumption makes it very suitable for miniaturized devices such as wearables and embedded controllers.

  • Amlogic S905 ARM Cortex-A53(ARMv8) 1.5Ghz quad core CPUs
  • Mali-450 GPU
  • Supports OpenGL ES 2.0 / 1.1
  • 3 Pixel-processors
  • 2 Vertex shader processors
  • 2GB DDR3 SDRAM
  • Gigabit Ethernet
  • HDMI 2.0 4K/60Hz display
  • H.265 4K/60FPS and H.264 4K/30FPS capable VPU
  • 40pin GPIOs + 7pin I2S
  • eMMC5.0 HS400 Flash Storage slot
  • UHS-1 SDR50 MicroSD Card slot
  • USB 2.0 Host x 4
  • USB OTG x 1 (power + data capable)
  • Infrared(IR) Receiver
  • Ubuntu 16.04 or Android 6.0 Marshmallow based on Kernel 3.14LTS
  • Armbian Support
  • Guaranteed production of C2 to the end of 2019

Purchase