.. 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")
```
1.3 KiB
1.3 KiB
| layout | board_id | title | name | manufacturer | board_url | board_image | date_added | family | bootloader_id | downloads_display | features | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| download | supermini_nrf52840 | SuperMini NRF52840 Download | SuperMini NRF52840 | ICBbuy |
|
supermini_nrf52840.png | 2023-10-21 | nrf52840 | nice_nano | true |
|
The SuperMini NRF52840 is Nice!Nano clone which in turn is based on the Pro Micro layout. This means that it can be used with almost any Pro Mcro keyboard. Unlike the Pro Micro however it sports wireless functionality in the form of Bluetooth and pins to use/charge a lithium-ion battery.
The nRF52840 MCU uses an ARM Cortex-M4F CPU clocked at 64MHz and offers 1MB of flash memory and 256KB of RAM. Although CircuitPython will use up most of the flash memory.
Access bootloader
To get to the bootloader whilst the board is connected short RST to GND twice within 0.5 seconds.
Purchase
You can purchase this board from ICBbuy on aliexpress.
Learn more
Please consult the ICBbuy Wiki for the latest information.