I built Regdrift, a CLI and GitHub Action for detecting breaking CMSIS-SVD changes

작성자

카테고리:

← 피드로
DEV Community · Pranav Senthilkumar · 2026-07-13 개발(SW)

Pranav Senthilkumar

Hi guys, I’ve been working on Regdrift, my first open-source project. It’s a CLI and GitHub Action that compares two CMSIS-SVD files to check whether there are any register-map changes that could affect firmware functionality.

It catches changes such as moved registers, interrupt renumbering, access changes, and altered read/write behavior. It then classifies those changes as BREAKING, WARNING, or SAFE so the tool can act as a CI gate.

I’m looking for feedback from people who maintain SVDs, HALs, PACs, SDKs, or firmware repositories. If possible, I’d like to test it against real old/new SVD pairs and learn where the classifications produce false positives, miss important changes, or are unclear.

For people who work frequently with CMSIS-SVD files: which types of register-map changes are most detrimental to firmware or cause the most difficult code-related problems?

Resources

GitHub: https://github.com/Pranav-s79/regdrift

Install

pip install regdrift

Enter fullscreen mode Exit fullscreen mode

Usage

regdrift check old.svd new.svd

Enter fullscreen mode Exit fullscreen mode

원문에서 계속 ↗

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다