fix picotool installation
This commit is contained in:
@@ -11,6 +11,13 @@ include($ENV{PICO_SDK_PATH}/external/pico_sdk_import.cmake)
|
||||
|
||||
project(breathing_led 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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user