oxidecomputer / oxidecomputer/hubris
More robust option bit checking on STM32H7 targets
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.