Skip to content

Commit

Permalink
Specify the C and C++ compiler path
Browse files Browse the repository at this point in the history
  • Loading branch information
lukstep committed Jul 23, 2023
1 parent ee42c6f commit 3d8b06e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test_poject/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ include($ENV{PICO_SDK_PATH}/external/pico_sdk_import.cmake)

project(sample C CXX ASM)

set(CMAKE_C_COMPILER /usr/bin/arm-none-eabi-gcc CACHE PATH "" FORCE)
set(CMAKE_CXX_COMPILER /usr/bin/arm-none-eabi-g++ CACHE PATH "" FORCE)

set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)

Expand Down

0 comments on commit 3d8b06e

Please sign in to comment.