Skip to content

tc3: fix debug uart macro protection - #848

Merged
dgarske merged 1 commit into
wolfSSL:masterfrom
bigbrett:tc3-fix-uart-gates
Aug 10, 2026
Merged

tc3: fix debug uart macro protection#848
dgarske merged 1 commit into
wolfSSL:masterfrom
bigbrett:tc3-fix-uart-gates

Conversation

@bigbrett

Copy link
Copy Markdown
Contributor

Fixes missing debug uart macro protection and forces use of RAM-resident memcpy

@bigbrett bigbrett self-assigned this Aug 10, 2026
Copilot AI lite review requested due to automatic review settings August 10, 2026 16:21

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

Fixes TC3xx test-app builds by guarding debug UART initialization behind the DEBUG_UART macro and adjusting the test-app build to always pull in wolfBoot’s string.o on AURIX TC3, aiming to ensure a suitable memcpy is linked for RAM-code flash operations.

Changes:

  • Gate uart_init() in the TC3xx test application behind #ifdef DEBUG_UART to avoid undefined references when debug UART support is off.
  • For AURIX TC3 builds, force inclusion of ../src/string.o via APP_NEEDS_STRING to provide wolfBoot’s memcpy implementation.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
test-app/Makefile Ensures string.o is linked for AURIX TC3 builds to supply wolfBoot string/memory helpers.
test-app/app_aurix_tc3xx.c Wraps UART initialization with DEBUG_UART guards for TC3xx app entry points.

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

Comment thread test-app/Makefile Outdated
@bigbrett
bigbrett force-pushed the tc3-fix-uart-gates branch from 3f880e2 to 5eaf0b0 Compare August 10, 2026 16:38
@bigbrett bigbrett assigned dgarske and unassigned bigbrett Aug 10, 2026
@bigbrett
bigbrett requested a review from dgarske August 10, 2026 19:05
@dgarske
dgarske merged commit 485b446 into wolfSSL:master Aug 10, 2026
406 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.

3 participants