HI,
I'm trying to compile FastLED for the Teensy-LC board. I'm testing on a Mac OS X and also Ubuntu 16.04. With the latest version of FastLED from the arduino library manager (3.2.10), I get the following compiler errors when trying to compile the OctoWS2812 example file.
When I try compiling the blink example, I get the following compile errors:
With the Teensy 3.5, both examples compile just fine.
Any help would be appreciated
Thanks!
I'm trying to compile FastLED for the Teensy-LC board. I'm testing on a Mac OS X and also Ubuntu 16.04. With the latest version of FastLED from the arduino library manager (3.2.10), I get the following compiler errors when trying to compile the OctoWS2812 example file.
Code:
/home/henryt/Arduino/libraries/FastLED/platforms/arm/kl26/../common/m0clockless.h: In function 'int showLedData(volatile uint32_t*, uint32_t, const uint8_t*, uint32_t, M0ClocklessData*)':
/home/henryt/Arduino/libraries/FastLED/platforms/arm/kl26/../common/m0clockless.h:316:40: error: 'SysTick' was not declared in this scope
uint32_t ticksBeforeInterrupts = SysTick->VAL;
^
/home/henryt/Arduino/libraries/FastLED/platforms/arm/kl26/../common/m0clockless.h:326:36: error: 'VARIANT_MCK' was not declared in this scope
const uint32_t kTicksPerMs = VARIANT_MCK / 1000;
^
In file included from /home/henryt/Arduino/libraries/FastLED/examples/Multiple/OctoWS2811Demo/OctoWS2811Demo.ino:3:0:
/home/henryt/Arduino/libraries/FastLED/FastLED.h: In static member function 'static CLEDController& CFastLED::addLeds(CRGB*, int, int)':
/home/henryt/Arduino/libraries/FastLED/FastLED.h:365:30: error: 'COctoWS2811Controller' does not name a type
case OCTOWS2811: { static COctoWS2811Controller<RGB_ORDER,WS2811_800kHz> controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
^
/home/henryt/Arduino/libraries/FastLED/FastLED.h:365:105: error: 'controller' was not declared in this scope
case OCTOWS2811: { static COctoWS2811Controller<RGB_ORDER,WS2811_800kHz> controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
^
/home/henryt/Arduino/libraries/FastLED/FastLED.h:366:34: error: 'COctoWS2811Controller' does not name a type
case OCTOWS2811_400: { static COctoWS2811Controller<RGB_ORDER,WS2811_400kHz> controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
^
/home/henryt/Arduino/libraries/FastLED/FastLED.h:366:109: error: 'controller' was not declared in this scope
case OCTOWS2811_400: { static COctoWS2811Controller<RGB_ORDER,WS2811_400kHz> controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
^
/home/henryt/Arduino/libraries/FastLED/FastLED.h:368:33: error: 'COctoWS2811Controller' does not name a type
case OCTOWS2813: { static COctoWS2811Controller<RGB_ORDER,WS2813_800kHz> controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
^
/home/henryt/Arduino/libraries/FastLED/FastLED.h:368:108: error: 'controller' was not declared in this scope
case OCTOWS2813: { static COctoWS2811Controller<RGB_ORDER,WS2813_800kHz> controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }
^
Multiple libraries were found for "FastLED.h"
Used: /home/henryt/Arduino/libraries/FastLED
Not used: /home/henryt/arduino-1.8.9/hardware/teensy/avr/libraries/FastLED
Error compiling for board Teensy LC.
When I try compiling the blink example, I get the following compile errors:
Code:
In file included from /home/henryt/Arduino/libraries/FastLED/examples/Blink/Blink.ino:1:0:
/home/henryt/Arduino/libraries/FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.002.010
# pragma message "FastLED version 3.002.010"
^
In file included from /home/henryt/Arduino/libraries/FastLED/platforms/arm/kl26/clockless_arm_kl26.h:4:0,
from /home/henryt/Arduino/libraries/FastLED/platforms/arm/kl26/fastled_arm_kl26.h:7,
from /home/henryt/Arduino/libraries/FastLED/platforms.h:20,
from /home/henryt/Arduino/libraries/FastLED/FastLED.h:52,
from /home/henryt/Arduino/libraries/FastLED/examples/Blink/Blink.ino:1:
/home/henryt/Arduino/libraries/FastLED/platforms/arm/kl26/../common/m0clockless.h: In function 'int showLedData(volatile uint32_t*, uint32_t, const uint8_t*, uint32_t, M0ClocklessData*)':
/home/henryt/Arduino/libraries/FastLED/platforms/arm/kl26/../common/m0clockless.h:316:40: error: 'SysTick' was not declared in this scope
uint32_t ticksBeforeInterrupts = SysTick->VAL;
^
/home/henryt/Arduino/libraries/FastLED/platforms/arm/kl26/../common/m0clockless.h:326:36: error: 'VARIANT_MCK' was not declared in this scope
const uint32_t kTicksPerMs = VARIANT_MCK / 1000;
^
Multiple libraries were found for "FastLED.h"
Used: /home/henryt/Arduino/libraries/FastLED
Not used: /home/henryt/arduino-1.8.9/hardware/teensy/avr/libraries/FastLED
Error compiling for board Teensy LC.
With the Teensy 3.5, both examples compile just fine.
Any help would be appreciated
Thanks!