]> git.scottworley.com Git - tattlekey/commitdiff
client: Build wifi deps
authorScott Worley <scottworley@scottworley.com>
Fri, 29 Sep 2023 21:40:01 +0000 (14:40 -0700)
committerScott Worley <scottworley@scottworley.com>
Wed, 11 Oct 2023 01:47:35 +0000 (18:47 -0700)
client/CMakeLists.txt

index 0685a47facead3e1a0d1fad0a9d646d92c10e15d..2805ed0e5b524fc93767c9f4e0fd2409a6a7497a 100644 (file)
@@ -9,11 +9,21 @@ pico_sdk_init()
 
 add_executable(tattlekey tattlekey.c)
 
 
 add_executable(tattlekey tattlekey.c)
 
+pico_enable_stdio_usb(tattlekey 1)
+pico_enable_stdio_uart(tattlekey 1)
+
 pico_add_extra_outputs(tattlekey)
 
 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
 target_link_libraries(tattlekey
   pico_stdlib
-  pico_cyw43_arch_none
+  pico_cyw43_arch_lwip_threadsafe_background
   )
 
 install(TARGETS tattlekey)
   )
 
 install(TARGETS tattlekey)