circuitpython-org/_board/stackrduino_m0_pro.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 features
download stackrduino_m0_pro StackRduino M0+ PRO Download StackRduino M0+ PRO StackRduino
https://github.com/StackRduino/StackRduino_M0
stackrduino_m0_pro.jpg 2021-04-06 atmel-samd stackrduino_m0_pro
Battery Charging
STEMMA QT/QWIIC
USB-C
Breadboard-Friendly

StackRduino M0+ PRO is an open source Development board based on the ATSAMD21G18 for Arduino & Circuit-Python packed with features & comes with many stackable shields

With support for Adafruit CircuitPython, Arduino IDE, and other libraries the StackRduino M0+ PRO is able to act as a single solution for all projects great and small.

  • SAMD21G18 Processor. This is the same chip used in many Adafruit Feather designs.
  • 256KB of FLASH + 32KB of RAM
  • USB C power and data
  • Built-in battery charger & LiPo Fuel Gauge
  • 8MB Flash Storage for CircuitPython
  • 32.768 KHz crystal for clock generation & RTC
  • DUAL 3.3V regulator with 700mA peak current output each
  • APDS9960 RGB, proximity and gesture sensor
  • BME680 Environmental Sensor
  • BNO055 9-DOF Absolute Orientation IMU
  • You also get tons of pins - 20 GPIO pins
  • Hardware Serial, hardware I2C, hardware SPI support
  • PWM outputs on all pins
  • 6X 12-Bit Analog Inputs
  • 1X 10-bit analog ouput (DAC)
  • Qwiic/STEMMA-QT connector for fast I2C connectivity

Learn More