Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7995

SDK • Re: gcc 15.x support ?

$
0
0
As far as Arm GNU Toolchain it is up to 15.2.1 and CMake and make built all the pico_w examples fine FWIW. Maybe the issue has been resolved, but more testing is always recommended I suppose.

Full disclosure, my particular versions are as follows; Pico C SDK 2.2.0, cmake 3.24.1, arm-none-eabi-gcc 15.2.1, gcc 11.2.0, make 4.3

versions

Code:

breaker@ace:~/git/pico-examples-2-10-2026/pico-examples/build/pico_w$ cat /usr/src/pico-sdk/pico_sdk_version.cmake |grep 'set(PICO_SDK_VERSION'    set(PICO_SDK_VERSION_MAJOR 2)    set(PICO_SDK_VERSION_MINOR 2)    set(PICO_SDK_VERSION_REVISION 0)    #set(PICO_SDK_VERSION_PRE_RELEASE_ID develop)set(PICO_SDK_VERSION_STRING "${PICO_SDK_VERSION_MAJOR}.${PICO_SDK_VERSION_MINOR}.${PICO_SDK_VERSION_REVISION}")    set(PICO_SDK_VERSION_STRING "${PICO_SDK_VERSION_STRING}-${PICO_SDK_VERSION_PRE_RELEASE_ID}")breaker@ace:~/git/pico-examples-2-10-2026/pico-examples/build/pico_w$ cmake --versioncmake version 3.24.1CMake suite maintained and supported by Kitware (kitware.com/cmake).breaker@ace:~/git/pico-examples-2-10-2026/pico-examples/build/pico_w$ /usr/src/arm-gnu-toolchain/bin/arm-none-eabi-gcc --versionarm-none-eabi-gcc (Arm GNU Toolchain 15.2.Rel1 (Build arm-15.86)) 15.2.1 20251203Copyright (C) 2025 Free Software Foundation, Inc.This is free software; see the source for copying conditions.  There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.breaker@ace:~/git/pico-examples-2-10-2026/pico-examples/build/pico_w$ gcc --versiongcc (GCC) 11.2.0Copyright (C) 2021 Free Software Foundation, Inc.This is free software; see the source for copying conditions.  There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.breaker@ace:~/git/pico-examples-2-10-2026/pico-examples/build/pico_w$ make --versionGNU Make 4.3Built for x86_64-slackware-linux-gnuCopyright (C) 1988-2020 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law.breaker@ace:~/git/pico-examples-2-10-2026/pico-examples/build/pico_w$
cmake output

Code:

breaker@ace:~/git/pico-examples-2-10-2026/pico-examples$ cmw.shUsing PICO_SDK_PATH from environment ('/usr/src/pico-sdk')PICO_SDK_PATH is /usr/src/pico-sdkTarget board (PICO_BOARD) is 'pico_w'.Using board configuration from /usr/src/pico-sdk/src/boards/include/boards/pico_w.hPico Platform (PICO_PLATFORM) is 'rp2040'.Defaulting compiler (PICO_COMPILER) to 'pico_arm_cortex_m0plus_gcc' since not specified.Configuring toolchain based on PICO_COMPILER 'pico_arm_cortex_m0plus_gcc'Using PICO_EXTRAS_PATH from environment ('/home/breaker/git/pico-extras')Defaulting PICO_GCC_TRIPLE to 'arm-none-eabi'-- The C compiler identification is GNU 15.2.1-- The CXX compiler identification is GNU 15.2.1-- Detecting C compiler ABI info-- Detecting C compiler ABI info - done-- Check for working C compiler: /usr/src/arm-gnu-toolchain/bin/arm-none-eabi-gcc - skipped-- Detecting C compile features-- Detecting C compile features - done-- Detecting CXX compiler ABI info-- Detecting CXX compiler ABI info - done-- Check for working CXX compiler: /usr/src/arm-gnu-toolchain/bin/arm-none-eabi-g++ - skipped-- Detecting CXX compile features-- Detecting CXX compile features - done-- The ASM compiler identification is GNU-- Found assembler: /usr/src/arm-gnu-toolchain/bin/arm-none-eabi-gccBuild type is Release-- Found Python3: /usr/bin/python3.9 (found version "3.9.24") found components: Interpreter TinyUSB available at /usr/src/pico-sdk/lib/tinyusb/hw/bsp/rp2040; enabling build support for USB.BTstack available at /usr/src/pico-sdk/lib/btstackcyw43-driver available at /usr/src/pico-sdk/lib/cyw43-driverPico W Bluetooth build support available.mbedtls available at /usr/src/pico-sdk/lib/mbedtlslwIP available at /usr/src/pico-sdk/lib/lwipPico W Wi-Fi build support available.Using picotool from /usr/local/bin/picotoolSkipping uart example which is unsupported on this platformSkipping encrypted example which is unsupported on this platformSkipping hello_dcp example which is unsupported on this platformSkipping hello_encrypted example which is unsupported on this platformSkipping runtime_flash_permissions example which is unsupported on this platformSkipping partition_info example which is unsupported on this platformSkipping dvi_out_hstx_encoder example which is unsupported on this platformSkipping spi_lcd example which is unsupported on this platformSkipping multicore_doorbell example which is unsupported on this platformSkipping hello_otp example which is unsupported on this platformSkipping Pico W FreeRTOS examples as FREERTOS_KERNEL_PATH not definedSkipping tcp_client example as TEST_TCP_SERVER_IP is not definedSkipping MQTT example as MQTT_SERVER is not definedSkipping ota_update example which is unsupported on this platformAdding 22 BTstack examples of type 'background'Skipping boot_info example which is unsupported on this platformSkipping universal examples as PICO_RISCV_TOOLCHAIN_PATH and PICO_ARM_TOOLCHAIN_PATH are not definedSkipping TinyUSB dual examples, as TinyUSB hw/mcu/raspberry_pi/Pico-PIO-USB submodule unavailableSkipping SHA256 examples as pico_sha256 or pico_mbedtls unavailableSkipping FreeRTOS examples as FREERTOS_KERNEL_PATH not defined-- Configuring done-- Generating done-- Build files have been written to: /home/breaker/git/pico-examples-2-10-2026/pico-examples/buildbreaker@ace:~/git/pico-examples-2-10-2026/pico-examples$ 
'make -j4' results building OK for RP2040 Pico W board

Statistics: Posted by breaker — Wed Feb 18, 2026 3:41 am



Viewing all articles
Browse latest Browse all 7995

Trending Articles