Merge pull request #512 from tjko/rp2350_fix

Fix autodetection of RP2350 (ARM mode).
pull/514/head
David Garske 2025-07-24 11:59:27 -07:00 committed by GitHub
commit 6da38aa413
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ endif()
target_compile_definitions(wolfssl PUBLIC
WOLFSSL_USER_SETTINGS
)
if (${PICO_PLATFORM} STREQUAL "rp2350")
if (${PICO_PLATFORM} STREQUAL "rp2350-arm-s")
add_compile_definitions(wolfssl WOLFSSL_SP_ARM_CORTEX_M_ASM)
elseif (${PICO_PLATFORM} STREQUAL "rp2350-riscv")
add_compile_definitions(wolfSSL WOLFSSL_SP_RISCV32)