ESP32 Native version of Blinky, featureful controller code for WS2811/WS2812/NeoPixels
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

31 linhas
748B

  1. idf_component_register(
  2. SRCS
  3. "main.cpp"
  4. "wifi.cpp"
  5. "http_serv.cpp"
  6. "ota.cpp"
  7. "mqtt.cpp"
  8. "device.cpp"
  9. INCLUDE_DIRS "."
  10. )
  11. # Build static library, do not build test executables
  12. option(BUILD_SHARED_LIBS OFF)
  13. option(BUILD_TESTING OFF)
  14. # Unfortunately the library performs install and export. Would
  15. # have been nice if devs made that an option like BUILD_SHARED_LIBS
  16. # and BUILD_TESTING. Override install() and export() to do nothing
  17. # instead.
  18. function(install)
  19. endfunction()
  20. function(export)
  21. endfunction()
  22. # Import tinyxml2 targets
  23. #add_subdirectory(lib/tinyxml2)
  24. # Link tinyxml2 to main component
  25. #target_link_libraries(${COMPONENT_LIB} PUBLIC tinyxml2)