fix picotool installation

This commit is contained in:
2025-02-26 10:34:09 +01:00
parent cd5459dac6
commit 0db9d21ec6
6 changed files with 32 additions and 5 deletions
+6
View File
@@ -10,6 +10,12 @@ include($ENV{PICO_SDK_PATH}/external/pico_sdk_import.cmake)
project(simple_led C CXX ASM)
# force picotool executable path
add_executable(picotool IMPORTED GLOBAL)
set_target_properties(picotool PROPERTIES
IMPORTED_LOCATION "$(PICOTOOL_PATH)/picotool"
)
pico_sdk_init()
set(FREERTOS_SRC_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../freertos)