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

layout board_id title name manufacturer board_url board_image downloads_display blinka date_added features
download odroid_n2 ODROID N2 Download ODROID N2 Hardkernel co., Ltd.
https://www.hardkernel.com/shop/odroid-n2-with-2gbyte-ram/
odroid_n2.jpg true true 2019-12-03
Ethernet
USB 3.0
HDMI/DisplayPort
40-pin GPIO
Infrared Receiver

ODROID-N2 is a new generation single board computer that is more powerful, more stable, and faster performing than N1. The main CPU of the N2 is based on big.Little architecture which integrates a quad-core ARM Cortex-A73 CPU cluster and a dual core Cortex-A53 cluster with a new generation Mali-G52 GPU. Thanks to the modern 12nm silicon technology, the A73 cores runs at 1.8Ghz without thermal throttling using the stock metal-housing heatsink allowing a robust and quiet computer. The CPU multi-core performance is around 20% faster and the GPU is 10% faster than the N1. The N2s DDR4 RAM is running at 1320Mhz with 1.2volt low power consumption. The large metal housing heatsink is designed to optimize the CPU and RAM heat dissipation and minimize throttling. The CPU is placed on the bottom side of the PCB to establish great thermal characteristics.

  • Amlogic S922X ARM Cortex-A73(ARMv8-A) 1.8Ghz quad core CPU
  • ARM Cortex-A53(ARMv8) 1.9Ghz dual core CPU
  • Mali-G52 GPU
  • Supports OpenGL ES 3.2 / 3.1 / 3.0 / 2.0 / 1.1
  • 2GB or 4GB DDR4 SDRAM
  • Gigabit Ethernet
  • HDMI 2.0 4K/60Hz display
  • Composite Video
  • 40pin GPIO Port
  • eMMC5.0 HS400 Flash Storage slot
  • UHS-1 SDR50 MicroSD Card slot
  • USB 3.0 Host x 4
  • USB 2.0 OTG x 1 (power + data capable)
  • Infrared(IR) Receiver
  • Armbian Support

Purchase