X-Git-Url: http://git.scottworley.com/tattlekey/blobdiff_plain/e2173399236a55d37e243f666f4052605517699c..b08e71563b88260f29bf409e38c653795beec09a:/client/CMakeLists.txt diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 84361f4..2805ed0 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -9,11 +9,22 @@ pico_sdk_init() add_executable(tattlekey tattlekey.c) +pico_enable_stdio_usb(tattlekey 1) +pico_enable_stdio_uart(tattlekey 1) + pico_add_extra_outputs(tattlekey) +target_include_directories(tattlekey PRIVATE + ${CMAKE_CURRENT_LIST_DIR} + + # Per https://stackoverflow.com/a/76988599 + ${CMAKE_CURRENT_LIST_DIR}/.. + ) + target_link_libraries(tattlekey pico_stdlib - pico_cyw43_arch_none + pico_cyw43_arch_lwip_threadsafe_background ) -install(TARGETS tattlekey RUNTIME LIBRARY ARCHIVE) +install(TARGETS tattlekey) +install(FILES build/tattlekey.uf2 TYPE DATA)