Skip to content

Added page-named NAND APIs with compatible sector aliases - #99

Draft
fdesbiens wants to merge 1 commit into
eclipse-threadx:devfrom
fdesbiens:feature/nand-page-api
Draft

fdesbiens wants to merge 1 commit into
eclipse-threadx:devfrom
fdesbiens:feature/nand-page-api

Conversation

@fdesbiens

Copy link
Copy Markdown
Contributor

Fixes #67

The NAND application API calls page-sized logical units sectors, which can be confused with FileX sectors.

Add page and pages names for read, write, and release. Keep sector names as aliases to the same symbols, and name public parameters logical_page and page_count. @rahmanih, please review this approach. I’m willing to do it differently if you disagree.

GCC 14.3 NAND regression passed (1/1). The test exercised all six page names, and existing sector calls compiled.

Fixes eclipse-threadx#67

The NAND application API calls page-sized logical units sectors, which can be
confused with FileX sectors.

Add page and pages names for read, write, and release. Keep sector names as
aliases to the same symbols, and name public parameters logical_page and
page_count.

GCC 14.3 NAND regression passed (1/1). The test exercised all six page names,
and existing sector calls compiled.

Assisted-by: Codex (GPT-6-Sol) <noreply@openai.com>

This branch has not been deployed

No deployments
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.

1 participant