1#ifndef __INC_LED_SYSDEFS_H
2#define __INC_LED_SYSDEFS_H
16#if defined(NRF51) || defined(__RFduino__) || defined (__Simblee__)
17#include "platforms/arm/nrf51/led_sysdefs_arm_nrf51.h"
18#elif defined(NRF52_SERIES) || defined(NRF52840_XXAA)
19#include "platforms/arm/nrf52/led_sysdefs_arm_nrf52.h"
20#elif defined(__MK20DX128__) || defined(__MK20DX256__)
22#include "platforms/arm/k20/led_sysdefs_arm_k20.h"
23#elif defined(__MK66FX1M0__) || defined(__MK64FX512__)
25#include "platforms/arm/k66/led_sysdefs_arm_k66.h"
26#elif defined(__MKL26Z64__)
28#include "platforms/arm/kl26/led_sysdefs_arm_kl26.h"
29#elif defined(__IMXRT1062__)
31#include "platforms/arm/mxrt1062/led_sysdefs_arm_mxrt1062.h"
32#elif defined(__SAM3X8E__)
34#include "platforms/arm/sam/led_sysdefs_arm_sam.h"
35#elif defined(STM32F10X_MD) || defined(__STM32F1__) || defined(STM32F2XX) || defined(STM32F1)
36#include "platforms/arm/stm32/led_sysdefs_arm_stm32.h"
37#elif defined(__SAMD21G18A__) || defined(__SAMD21J18A__) || defined(__SAMD21E17A__) || defined(__SAMD21E18A__)
38#include "platforms/arm/d21/led_sysdefs_arm_d21.h"
39#elif defined(__SAMD51G19A__) || defined(__SAMD51J19A__) || defined(__SAME51J19A__) || defined(__SAMD51P19A__) || defined(__SAMD51P20A__)
40#include "platforms/arm/d51/led_sysdefs_arm_d51.h"
41#elif defined(ARDUINO_ARCH_RP2040)
43#include "platforms/arm/rp2040/led_sysdefs_arm_rp2040.h"
45#include "platforms/esp/8266/led_sysdefs_esp8266.h"
47#include "platforms/esp/32/led_sysdefs_esp32.h"
48#elif defined(__AVR__) || defined(__AVR_ATmega4809__)
50#include "platforms/avr/led_sysdefs_avr.h"
51#elif defined(ARDUINO_ARCH_APOLLO3)
53#include "platforms/apollo3/led_sysdefs_apollo3.h"
54#elif defined(ARDUINO_ARCH_RENESAS) || defined(ARDUINO_ARCH_RENESAS_UNO) || defined(ARDUINO_ARCH_RENESAS_PORTENTA)
55#include "platforms/arm/renesas/led_sysdef_arm_renesas.h"
56#elif defined(__x86_64__) || defined(FASTLED_STUB_IMPL) || defined(__APPLE__) || defined(__linux__) || defined(__unix__) || defined(__EMSCRIPTEN__)
63#include "platforms/stub/led_sysdefs_stub.h"
76#error "This platform isn't recognized by FastLED... yet. See comments in FastLED/led_sysdefs.h for options."
83#define CLKS_PER_US (F_CPU/1000000)
central include file for FastLED, defines the CFastLED class/object
Contains definitions that can be used to configure FastLED at compile time.
Implements the FastLED namespace macros.