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
@@ -11,6 +11,12 @@ include($ENV{PICO_SDK_PATH}/external/pico_sdk_import.cmake)
project(<project_name> C CXX ASM)
# force picotool executable path
add_executable(picotool IMPORTED GLOBAL)
set_target_properties(picotool PROPERTIES
IMPORTED_LOCATION "$(PICOTOOL_PATH)/picotool"
)
# Initialise the Raspberry Pi Pico SDK
pico_sdk_init()