Skip to content

esp8266 new version from github blink sketch will not compile #336

Closed

Description

@raymusmunt

I had previously posted #335

It was suggested I download the latest version from github. Upon trying that, here is the new errors I get from within the Arduino IDE on compile.

Thanks for your time.

Using library FastLED in folder: /Documents/Arduino/libraries/FastLED 

/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/tools/sdk/include -I/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/tools/sdk/lwip/include -I/var/folders/g8/wxzp9pt94w79qvfny2bjc4ch0000gn/T/build9055417952756490146.tmp/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DLWIP_OPEN_SRC -DARDUINO=10605 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_NODEMCU" -DESP8266 -I/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/cores/esp8266 -I/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/variants/nodemcu -I/Documents/Arduino/libraries/FastLED /var/folders/g8/wxzp9pt94w79qvfny2bjc4ch0000gn/T/build9055417952756490146.tmp/Blink.cpp -o /var/folders/g8/wxzp9pt94w79qvfny2bjc4ch0000gn/T/build9055417952756490146.tmp/Blink.cpp.o 
In file included from /Documents/Arduino/libraries/FastLED/FastLED.h:34:0,
                 from Blink.ino:1:
/Documents/Arduino/libraries/FastLED/led_sysdefs.h:22:2: error: #error "XTENSA-architecture microcontrollers are not supported."
 #error "XTENSA-architecture microcontrollers are not supported."
  ^
In file included from /Documents/Arduino/libraries/FastLED/FastLED.h:42:0,
                 from Blink.ino:1:
/Documents/Arduino/libraries/FastLED/platforms.h:22:2: error: #error "XTENSA-architecture microcontrollers are not supported"
 #error "XTENSA-architecture microcontrollers are not supported"
  ^
In file included from /Documents/Arduino/libraries/FastLED/pixeltypes.h:5:0,
                 from /Documents/Arduino/libraries/FastLED/controller.h:8,
                 from /Documents/Arduino/libraries/FastLED/FastLED.h:37,
                 from Blink.ino:1:
/Documents/Arduino/libraries/FastLED/lib8tion.h:832:17: error: new declaration 'uint32_t millis()'
 uint32_t millis();
                 ^
In file included from /Documents/Arduino/libraries/FastLED/led_sysdefs.h:36:0,
                 from /Documents/Arduino/libraries/FastLED/FastLED.h:34,
                 from Blink.ino:1:
/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/cores/esp8266/Arduino.h:203:15: error: ambiguates old declaration 'long unsigned int millis()'
 unsigned long millis(void);
               ^
In file included from /Documents/Arduino/libraries/FastLED/FastLED.h:38:0,
                 from Blink.ino:1:
/Documents/Arduino/libraries/FastLED/fastpin.h:29:11: error: 'RwReg' does not name a type
  volatile RwReg *mPort;
           ^
/Documents/Arduino/libraries/FastLED/fastpin.h:30:11: error: 'RoReg' does not name a type
  volatile RoReg *mInPort;
           ^
/Documents/Arduino/libraries/FastLED/fastpin.h:31:2: error: 'RwReg' does not name a type
  RwReg mPinMask;
  ^
/Documents/Arduino/libraries/FastLED/fastpin.h:42:19: error: 'RwReg' does not name a type
  typedef volatile RwReg * port_ptr_t;
                   ^
/Documents/Arduino/libraries/FastLED/fastpin.h:43:10: error: 'RwReg' does not name a type
  typedef RwReg port_t;
          ^
/Documents/Arduino/libraries/FastLED/fastpin.h:54:26: error: 'port_ptr_t' does not name a type
  inline void hi(register port_ptr_t port) __attribute__ ((always_inline)) { *port |= mPinMask; }
                          ^
/Documents/Arduino/libraries/FastLED/fastpin.h:54:37: error: ISO C++ forbids declaration of 'port' with no type [-fpermissive]
  inline void hi(register port_ptr_t port) __attribute__ ((always_inline)) { *port |= mPinMask; }
                                     ^
