.. 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.3 KiB
2.3 KiB
| layout | board_id | title | name | manufacturer | board_url | board_image | date_added | family | bootloader_id | downloads_display | features | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| download | m5stack_atoms3_lite | AtomS3 Lite ESP32S3 Dev Kit Download | AtomS3 Lite ESP32S3 Dev Kit | M5Stack |
|
m5stack_atoms3_lite.png | 2023-04-04 | esp32s3 | m5stack_atoms3_lite | true |
|
ATOMS3 Liteis anAtom Series Programmable Controllerin the M5Stack Development Kit series using ESP32-S3.
The ESP32-S3 is a highly-integrated, low-power, 2.4 GHz Wi-Fi System-on-Chip (SoC) solution that now has WiFi and BLE support, built-in native USB as well as some other interesting new technologies like Time of Flight distance measurements. With its state-of-the-art power and RF performance, this SoC is an ideal choice for a wide variety of application scenarios relating to the Internet of Things (IoT), wearable electronics, and smart homes.
- Small size is only 24x24x9.5mm,
- USB Type C connector - If you have only Micro B cables, this adapter will come in handy!
- ESP32-S3 (ESP32-S3FN8) Dual Core 240MHz Tensilica processor - the next generation of ESP32-Sx, with native USB so it can act like a keyboard/mouse, MIDI device, disk drive, etc!
- Comes with 8MB Flash, 512KB SRAM, no PSRAM
- Native USB supported by every OS - can be used in Arduino or CircuitPython as USB serial console, MIDI, Keyboard/Mouse HID, even a little disk drive for storing Python scripts.
- Can be used with Arduino IDE or CircuitPython
- Built-in user button with RGB NeoPixel LED
- Infrared LED
- 6 GPIO pins
- 1 GROVE/HY2.0-4P interfaces
- Built-in 3D antenna
- An M2 screw holeis provided on the back for fixing
- Reset switch for starting your project code over. Hold the reset switch for 2 second to enter bootloader mode
- Hold Button A and tap Reset switch for entering UF2 bootloader drive
Features
- ESP32-based
- RGB LED(SK6812)
- Programmable button
- Built-in Infra-red
- Extendable Pins & Holes