Skip to main content

alloy-devices

The device database and data pipeline for the Alloy framework: register maps curated per peripheral IP version, thin per-chip instance files (bases, IRQs, clock gates, pin routes, memories, clock programs), validated by schema + plausibility lints, published as a versioned artifact.

schema/      JSON Schemas (alloy.registers.v1, alloy.chip.v1)
registers/   register+field maps per peripheral IP version   e.g. st/usart_v4.yaml
chips/       per-chip instance files                          e.g. st/stm32g071rb.yaml
tools/       validation + lints (uv project)

Validate everything:

$ uv run alloy-devices validate

Status

Bootstrap phase, hand-curated with provenance (builders that regenerate chip files from pinned vendor sources are the exit criterion — see ARCHITECTURE.md). Curated so far, all hardware-validated by the alloy framework:

Chip IPs Notes
st/stm32g071rb gpio_v2, usart_v4, rcc_g0, flash_g0 fixes 5 bugs of the old database (memories, PLL fields)
microchip/atsame70q21 pio_v1, usart_v1, pmc_v1, efc_v1, wdt_v1, matrix_v1 write_set gates, write-once WDT first, pin mux_unlock
raspberrypi/rp2040 resets, sio, io_bank0, pads_bank0, xosc, pll, clocks, uart_pl011 reset_release gates, funcsel routes, CRC-checked boot2 payload
espressif/esp32 gpio_v1, uart_v1, timg_v1, rtc_cntl_v1 bootloader-default clocks, watchdog-disable bring-up program

License: data files CC0/public-domain facts; code MIT OR Apache-2.0.

Release files for alloy-devices 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for alloy-devices 0.2.0
File Interpreter ABI Platform
alloy_devices-0.2.0-py3-none-any.whl Python 3 none any Details

Release files / alloy_devices-0.2.0-py3-none-any.whl

Download URL alloy_devices-0.2.0-py3-none-any.whl
Size 2.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7e53f96d0a6e2cf25c570de9811befe5eb793091ac0175f4a0466f71084c1e5a
BLAKE2b-256 checksum
How to use checksums
ae4cc816244d7f792fa1282de556f0eda63f6b3b75e24b22c75de578b83cd4ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 7, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.0

1 release file

This release

0.2.0 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page