ESP32 Native version of Blinky, featureful controller code for WS2811/WS2812/NeoPixels
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.

35 lines
848B

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