You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 514B

123456789101112131415161718192021222324252627282930
  1. cmake_minimum_required(VERSION 3.13)
  2. include(pico_sdk_import.cmake)
  3. project(picowota C CXX ASM)
  4. set(CMAKE_C_STANDARD 11)
  5. set(CMAKE_CXX_STANDARD 17)
  6. pico_sdk_init()
  7. add_executable(picowota
  8. main.c
  9. creds.c
  10. tcp_comm.c
  11. )
  12. pico_enable_stdio_usb(picowota 1)
  13. pico_add_extra_outputs(picowota)
  14. target_include_directories(picowota PRIVATE ${CMAKE_CURRENT_LIST_DIR})
  15. target_link_libraries(picowota
  16. cmsis_core
  17. hardware_dma
  18. hardware_flash
  19. hardware_resets
  20. hardware_structs
  21. pico_cyw43_arch_lwip_poll
  22. pico_stdlib
  23. )