Skip to content

Support externally provided uart_flash protocol - #1019

Open
vhdirk wants to merge 1 commit into
wolfSSL:masterfrom
vhdirk:uart-flash-protocol
Open

vhdirk wants to merge 1 commit into
wolfSSL:masterfrom
vhdirk:uart-flash-protocol

Conversation

@vhdirk

@vhdirk vhdirk commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

We use a different protocol for uart communication than the provided. This patch allows us to supply our protocol sources externally.

Copilot AI balanced review requested due to automatic review settings December 2, 2026 15:31

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.

🟡 Changes recommended

The UART_FLASH_PROTOCOL_SRC override is missing from CONFIG_VARS, so running make config silently removes it and causes the next build to use the default protocol instead of the project's implementation.

1 open issue
What changed in this PR

Allows projects to supply their own UART-flash protocol sources while preserving the built-in implementation as the default.

Changes:

  • Adds the overridable UART_FLASH_PROTOCOL_SRC setting.
  • Derives protocol object files from the selected C sources.
File Description
options.mk Makes UART-flash protocol sources configurable.

Review effort: Balanced

Comment thread options.mk Resolved
@vhdirk
vhdirk force-pushed the uart-flash-protocol branch from 1e3058a to 79a8e2d Compare December 2, 2026 15:53
@dgarske dgarske removed their assignment Dec 2, 2026
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