ESP32 Native version of Blinky, featureful controller code for WS2811/WS2812/NeoPixels
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

34 строки
821B

  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. "utils.cpp"
  10. "leds.cpp"
  11. "presets.cpp"
  12. INCLUDE_DIRS "."
  13. )
  14. # Build static library, do not build test executables
  15. option(BUILD_SHARED_LIBS OFF)
  16. option(BUILD_TESTING OFF)
  17. # Unfortunately the library performs install and export. Would
  18. # have been nice if devs made that an option like BUILD_SHARED_LIBS
  19. # and BUILD_TESTING. Override install() and export() to do nothing
  20. # instead.
  21. function(install)
  22. endfunction()
  23. function(export)
  24. endfunction()
  25. # Import tinyxml2 targets
  26. #add_subdirectory(lib/tinyxml2)
  27. # Link tinyxml2 to main component
  28. #target_link_libraries(${COMPONENT_LIB} PUBLIC tinyxml2)