Skip to content

esp8266 #error "XTENSA-architecture microcontrollers are not supported" #335

Closed

Description

@raymusmunt

I'm using Arduino 1.6.9 w/ ESP8266 2.3.0 and I'm having problems getting the blink sketch to work. Currently testing on Generic ESP8266 and Node MCU 1.0.

code:

#define FASTLED_ESP8266_RAW_PIN_ORDER
#include "FastLED.h"
#define NUM_LEDS 1
#define DATA_PIN 5
// Define the array of leds
CRGB leds[NUM_LEDS];
void setup() { 
      FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
}
void loop() { 
  // Turn the LED on, then pause
  leds[0] = CRGB::Red;
  FastLED.show();
  delay(500);
  // Now turn the LED off, then pause
  leds[0] = CRGB::Black;
  FastLED.show();
  delay(500);
}

error:

In file included from /Documents/Arduino/libraries/FastLED/FastLED.h:34:0,
                 from /var/folders/_m/cd57zxy15lx9y5wjwc9_9pyr0000gn/T/arduino_modified_sketch_894595/Blink.ino:2:
/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 /var/folders/_m/cd57zxy15lx9y5wjwc9_9pyr0000gn/T/arduino_modified_sketch_894595/Blink.ino:2:
/Documents/Arduino/libraries/FastLED/platforms.h:22:2: error: #error "XTENSA-architecture microcontrollers are not supported"
 #error "XTENSA-architecture microcontrollers are not supported"
  ^
exit status 1
Error compiling for board Generic ESP8266 Module.

Any ideas on how to get it working?
Thanks!

Activity

  1. focalintent commented on Aug 7, 2016

    @focalintent
    Contributor

    You need to grab the latest code from github - you are using an old version of the library

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