PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

45 líneas
1.4KB

  1. #ifndef __INC_PLATFORMS_H
  2. #define __INC_PLATFORMS_H
  3. #include "FastLED.h"
  4. #include "fastled_config.h"
  5. #if defined(NRF51)
  6. #include "platforms/arm/nrf51/fastled_arm_nrf51.h"
  7. #elif defined(NRF52_SERIES)
  8. #include "platforms/arm/nrf52/fastled_arm_nrf52.h"
  9. #elif defined(__MK20DX128__) || defined(__MK20DX256__)
  10. // Include k20/T3 headers
  11. #include "platforms/arm/k20/fastled_arm_k20.h"
  12. #elif defined(__MK66FX1M0__) || defined(__MK64FX512__)
  13. // Include k66/T3.6 headers
  14. #include "platforms/arm/k66/fastled_arm_k66.h"
  15. #elif defined(__MKL26Z64__)
  16. // Include kl26/T-LC headers
  17. #include "platforms/arm/kl26/fastled_arm_kl26.h"
  18. #elif defined(__IMXRT1062__)
  19. // teensy4
  20. #include "platforms/arm/mxrt1062/fastled_arm_mxrt1062.h"
  21. #elif defined(__SAM3X8E__)
  22. // Include sam/due headers
  23. #include "platforms/arm/sam/fastled_arm_sam.h"
  24. #elif defined(STM32F10X_MD) || defined(__STM32F1__)
  25. #include "platforms/arm/stm32/fastled_arm_stm32.h"
  26. #elif defined(__SAMD21G18A__) || defined(__SAMD21J18A__) || defined(__SAMD21E17A__) || defined(__SAMD21E18A__)
  27. #include "platforms/arm/d21/fastled_arm_d21.h"
  28. #elif defined(__SAMD51G19A__) || defined(__SAMD51J19A__)
  29. #include "platforms/arm/d51/fastled_arm_d51.h"
  30. #elif defined(ESP8266)
  31. #include "platforms/esp/8266/fastled_esp8266.h"
  32. #elif defined(ESP32)
  33. #include "platforms/esp/32/fastled_esp32.h"
  34. #elif defined(ARDUINO_ARCH_APOLLO3)
  35. #include "platforms/apollo3/fastled_apollo3.h"
  36. #else
  37. // AVR platforms
  38. #include "platforms/avr/fastled_avr.h"
  39. #endif
  40. #endif