.. 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.5 KiB
| layout | board_id | title | name | manufacturer | board_url | board_image | date_added | family | bootloader_id | |
|---|---|---|---|---|---|---|---|---|---|---|
| download | same54_xplained | SAM E54 Xplained Pro Download | SAM E54 Xplained Pro | Microchip |
|
same54_xplained.jpg | 2020-06-28 | atmel-samd | same54_xplained |
The SAM E54 Xplained Pro evaluation kit is a hardware platform for evaluating the ATSAME54P20A microcontroller (MCU). Supported by the Studio integrated development platform, the kit provides easy access to the features of the ATSAME54P20A and explains how to integrate the device into a custom design.
In addition to ATSAME54P20A, the SAM E54 Xplained Pro Evaluation kit can also be used for evaluating the ATSAMD51P20A microcontroller as both MCUs are identical in pin count and peripherals except that ATSAMD51P20A does not have Ethernet and CAN FD.
The Xplained Pro MCU series evaluation kits include an on-board Embedded Debugger, eliminating the need for external tools to program or debug the ATSAME54P20A. The kits offers additional peripherals to extend the features of the board and ease the development of custom designs.
Note: Not all peripherals are supported by CircuitPython. The Ethernet, CAN, and Q-Touch button are not supported by CircuitPython at this time. Only 16MB (128MiB) of the QSPI flash is accessible via the CIRCUITPY drive.
CircuitPython requires that the board be flashed with the UF2 bootloader. This can be done using the second USB connector, which provides a debug interface. After this has been done once, CircuitPython can be installed and updated in the usual way using the UF2 bootloader, or by using the debug USB connector.
- ATSAME54P20A microcontroller
- Embedded Debugger
- Digital I/O - Two mechanical buttons (user and reset button). One Atmel QTouch button. One yellow user LED. Three Xplained Pro extension headers.
- 256Mb QSPI Flash
- ATECC508 CryptoAuthentication™ device
- AT24MAC402 serial EEPROM with EUI-48™ MAC address
- Ethernet - RJ45 connector with built-in magnetics, KSZ8091RNA PHY, 10Base-T/100Base-TX IEEE 802.3 compliant Ethernet tranceiver
- SD/SDIO card connector
- Parallell Capture Controller header (ArduCAM compatible)
- ATA6561 CAN transceiver
- Backup SuperCapacitor
- 32.768kHz & 12MHz crystal
- Debug connectors - 10-pin Cortex Debug Connector with SWD, 20-pin Cortex Debug + ETM Connector with four bit trace.
- Supported with application examples in Atmel START