#5122·tock

tock-registers 2.0 migration and stabilization plan

Author: jrvanwhyCreated Aug 27, 2026Updated Aug 27, 2026
Labelstock-libraries

This issue tracks our plan for migrating Tock code to register_map and releasing tock-registers 2.0.

  1. Publish tock-registers 0.11 to crates.io. Tracked in tock/tock-registers#45
  2. Delete the old APIs from tock-registers' main branch.
  3. Add a workspace dependency to /Cargo.toml named tock_registers_v0 that points to tock-registers 0.11.
  4. Migrate all chip crates to tock_registers_v0.
  5. Remove the kernel crate's re-exports of tock-registers APIs.
  6. Add a new workspace dependency pointing at tock-registers' main branch with the commit pinned.
  7. Migrate some number of drivers to the new APIs. During this process, we can make changes to tock-registers on the main branch and then update the pinned commit in the workspace dependency.
  8. Once the new APIs have stabilized, release tock-registers 2.0.