From b08e71563b88260f29bf409e38c653795beec09a Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Fri, 29 Sep 2023 14:40:01 -0700 Subject: [PATCH] client: Build wifi deps --- client/CMakeLists.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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) -- 2.44.1