X-Git-Url: http://git.scottworley.com/tattlekey/blobdiff_plain/661f51ad9c5a206f6d06b670c969d4cbd9c7b898..4db97133ae0498147735ef312fbd5cdea969e6da:/client/CMakeLists.txt?ds=sidebyside diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 0685a47..7714c1e 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -7,13 +7,29 @@ set(CMAKE_C_STANDARD 11) set(CMAKE_CXX_STANDARD 17) pico_sdk_init() -add_executable(tattlekey tattlekey.c) +add_executable(tattlekey + blink.c + button.c + config.c + net.c + 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)