.. 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.6 KiB
| layout | board_id | title | name | manufacturer | board_url | board_image | date_added | family | downloads_display | blinka | features | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| download | aloriumtech_evo_m51 | AloriumTech Evo M51 Download | AloriumTech Evo M51 | Alorium Technology, LLC |
|
aloriumtech_evo_m51.jpg | 2020-05-21 | atmel-samd | true | false |
|
The Evo M51 is an FPGA-enhanced Feather compatible compute module from Alorium Technology that features a 32-bit SAMD51 microcontroller along with an Intel MAX 10 FPGA.
Designed for use as an embeddable system-on-module, all of the standard Feather I/O are also routed to castellated vias along the edge of the board. There are 34 additional castellated digital I/O connected to the FPGA and accessible via the SAMD51.
Most digital I/O connections are routed through the FPGA to and from the primary and castellated I/O. This provides the opportunity for developers to immediately capture inputs or drive outputs from the FPGA without requiring direct interaction with the SAMD controller.
Evo M51 will support Alorium Technology-supplied pre-built FPGA images that target specific application use cases. In addition, designers will have the option to develop their own custom logic blocks and integrate them into the top-level MAX 10 FPGA design.
Evo was specifically designed to support running CircuitPython. It is also programmable with Arduino just like many other boards based upon the SAMD51.
Technical details
- Atmel SAMD51 32-bit ARM Cortex-M4 Microcontroller
- Intel MAX 10 FPGA
- 512 KB FLASH and 192 KB RAM
- 2 MB External QSPI FLASH
- 6 Analog Inputs
- 2 Analog Outputs
- 55 Digital I/O
- 21 Through-Hole/Castellated
- 34 Additional Castellated-Only (3.3 V inputs/ouput)
- 1 NeoPixel (
D13) - STEMMA QT (QWIIC Compatible)
- Feather Footprint
- 0.9" x 2.2" (23 mm x 56 mm)
Misc
In order to take full advantage of the additional I/O on Evo M51 using CircuitPython, we have created a custom library bundle that can be found on the Alorium Technology GitHub page:
- Evo M51 CircuitPython Library Bundle
- Download the .ZIP file