Skip to content

fix TC3 HAL return values now that they are enforced - #867

Merged
dgarske merged 1 commit into
wolfSSL:masterfrom
bigbrett:tc3-fix-ext-flash-return-values
Aug 21, 2026
Merged

fix TC3 HAL return values now that they are enforced#867
dgarske merged 1 commit into
wolfSSL:masterfrom
bigbrett:tc3-fix-ext-flash-return-values

Conversation

@bigbrett

@bigbrett bigbrett commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Adjusts Aurix TC3 external flash read to comply with the newly enforced HAL return-value contract.

Enforcement was added in bc743ad + fca6bf0, breaking the TC3 port.

Copilot AI lite review requested due to automatic review settings August 20, 2026 20:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Adjusts Aurix TC3 external flash read to comply with the newly enforced HAL return-value contract.

Changes:

  • Document ext_flash_read return semantics (bytes read / -1 on error).
  • Return bytesRead instead of always returning 0.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread hal/aurix_tc3xx.c
@bigbrett bigbrett self-assigned this Aug 20, 2026
@bigbrett
bigbrett marked this pull request as ready for review August 20, 2026 22:51

@wolfSSL-Fenrir-bot wolfSSL-Fenrir-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fenrir Automated Review — PR #867

Scan targets checked: wolfboot-bugs, wolfboot-src

No new issues found in the changed files. ✅

@bigbrett bigbrett assigned dgarske and unassigned bigbrett Aug 20, 2026
@dgarske
dgarske merged commit 1a13fba into wolfSSL:master Aug 21, 2026
424 checks passed
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.

4 participants