Skip to content

Fix autodetection of RP2350 (ARM mode). #512

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tjko
Copy link

@tjko tjko commented Jul 15, 2025

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
Copy link
Contributor

dgarske commented Jul 16, 2025

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

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