This repository has been archived on 2025-01-25. You can view files and clone it, but cannot push or open issues or pull requests.
graham sanderson 46078742c7 Initial Release
2021-01-20 16:45:01 -06:00

13 lines
427 B
CMake

add_library(double_tap_usb_boot INTERFACE)
# inclusion of this library will allow you to double tap reset within 100ms to launch into bootrom USB bootloader
if (PICO_ON_DEVICE)
target_sources(double_tap_usb_boot INTERFACE
${CMAKE_CURRENT_LIST_DIR}/double_tap_usb_boot.c
)
target_link_libraries(double_tap_usb_boot INTERFACE
pico_bootrom
pico_time
)
endif ()