From: Scott Worley Date: Fri, 29 Sep 2023 21:40:01 +0000 (-0700) Subject: client: Build wifi deps X-Git-Tag: v0.1.0~73 X-Git-Url: http://git.scottworley.com/tattlekey/commitdiff_plain/b08e71563b88260f29bf409e38c653795beec09a?ds=sidebyside client: Build wifi deps --- diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 0685a47..2805ed0 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -9,11 +9,21 @@ 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)