/Documents/Arduino/libraries/FastLED/fastpin.h:55:26: error: 'port_ptr_t' does not name a type
  inline void lo(register port_ptr_t port) __attribute__ ((always_inline)) { *port &= ~mPinMask; }
                          ^
/Documents/Arduino/libraries/FastLED/fastpin.h:55:37: error: ISO C++ forbids declaration of 'port' with no type [-fpermissive]
  inline void lo(register port_ptr_t port) __attribute__ ((always_inline)) { *port &= ~mPinMask; }
                                     ^
/Documents/Arduino/libraries/FastLED/fastpin.h:56:27: error: 'port_t' does not name a type
  inline void set(register port_t val) __attribute__ ((always_inline)) { *mPort = val; }
                           ^
/Documents/Arduino/libraries/FastLED/fastpin.h:56:34: error: ISO C++ forbids declaration of 'val' with no type [-fpermissive]
  inline void set(register port_t val) __attribute__ ((always_inline)) { *mPort = val; }
                                  ^
/Documents/Arduino/libraries/FastLED/fastpin.h:58:31: error: 'port_ptr_t' does not name a type
  inline void fastset(register port_ptr_t port, register port_t val) __attribute__ ((always_inline)) { *port  = val; }
                               ^
/Documents/Arduino/libraries/FastLED/fastpin.h:58:42: error: ISO C++ forbids declaration of 'port' with no type [-fpermissive]
  inline void fastset(register port_ptr_t port, register port_t val) __attribute__ ((always_inline)) { *port  = val; }
                                          ^
/Documents/Arduino/libraries/FastLED/fastpin.h:58:57: error: 'port_t' does not name a type
  inline void fastset(register port_ptr_t port, register port_t val) __attribute__ ((always_inline)) { *port  = val; }
                                                         ^
/Documents/Arduino/libraries/FastLED/fastpin.h:58:64: error: ISO C++ forbids declaration of 'val' with no type [-fpermissive]
  inline void fastset(register port_ptr_t port, register port_t val) __attribute__ ((always_inline)) { *port  = val; }
                                                                ^
/Documents/Arduino/libraries/FastLED/fastpin.h:60:2: error: 'port_t' does not name a type
  port_t hival() __attribute__ ((always_inline)) { return *mPort | mPinMask;  }
  ^
/Documents/Arduino/libraries/FastLED/fastpin.h:61:2: error: 'port_t' does not name a type
  port_t loval() __attribute__ ((always_inline)) { return *mPort & ~mPinMask; }
  ^
/Documents/Arduino/libraries/FastLED/fastpin.h:62:2: error: 'port_ptr_t' does not name a type
  port_ptr_t  port() __attribute__ ((always_inline)) { return mPort; }
  ^
/Documents/Arduino/libraries/FastLED/fastpin.h:63:2: error: 'port_t' does not name a type
  port_t mask() __attribute__ ((always_inline)) { return mPinMask; }
  ^
/Documents/Arduino/libraries/FastLED/fastpin.h: In member function 'void Pin::_init()':
/Documents/Arduino/libraries/FastLED/fastpin.h:35:3: error: 'mPinMask' was not declared in this scope
   mPinMask = digitalPinToBitMask(mPin);
   ^
/Documents/Arduino/libraries/FastLED/fastpin.h:36:3: error: 'mPort' was not declared in this scope
   mPort = portOutputRegister(digitalPinToPort(mPin));
   ^
/Documents/Arduino/libraries/FastLED/fastpin.h:37:3: error: 'mInPort' was not declared in this scope
   mInPort = portInputRegister(digitalPinToPort(mPin));
   ^
/Documents/Arduino/libraries/FastLED/fastpin.h: In member function 'void Pin::hi()':
/Documents/Arduino/libraries/FastLED/fastpin.h:48:54: error: 'mPort' was not declared in this scope
  inline void hi() __attribute__ ((always_inline)) { *mPort |= mPinMask; }
                                                      ^
/Documents/Arduino/libraries/FastLED/fastpin.h:48:63: error: 'mPinMask' was not declared in this scope
  inline void hi() __attribute__ ((always_inline)) { *mPort |= mPinMask; }
                                                               ^
