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.

38 lines
913B

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