Skip to content

Fix autodetection of RP2350 (ARM mode).#512

Merged
dgarske merged 1 commit into
wolfSSL:masterfrom
tjko:rp2350_fix
Jul 24, 2025
Merged

Fix autodetection of RP2350 (ARM mode).#512
dgarske merged 1 commit into
wolfSSL:masterfrom
tjko:rp2350_fix

Conversation

@tjko

@tjko tjko commented Jul 15, 2025

Copy link
Copy Markdown
Contributor

I was testing wolfSSL on RPi Pico and Pico 2 based on RPi-Pico/CMakeLists.txt and noticed ECC key creation routine (wc_ecc_make_key()) hanging on Pico 2, but working fine on Pico (1).

I traced it down to a hang in sp_256_sqr_8(), which seems to have caused (incorrectly) set WOLFSSL_SP_ARM_THUMB_ASM. (When compiling with WOLFSSL_SP_ARM_CORTEX_M_ASM there is no problem on Pico 2).

This updates platform detection to look for "rp2350-arm-s" instead "rp2350" in ${PICO_PLATFORM}.

@dgarske dgarske requested a review from LinuxJedi July 15, 2025 15:30
@dgarske dgarske self-requested a review July 15, 2025 15:30
@dgarske

dgarske commented Jul 16, 2025

Copy link
Copy Markdown
Member

Hi @tjko ,

Thank you for this fix and all your excellent suggestions / reports. I think we should work on getting you setup as a contributor (I couldn't find one started yet). Can you email support at wolfssl dot com and reference any PR's you've put up? Also please include your location and details about your project.

Thanks,
David Garske, wolfSSL

@dgarske

dgarske commented Jul 24, 2025

Copy link
Copy Markdown
Member

Hi @tjko , your contributor agreement has been approved. Thank you again for your issue reports and fix. We are looking forward to future contributions.
Thanks, David Garske, wolfSSL

@dgarske dgarske merged commit 6da38aa into wolfSSL:master Jul 24, 2025
1 check 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