.. 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")
```
2 KiB
2 KiB
| layout | board_id | title | name | manufacturer | board_url | board_image | downloads_display | blinka | date_added | features | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| download | radxa_zero | Radxa Zero Download | Radxa Zero | Radxa |
|
radxa_zero.jpg | true | true | 2022-06-02 |
|
Radxa Zero is an ultra thin SBC in small form factor with powerful performance based on Amlogic S905Y2. It can run Android and selected Linux distributions.
Radxa Zero features a quad core 64-bit ARM processor, up to 4GB 32bit LPDDR4 memory, HDMI output at 4K@60, WiFi and Bluetooth connectivity, USB 3.0, and 40-pin GPIO header. Additionally, the power port can also be used for USB 2.0 OTG to connect more peripheral.
Technical details
- Size 66mm x 30mm
- Amlogic S905Y2 64bit quad core processor
- Quad Cortex-A53, frequency 1.8Ghz, 12nm
- Mali G31 MP2 GPU, supports OpenGL ES 1.1 /2.0 /3.1 /3.2, Vulkan 1.1, Open CL 1.1 1.2, 2.0 Full Profile
- 64bit dual channel LPDDR4@3200Mb/s, 1GB/ 2GB or 4GB
- Wifi/BT with external antenna support
- WIFI4/BLE4 and WIFI4/BLE5 available for different models!
- soldered high performance eMMC 5.1 with capacities of 8GB/ 16GB
- uSD slot supports up to 128G uSD card
- HDMI 2.1, 4K@60 HDR
- HD codec H265/VP9 decode 4Kx2K@60
- USB 3.0 Type-C HOST x1
- USB 2.0 Type-C OTG x1
- Network (depending on the model)
- Wireless 802.11 abgn wifi 2,4GHz, Bluetooth 4.2
- Wireless 802.11 ac wifi 2,4/5GHz, Bluetooth 5.0
- IO 40-pin expansion header (depending on the model):
- 1 x UART
- 2 x SPI bus
- 2 x I2C bus
- 1 x PCM/I2S
- 1 x SPDIF
- 1 x PWM
- 1 x ADC
- 6 x GPIO
- 2 x 5V DC power in
- 2 x 3.3V power pin
Tutorials
Purchase
Contribute
Have some info to add for this board? Edit the source for this page [here](https://github.com/adafruit/circuitpython-org/edit/master/_blinka/{{ page.board_id }}.md).