/Documents/Arduino/libraries/FastLED/fastpin.h: In member function 'void Pin::lo()':
/Documents/Arduino/libraries/FastLED/fastpin.h:49:54: error: 'mPort' was not declared in this scope
  inline void lo() __attribute__ ((always_inline)) { *mPort &= ~mPinMask; }
                                                      ^
/Documents/Arduino/libraries/FastLED/fastpin.h:49:64: error: 'mPinMask' was not declared in this scope
  inline void lo() __attribute__ ((always_inline)) { *mPort &= ~mPinMask; }
                                                                ^
/Documents/Arduino/libraries/FastLED/fastpin.h: In member function 'void Pin::toggle()':
/Documents/Arduino/libraries/FastLED/fastpin.h:52:58: error: 'mInPort' was not declared in this scope
  inline void toggle() __attribute__ ((always_inline)) { *mInPort = mPinMask; }
                                                          ^
/Documents/Arduino/libraries/FastLED/fastpin.h:52:68: error: 'mPinMask' was not declared in this scope
  inline void toggle() __attribute__ ((always_inline)) { *mInPort = mPinMask; }
                                                                    ^
/Documents/Arduino/libraries/FastLED/fastpin.h: In member function 'void Pin::hi(int)':
/Documents/Arduino/libraries/FastLED/fastpin.h:54:78: error: invalid type argument of unary '*' (have 'int')
  inline void hi(register port_ptr_t port) __attribute__ ((always_inline)) { *port |= mPinMask; }
                                                                              ^
/Documents/Arduino/libraries/FastLED/fastpin.h:54:86: error: 'mPinMask' was not declared in this scope
  inline void hi(register port_ptr_t port) __attribute__ ((always_inline)) { *port |= mPinMask; }
                                                                                      ^
/Documents/Arduino/libraries/FastLED/fastpin.h: In member function 'void Pin::lo(int)':
/Documents/Arduino/libraries/FastLED/fastpin.h:55:78: error: invalid type argument of unary '*' (have 'int')
  inline void lo(register port_ptr_t port) __attribute__ ((always_inline)) { *port &= ~mPinMask; }
                                                                              ^
/Documents/Arduino/libraries/FastLED/fastpin.h:55:87: error: 'mPinMask' was not declared in this scope
  inline void lo(register port_ptr_t port) __attribute__ ((always_inline)) { *port &= ~mPinMask; }
                                                                                       ^
/Documents/Arduino/libraries/FastLED/fastpin.h: In member function 'void Pin::set(int)':
/Documents/Arduino/libraries/FastLED/fastpin.h:56:74: error: 'mPort' was not declared in this scope
  inline void set(register port_t val) __attribute__ ((always_inline)) { *mPort = val; }
                                                                          ^
/Documents/Arduino/libraries/FastLED/fastpin.h: In member function 'void Pin::fastset(int, int)':
/Documents/Arduino/libraries/FastLED/fastpin.h:58:104: error: invalid type argument of unary '*' (have 'int')
  inline void fastset(register port_ptr_t port, register port_t val) __attribute__ ((always_inline)) { *port  = val; }
                                                                                                        ^
/Documents/Arduino/libraries/FastLED/fastpin.h: In member function 'virtual bool Pin::isSelected()':
/Documents/Arduino/libraries/FastLED/fastpin.h:67:39: error: 'mPort' was not declared in this scope
  virtual bool isSelected() { return (*mPort & mPinMask) == mPinMask; }
                                       ^
/Documents/Arduino/libraries/FastLED/fastpin.h:67:47: error: 'mPinMask' was not declared in this scope
  virtual bool isSelected() { return (*mPort & mPinMask) == mPinMask; }
                                               ^
/Documents/Arduino/libraries/FastLED/fastpin.h: At global scope:
/Documents/Arduino/libraries/FastLED/fastpin.h:155:9: error: 'RwReg' does not name a type
  static RwReg sPinMask;
         ^
/Documents/Arduino/libraries/FastLED/fastpin.h:156:18: error: 'RwReg' does not name a type
  static volatile RwReg *sPort;
                  ^
