Skip to content

Fix compiler error when WOLFSSL_RPIPICO is used.#10742

Open
tjko wants to merge 1 commit into
wolfSSL:masterfrom
tjko:rpi_compile
Open

Fix compiler error when WOLFSSL_RPIPICO is used.#10742
tjko wants to merge 1 commit into
wolfSSL:masterfrom
tjko:rpi_compile

Conversation

@tjko

@tjko tjko commented Jun 19, 2026

Copy link
Copy Markdown

Description

Fix compiler error when WOLFSSL_RPIPICO is defined.

Fixes #10741

Testing

Compiling no longer fails after this fix has been applied.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

Copilot AI review requested due to automatic review settings June 19, 2026 02:20
@wolfSSL-Bot

Copy link
Copy Markdown

Can one of the admins verify this patch?

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

This pull request fixes a build failure when WOLFSSL_RPIPICO is enabled by ensuring the Raspberry Pi Pico port source includes the standard wolfCrypt “library sources” header that provides common error codes (including BAD_FUNC_ARG) and required build macros.

Changes:

  • Add #include <wolfssl/wolfcrypt/libwolfssl_sources.h> to wolfcrypt/src/port/rpi_pico/pico.c to pull in common wolfCrypt definitions (e.g., error-crypt.h).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dgarske

dgarske commented Jun 19, 2026

Copy link
Copy Markdown
Member

Okay to test. Contributor agreement on file.

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.

[Bug]: Compiler error when WOLFSSL_RPIPICO is used.

4 participants