oxidecomputer / oxidecomputer/hubris

More robust option bit checking on STM32H7 targets

Open
#1,973 0 comments 0 reactions 1 assignee View on GitHub

@labbott is already working on this.

Since Jun 17, 2025.

Dominant language
Rust
Stars
3.6k
Forks
239
Avg merge
1d 12h
Merged PRs (30d)
23

Description

We recently discovered that our attempt at adding debugging for a flash issue #1908 was actually incorrect and prevented us from applying the option bit changes. We could be doing some more checks in https://github.com/oxidecomputer/hubris/blob/master/drv/stm32h7-update-server/src/main.rs#L220 (fn unlock) including checking that the bits actually wrote and checking FLASH_OPTSR.LOCK separately.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.