/Documents/Arduino/libraries/FastLED/fastpin.h:157:18: error: 'RoReg' does not name a type
  static volatile RoReg *sInPort;
                  ^
/Documents/Arduino/libraries/FastLED/fastpin.h:166:19: error: 'RwReg' does not name a type
  typedef volatile RwReg * port_ptr_t;
                   ^
/Documents/Arduino/libraries/FastLED/fastpin.h:167:10: error: 'RwReg' does not name a type
  typedef RwReg port_t;
          ^
/Documents/Arduino/libraries/FastLED/fastpin.h:179:33: error: 'port_ptr_t' does not name a type
  inline static void hi(register port_ptr_t port) __attribute__ ((always_inline)) { *port |= sPinMask; }
                                 ^
/Documents/Arduino/libraries/FastLED/fastpin.h:179:44: error: ISO C++ forbids declaration of 'port' with no type [-fpermissive]
  inline static void hi(register port_ptr_t port) __attribute__ ((always_inline)) { *port |= sPinMask; }
                                            ^
/Documents/Arduino/libraries/FastLED/fastpin.h:180:33: error: 'port_ptr_t' does not name a type
  inline static void lo(register port_ptr_t port) __attribute__ ((always_inline)) { *port &= ~sPinMask; }
                                 ^
/Documents/Arduino/libraries/FastLED/fastpin.h:180:44: error: ISO C++ forbids declaration of 'port' with no type [-fpermissive]
  inline static void lo(register port_ptr_t port) __attribute__ ((always_inline)) { *port &= ~sPinMask; }
                                            ^
/Documents/Arduino/libraries/FastLED/fastpin.h:181:34: error: 'port_t' does not name a type
  inline static void set(register port_t val) __attribute__ ((always_inline)) { *sPort = val; }
                                  ^
/Documents/Arduino/libraries/FastLED/fastpin.h:181:41: error: ISO C++ forbids declaration of 'val' with no type [-fpermissive]
  inline static void set(register port_t val) __attribute__ ((always_inline)) { *sPort = val; }
                                         ^
/Documents/Arduino/libraries/FastLED/fastpin.h:183:38: error: 'port_ptr_t' does not name a type
  inline static void fastset(register port_ptr_t port, register port_t val) __attribute__ ((always_inline)) { *port  = val; }
                                      ^
/Documents/Arduino/libraries/FastLED/fastpin.h:183:49: error: ISO C++ forbids declaration of 'port' with no type [-fpermissive]
  inline static void fastset(register port_ptr_t port, register port_t val) __attribute__ ((always_inline)) { *port  = val; }
                                                 ^
/Documents/Arduino/libraries/FastLED/fastpin.h:183:64: error: 'port_t' does not name a type
  inline static void fastset(register port_ptr_t port, register port_t val) __attribute__ ((always_inline)) { *port  = val; }
                                                                ^
/Documents/Arduino/libraries/FastLED/fastpin.h:183:71: error: ISO C++ forbids declaration of 'val' with no type [-fpermissive]
  inline static void fastset(register port_ptr_t port, register port_t val) __attribute__ ((always_inline)) { *port  = val; }
                                                                       ^
/Documents/Arduino/libraries/FastLED/fastpin.h:185:9: error: 'port_t' does not name a type
  static port_t hival() __attribute__ ((always_inline)) { return *sPort | sPinMask;  }
         ^
/Documents/Arduino/libraries/FastLED/fastpin.h:186:9: error: 'port_t' does not name a type
  static port_t loval() __attribute__ ((always_inline)) { return *sPort & ~sPinMask; }
         ^
/Documents/Arduino/libraries/FastLED/fastpin.h:187:9: error: 'port_ptr_t' does not name a type
  static port_ptr_t  port() __attribute__ ((always_inline)) { return sPort; }
         ^
/Documents/Arduino/libraries/FastLED/fastpin.h:188:9: error: 'port_t' does not name a type
  static port_t mask() __attribute__ ((always_inline)) { return sPinMask; }
         ^
