Skip to content

Commit

Permalink
reworked forced reset slightly; on Windows the RPI-RP2 drive is not s…
Browse files Browse the repository at this point in the history
…urpressed to avoid interface change confusion
  • Loading branch information
kilograham committed Jun 3, 2021
1 parent a49dc0b commit 8b73be8
Show file tree
Hide file tree
Showing 4 changed files with 215 additions and 59 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,7 @@ else()

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

0 comments on commit 8b73be8

Please sign in to comment.