Skip to main content

Curated, provenance-tracked register and chip database for the Alloy embedded framework

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

alloy_devices-0.1.0-py3-none-any.whl (79.5 kB view details)

Uploaded Python 3

File details

Details for the file alloy_devices-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: alloy_devices-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 79.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for alloy_devices-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d20db5792c319928edea3baceed2ef119b118dc15f08b1df9ed5ada29dd01b0c
MD5 06de1504ac35bcb9b7e9bdfc9bef961a
BLAKE2b-256 4042a0bf9451e693dd41ce23a724e2f9ddd95c56841e07dcc43f0b91c19c136b

See more details on using hashes here.

Provenance

The following attestation bundles were made for alloy_devices-0.1.0-py3-none-any.whl:

Publisher: release.yml on Alloy-Embedded/alloy-devices

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page