FastLED 3.9.7
Loading...
Searching...
No Matches
platforms.h
Go to the documentation of this file.
1#pragma once
2
3#include "FastLED.h"
4
5#include "fastled_config.h"
6
7
8
11
12
13#if defined(NRF51)
14#include "platforms/arm/nrf51/fastled_arm_nrf51.h"
15#elif defined(NRF52_SERIES)
16#include "platforms/arm/nrf52/fastled_arm_nrf52.h"
17#elif defined(__MK20DX128__) || defined(__MK20DX256__)
18// Include k20/T3 headers
19#include "platforms/arm/k20/fastled_arm_k20.h"
20#elif defined(__MK66FX1M0__) || defined(__MK64FX512__)
21// Include k66/T3.6 headers
22#include "platforms/arm/k66/fastled_arm_k66.h"
23#elif defined(__MKL26Z64__)
24// Include kl26/T-LC headers
25#include "platforms/arm/kl26/fastled_arm_kl26.h"
26#elif defined(__IMXRT1062__)
27// teensy4
28#include "platforms/arm/mxrt1062/fastled_arm_mxrt1062.h"
29#elif defined(__SAM3X8E__)
30// Include sam/due headers
31#include "platforms/arm/sam/fastled_arm_sam.h"
32#elif defined(STM32F10X_MD) || defined(__STM32F1__) || defined(STM32F2XX) || defined(STM32F1)
33#include "platforms/arm/stm32/fastled_arm_stm32.h"
34#elif defined(__SAMD21G18A__) || defined(__SAMD21J18A__) || defined(__SAMD21E17A__) || defined(__SAMD21E18A__)
35#include "platforms/arm/d21/fastled_arm_d21.h"
36#elif defined(__SAMD51G19A__) || defined(__SAMD51J19A__) || defined(__SAME51J19A__) || defined(__SAMD51P19A__) || defined(__SAMD51P20A__)
37#include "platforms/arm/d51/fastled_arm_d51.h"
38#elif defined(ARDUINO_ARCH_RP2040) // not sure a pico-sdk define for this
39// RP2040 (Raspberry Pi Pico etc)
40#include "platforms/arm/rp2040/fastled_arm_rp2040.h"
41#elif defined(ESP8266)
42#include "platforms/esp/8266/fastled_esp8266.h"
43#elif defined(ESP32)
44#include "platforms/esp/32/fastled_esp32.h"
45#elif defined(ARDUINO_ARCH_APOLLO3)
46#include "platforms/apollo3/fastled_apollo3.h"
47#elif defined(ARDUINO_ARCH_RENESAS) || defined(ARDUINO_ARCH_RENESAS_UNO) || defined(ARDUINO_ARCH_RENESAS_PORTENTA)
48#include "platforms/arm/renesas/fastled_arm_renesas.h"
49#elif defined(__x86_64__) || defined(FASTLED_STUB_IMPL)
50
51// stub platform for testing (on cpu)
52#include "platforms/stub/fastled_stub.h"
53#else
54// AVR platforms
55#include "platforms/avr/fastled_avr.h"
56#endif
57
58
central include file for FastLED, defines the CFastLED class/object
Contains definitions that can be used to configure FastLED at compile time.