Skip to content

Brought the NOR mapped sector fix into dev - #92

Merged
fdesbiens merged 3 commits into
eclipse-threadx:devfrom
fdesbiens:merge-nor-erase-fix-dev
Sep 25, 2026
Merged

fdesbiens merged 3 commits into
eclipse-threadx:devfrom
fdesbiens:merge-nor-erase-fix-dev

Conversation

@fdesbiens

@fdesbiens fdesbiens commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

The NOR erase search fix from #83 landed on master while dev still used an uninitialized mapped count when obsolete counts came from cache or block metadata.

Merge the master fix and its simulator regression into dev while preserving dev's newer cache tests.

GCC 14 CMake/Ninja: 40/40 regression tests passed across ten configurations. Merged coverage reached 1,634/2,402 lines (68.03%) and 1,596/2,439 branches (65.44%). Not run on hardware.

miracoli and others added 3 commits September 25, 2026 16:09
The NOR erase search can obtain an obsolete count from the cache or block
metadata without scanning the mapping table. It then copied an uninitialized
mapped count into candidate state, which GCC could report as maybe-uninitialized.

The search now initializes the availability flag and resets the mapped count
for each block. It still scans the chosen block before returning a mapped
count when one was unavailable. A simulator regression checks a cached block
with one obsolete and fourteen mapped sectors.

GCC 15 with -O2 -Werror=maybe-uninitialized rejected the base revision and
built the change. CMake/Ninja regression tests passed 3/3 in each of the
obsolete count cache, combined cache, and default coverage configurations.
Not run on hardware.

Assisted-by: Codex (GPT-6) <noreply@openai.com>
The mapped-sector initialization fix reached master while dev still used an
uninitialized count when obsolete counts came from cache or block metadata.

The merge carries the source fix and simulator regression into dev. The cache
test keeps dev's existing disclosure comment.

GCC 14 CMake/Ninja: 40/40 regression tests passed across ten configurations.
Merged coverage reached 1,634/2,402 lines (68.03%) and 1,596/2,439 branches
(65.44%). Not run on hardware.
The branch's repository check failed because the dev script mistook two
CONTRIBUTING.md sentences for malformed source comments.

Merge the corrected dev check into the NOR fix branch so CI evaluates the
current integration state.

The check and full regression job passed for the script correction. The NOR
fix branch's earlier regression job passed before this merge.

Assisted-by: Codex (GPT-6) <noreply@openai.com>
@fdesbiens
fdesbiens merged commit 8873f44 into eclipse-threadx:dev Sep 25, 2026
4 checks passed
@fdesbiens
fdesbiens deleted the merge-nor-erase-fix-dev branch September 25, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants