Skip to content

modules: Consolidate SPI NOR database - #113

Merged
enjoy-digital merged 1 commit into
masterfrom
feature/deterministic-module-manifest
Jul 10, 2026
Merged

modules: Consolidate SPI NOR database#113
enjoy-digital merged 1 commit into
masterfrom
feature/deterministic-module-manifest

Conversation

@enjoy-digital

@enjoy-digital enjoy-digital commented Jul 10, 2026

Copy link
Copy Markdown
Member

Summary

  • make litespi/modules/modules.py the single authoritative SPI NOR database
  • consolidate the 476 previously generated and 5 manually maintained module definitions
  • remove generated_modules.py and the obsolete Linux/flashrom/OpenOCD generator pipeline
  • validate the inventory and runtime attributes of all 481 module classes directly

External projects and datasheets remain useful reviewed references for additions and corrections,
but there is no longer a second generated representation to synchronize.

This supersedes the earlier modules.json proposal on this PR.

Testing

  • python3 -m py_compile litespi/modules/modules.py test/test_spi_nor_modules.py
  • pytest -q — 34 passed, 639 subtests passed

Related to #55.

@enjoy-digital
enjoy-digital force-pushed the feature/deterministic-module-manifest branch from 923c2c9 to 8cb6cb4 Compare July 10, 2026 16:08
@enjoy-digital enjoy-digital changed the title tools: Replace live NOR importers with manifest modules: Consolidate SPI NOR database Jul 10, 2026
@enjoy-digital
enjoy-digital merged commit de70468 into master Jul 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant