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 594B

1234567891011121314151617181920212223242526272829303132
  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. set_target_properties(picowota PROPERTIES COMPILE_FLAGS "-Wall -Os")
  15. target_include_directories(picowota PRIVATE ${CMAKE_CURRENT_LIST_DIR})
  16. target_link_libraries(picowota
  17. cmsis_core
  18. hardware_dma
  19. hardware_flash
  20. hardware_resets
  21. hardware_structs
  22. pico_cyw43_arch_lwip_poll
  23. pico_stdlib
  24. pico_sync
  25. )