.. 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.9 KiB
| layout | board_id | title | name | manufacturer | board_url | board_image | date_added | family | features | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| download | makerdiary_nrf52840_connectkit | nRF52840 Connect Kit Download | nRF52840 Connect Kit | MakerDiary |
|
makerdiary_nrf52840_connectkit.jpg | 2023-07-28 | nrf52840 |
|
nRF52840 Connect Kit is an open-source prototyping kit designed for connected projects. It is built using the nRF52840 SoC, which has protocol support for Bluetooth LE, Bluetooth mesh, Thread, Zigbee, 802.15.4, ANT and 2.4 GHz proprietary stacks. It provides Arm TrustZone® CryptoCell cryptographic unit as well as numerous peripherals such as USB 2.0, NFC-A, GPIO, UART, SPI, TWI, PDM, I2S, QSPI, PWM, ADC, QDEC to support a wide range of applications.
The design is available in an easy-to-use form factor with USB-C and 40 pin DIP/SMT type, including up to 32 multi-function GPIO pins (7 can be used as ADC inputs) and Serial Wire Debug (SWD) port. It features RGB LED, Buttons, external 64 Mbit QSPI flash and flexible power management with various options for easily powering the unit from USB-C, external supplies or batteries, and also has Chip antenna and U.FL receptacle options to support various wireless scenarios.
nRF52840 Connect Kit supports nRF Connect SDK, which integrates the Zephyr RTOS, protocol stacks, samples, hardware drivers and much more. We also offer Python support, allowing you access hardware-specific functionality and peripherals with Python programming language.
Key Features
-
Nordic Semiconductor nRF52840 SoC
-
- 64 MHz Arm® Cortex-M4 with FPU
- 1 MB Flash + 256 KB RAM
- Bluetooth LE, Bluetooth mesh, Thread, Zigbee, 802.15.4, ANT and 2.4 GHz proprietary
- Arm TrustZone® Cryptocell 310 Security Subsystem
- 2.4 GHz Transceiver with +8 dBm TX Power
- GPIO, UART, SPI, TWI(I2C), PDM, I2S, QSPI, PWM, QDEC, 12-bit ADC support
- Integrated USB 2.0 Full-speed Controller
- Integrated NFC-A Tag
-
Ultra low power 64 Mbit QSPI flash memory
-
User programmable RBG LED and Buttons
-
Up to 32 multi-function General Purpose IOs (7 can be used as ADC inputs)
-
Arm Serial Wire Debug (SWD) port via edge pins
-
Flexible power management with various options for easily powering the unit
-
Wide input voltage range: 1.8 V to 5.5 V, output 3.3V and up to 2A when Input ≥ 2.3 V
-
3.3V IO Operating Voltage
-
Reversible USB-C connector
-
Available in Chip antenna and U.FL receptacle options
-
40 pin 55.88mm x 20.32mm (2.2" x 0.8") DIP/SMT form factor
-
Shipped with UF2 Bootloader supporting Drag-and-drop programming over USB drive
-
Built on open source, supporting nRF Connect SDK, Zephyr RTOS, Python, etc.