circuitpython-org/_board/circuitbrains_deluxe_m4.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.5 KiB

layout board_id title name manufacturer board_url board_image date_added family bootloader_id downloads_display blinka download_instructions
download circuitbrains_deluxe_m4 CircuitBrains Deluxe Download CircuitBrains Deluxe Null Byte Labs LLC
https://github.com/neubauek/CircuitBrains
https://www.adafruit.com/product/4802
circuitbrains_deluxe.jpg 2020-02-27 atmel-samd circuitbrains_deluxe_m4 true false

CircuitPython on an ARM Cortex M4 in almost 1 square inch! This "Just Add Solder" castellated module is perfect for incorporating into your own project. The CircuitBrains Deluxe board footprint is small enough to fit into narrow spaces and wearable projects.

NOTE: This board does not have a USB connector for the native USB. Native USB is broken out on the header/castellations and therefore requires a non-standard USB connection such as mounting to a motherboard PCB.

Technical details

  • Dimensions: 29 x 29 x 3.5 mm / 1.15 x 1.15 x 0.15 inches
  • Atmel ATSAMD51J19A Microcontroller (32-bit ARM Cortex M4)
  • 120 MHz
  • 192 KB SRAM
  • 512 KB Flash
  • 8 MB QSPI Flash
  • Onboard 3.3V LDO Regulator
  • Power and Status LEDs
  • Breakouts for SPI and I2C
  • Breakouts for 14 Analog and 19 Digital Inputs/Outputs

Purchase

Learn more