/Documents/Arduino/libraries/FastLED/fastpin.h: In static member function 'static void FastPin<PIN>::_init()':
/Documents/Arduino/libraries/FastLED/fastpin.h:160:3: error: 'sPinMask' was not declared in this scope
   sPinMask = digitalPinToBitMask(PIN);
   ^
/Documents/Arduino/libraries/FastLED/fastpin.h:161:3: error: 'sPort' was not declared in this scope
   sPort = portOutputRegister(digitalPinToPort(PIN));
   ^
/Documents/Arduino/libraries/FastLED/fastpin.h:162:3: error: 'sInPort' was not declared in this scope
   sInPort = portInputRegister(digitalPinToPort(PIN));
   ^
/Documents/Arduino/libraries/FastLED/fastpin.h: In static member function 'static void FastPin<PIN>::hi()':
/Documents/Arduino/libraries/FastLED/fastpin.h:172:61: error: 'sPort' was not declared in this scope
  inline static void hi() __attribute__ ((always_inline)) { *sPort |= sPinMask; }
                                                             ^
/Documents/Arduino/libraries/FastLED/fastpin.h:172:70: error: 'sPinMask' was not declared in this scope
  inline static void hi() __attribute__ ((always_inline)) { *sPort |= sPinMask; }
                                                                      ^
/Documents/Arduino/libraries/FastLED/fastpin.h: In static member function 'static void FastPin<PIN>::lo()':
/Documents/Arduino/libraries/FastLED/fastpin.h:173:61: error: 'sPort' was not declared in this scope
  inline static void lo() __attribute__ ((always_inline)) { *sPort &= ~sPinMask; }
                                                             ^
/Documents/Arduino/libraries/FastLED/fastpin.h:173:71: error: 'sPinMask' was not declared in this scope
  inline static void lo() __attribute__ ((always_inline)) { *sPort &= ~sPinMask; }
                                                                       ^
/Documents/Arduino/libraries/FastLED/fastpin.h: In static member function 'static void FastPin<PIN>::toggle()':
/Documents/Arduino/libraries/FastLED/fastpin.h:177:65: error: 'sInPort' was not declared in this scope
  inline static void toggle() __attribute__ ((always_inline)) { *sInPort = sPinMask; }
                                                                 ^
/Documents/Arduino/libraries/FastLED/fastpin.h:177:75: error: 'sPinMask' was not declared in this scope
  inline static void toggle() __attribute__ ((always_inline)) { *sInPort = sPinMask; }
                                                                           ^
/Documents/Arduino/libraries/FastLED/fastpin.h: In static member function 'static void FastPin<PIN>::hi(int)':
/Documents/Arduino/libraries/FastLED/fastpin.h:179:85: error: invalid type argument of unary '*' (have 'int')
  inline static void hi(register port_ptr_t port) __attribute__ ((always_inline)) { *port |= sPinMask; }
                                                                                     ^
/Documents/Arduino/libraries/FastLED/fastpin.h:179:93: error: 'sPinMask' was not declared in this scope
  inline static void hi(register port_ptr_t port) __attribute__ ((always_inline)) { *port |= sPinMask; }
                                                                                             ^
/Documents/Arduino/libraries/FastLED/fastpin.h: In static member function 'static void FastPin<PIN>::lo(int)':
/Documents/Arduino/libraries/FastLED/fastpin.h:180:85: error: invalid type argument of unary '*' (have 'int')
  inline static void lo(register port_ptr_t port) __attribute__ ((always_inline)) { *port &= ~sPinMask; }
                                                                                     ^
/Documents/Arduino/libraries/FastLED/fastpin.h:180:94: error: 'sPinMask' was not declared in this scope
  inline static void lo(register port_ptr_t port) __attribute__ ((always_inline)) { *port &= ~sPinMask; }
                                                                                              ^
/Documents/Arduino/libraries/FastLED/fastpin.h: In static member function 'static void FastPin<PIN>::set(int)':
/Documents/Arduino/libraries/FastLED/fastpin.h:181:81: error: 'sPort' was not declared in this scope
  inline static void set(register port_t val) __attribute__ ((always_inline)) { *sPort = val; }
                                                                                 ^
