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.

34 linhas
804B

  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. "patterns/gradient.cpp"
  14. "patterns/random.cpp"
  15. "patterns/sparkle.cpp"
  16. INCLUDE_DIRS "."
  17. )
  18. # Build static library, do not build test executables
  19. option(BUILD_SHARED_LIBS OFF)
  20. option(BUILD_TESTING OFF)
  21. # Unfortunately the library performs install and export. Would
  22. # have been nice if devs made that an option like BUILD_SHARED_LIBS
  23. # and BUILD_TESTING. Override install() and export() to do nothing
  24. # instead.
  25. function(install)
  26. endfunction()
  27. function(export)
  28. endfunction()