fix picotool installation
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user