oxidecomputer / oxidecomputer/lpc55_support
flash constants
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 13
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
I'm working on a tool to calculate the FWID for the lpc55 & stm32 images here: https://github.com/oxidecomputer/hubtools/issues/37, To do so for the lpc55 requires we know the page size for flash. lpc55_support has 512 hard coded in a number of places (mostly around the size of the C[F|M]PA region (one flash page) but it wouldn't take much to expose that value as a constant.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Search the lpc55_support repository for the hard-coded 512 values, especially the code handling the C[F|M]PA region and flash-page sizing. Review the related logic and the FWID work described in oxidecomputer/hubtools#37, then expose one reusable constant and update the affected uses so the flash page size has a single source of truth.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- embedded-iot, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100