/Documents/Arduino/libraries/FastLED/fastpin.h: In static member function 'static void FastPin<PIN>::fastset(int, int)':
/Documents/Arduino/libraries/FastLED/fastpin.h:183:111: error: invalid type argument of unary '*' (have 'int')
  inline static void fastset(register port_ptr_t port, register port_t val) __attribute__ ((always_inline)) { *port  = val; }
                                                                                                               ^
/Documents/Arduino/libraries/FastLED/fastpin.h: At global scope:
/Documents/Arduino/libraries/FastLED/fastpin.h:191:23: error: 'RwReg' does not name a type
 template<uint8_t PIN> RwReg FastPin<PIN>::sPinMask;
                       ^
/Documents/Arduino/libraries/FastLED/fastpin.h:192:32: error: 'RwReg' does not name a type
 template<uint8_t PIN> volatile RwReg *FastPin<PIN>::sPort;
                                ^
/Documents/Arduino/libraries/FastLED/fastpin.h:193:32: error: 'RoReg' does not name a type
 template<uint8_t PIN> volatile RoReg *FastPin<PIN>::sInPort;
                                ^
Blink.ino: In function 'void setup()':
Blink.ino:23:22: error: 'NEOPIXEL' was not declared in this scope
Blink.ino:23:56: error: no matching function for call to 'CFastLED::addLeds(CRGB [1], int)'
Blink.ino:23:56: note: candidates are:
In file included from Blink.ino:1:0:
/Documents/Arduino/libraries/FastLED/FastLED.h:172:129: note: template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, EOrder RGB_ORDER, unsigned char SPI_DATA_RATE> CLEDController& CFastLED::addLeds(CRGB*, int, int)
  template<ESPIChipsets CHIPSET,  uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER, uint8_t SPI_DATA_RATE > CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
                                                                                                                                 ^
/Documents/Arduino/libraries/FastLED/FastLED.h:172:129: note:   template argument deduction/substitution failed:
Blink.ino:23:56: error: template argument 1 is invalid
In file included from Blink.ino:1:0:
/Documents/Arduino/libraries/FastLED/FastLED.h:184:95: note: template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  template<ESPIChipsets CHIPSET,  uint8_t DATA_PIN, uint8_t CLOCK_PIN > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
                                                                                               ^
/Documents/Arduino/libraries/FastLED/FastLED.h:184:95: note:   template argument deduction/substitution failed:
Blink.ino:23:56: error: template argument 1 is invalid
In file included from Blink.ino:1:0:
/Documents/Arduino/libraries/FastLED/FastLED.h:196:113: note: template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  template<ESPIChipsets CHIPSET,  uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
                                                                                                                 ^
/Documents/Arduino/libraries/FastLED/FastLED.h:196:113: note:   template argument deduction/substitution failed:
Blink.ino:23:56: error: template argument 1 is invalid
In file included from Blink.ino:1:0:
/Documents/Arduino/libraries/FastLED/FastLED.h:292:25: note: template<template<EOrder RGB_ORDER> class CHIPSET, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
                         ^
/Documents/Arduino/libraries/FastLED/FastLED.h:292:25: note:   template argument deduction/substitution failed:
Blink.ino:23:56: error: template argument 1 is invalid
Blink.ino:23:56: error: invalid conversion from 'uint8_t {aka unsigned char}' to 'EOrder' [-fpermissive]
In file included from Blink.ino:1:0:
/Documents/Arduino/libraries/FastLED/FastLED.h:298:25: note: template<template<EOrder RGB_ORDER> class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
                         ^
/Documents/Arduino/libraries/FastLED/FastLED.h:298:25: note:   template argument deduction/substitution failed:
Blink.ino:23:56: error: wrong number of template arguments (2, should be 1)
'NEOPIXEL' was not declared in this scope

Activity

  1. focalintent commented on Aug 7, 2016

    @focalintent
    Contributor

    This line here:

     #error "XTENSA-architecture microcontrollers are not supported"
    

    Tells me that you still have an older version of the library- you have to download the most recent code at http://FastLED.io/code

  2. added a commit that references this issue on Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions