Skip to content

Commit 8b73be8

Browse files
committed
reworked forced reset slightly; on Windows the RPI-RP2 drive is not surpressed to avoid interface change confusion
1 parent a49dc0b commit 8b73be8

File tree

4 files changed

+215
-59
lines changed

4 files changed

+215
-59
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,7 @@ else()
3131

3232
add_executable(picotool main.cpp)
3333
target_include_directories(picotool PRIVATE ${LIBUSB_INCLUDE_DIR})
34+
# todo, this is a bit of an abstraction failure; but don't want to rev the SDK just for this right now
35+
target_include_directories(picotool PRIVATE ${PICO_SDK_PATH}/src/rp2_common/pico_stdio_usb/include)
3436
target_link_libraries(picotool pico_binary_info boot_uf2_headers boot_picoboot_headers pico_platform_headers picoboot_connection_cxx ${LIBUSB_LIBRARIES})
3537
endif()

0 commit comments

Comments
 (0)