New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant compile fastled for esp32 #690

Open
plankatron opened this Issue Dec 5, 2018 · 5 comments

Comments

Projects
None yet
4 participants
@plankatron

plankatron commented Dec 5, 2018

In file included from /home/fleeky/cthuloid/esp32/32wifi12frakfled/32wifi12frakfled.ino:7:0:
/home/fleeky/Arduino/libraries/FastLED/FastLED.h:17:21: note: #pragma message: FastLED version 3.001.008
 #    pragma message "FastLED version 3.001.008"
                     ^
In file included from /home/fleeky/Arduino/libraries/FastLED/FastLED.h:68:0,
                 from /home/fleeky/cthuloid/esp32/32wifi12frakfled/32wifi12frakfled.ino:7:
/home/fleeky/Arduino/libraries/FastLED/fastspi.h:110:23: note: #pragma message: No hardware SPI pins defined.  All SPI access will default to bitbanged output
 #      pragma message "No hardware SPI pins defined.  All SPI access will default to bitbanged output"
                       ^
In file included from /home/fleeky/cthuloid/esp32/32wifi12frakfled/32wifi12frakfled.ino:9:0:
/home/fleeky/arduino-1.8.5/libraries/PrintLevel/PrintLevel.h:8:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     char *gStrings[] = {"silent", "error", "ack", "info"};
                                                         ^
/home/fleeky/arduino-1.8.5/libraries/PrintLevel/PrintLevel.h:8:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
/home/fleeky/arduino-1.8.5/libraries/PrintLevel/PrintLevel.h:8:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
/home/fleeky/arduino-1.8.5/libraries/PrintLevel/PrintLevel.h:8:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from /home/fleeky/Arduino/libraries/FastLED/platforms/esp/32/fastled_esp32.h:4:0,
                 from /home/fleeky/Arduino/libraries/FastLED/platforms.h:29,
                 from /home/fleeky/Arduino/libraries/FastLED/FastLED.h:55,
                 from /home/fleeky/cthuloid/esp32/32wifi12frakfled/32wifi12frakfled.ino:7:
/home/fleeky/Arduino/libraries/FastLED/platforms/esp/32/clockless_esp32.h: In instantiation of 'void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::startOnChannel(int) [with int DATA_PIN = 27; int T1 = 60; int T2 = 150; int T3 = 90; EOrder RGB_ORDER = (EOrder)66u; int XTRA0 = 0; bool FLIP = false; int WAIT_TIME = 5]':
/home/fleeky/Arduino/libraries/FastLED/platforms/esp/32/clockless_esp32.h:410:13:   required from 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::startNext(int) [with int DATA_PIN = 27; int T1 = 60; int T2 = 150; int T3 = 90; EOrder RGB_ORDER = (EOrder)66u; int XTRA0 = 0; bool FLIP = false; int WAIT_TIME = 5]'
/home/fleeky/Arduino/libraries/FastLED/platforms/esp/32/clockless_esp32.h:314:26:   required from 'void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::showPixels(PixelController<RGB_ORDER>&) [with int DATA_PIN = 27; int T1 = 60; int T2 = 150; int T3 = 90; EOrder RGB_ORDER = (EOrder)66u; int XTRA0 = 0; bool FLIP = false; int WAIT_TIME = 5]'
/home/fleeky/cthuloid/esp32/32wifi12frakfled/32wifi12frakfled.ino:153:1:   required from here
/home/fleeky/Arduino/libraries/FastLED/platforms/esp/32/clockless_esp32.h:432:41: error: 'rmt_register_tx_end_callback' was not declared in this scope
             rmt_register_tx_end_callback(doneOnChannel, 0);
                                         ^
Multiple libraries were found for "WiFi.h"
 Used: /home/fleeky/Arduino/hardware/espressif/esp32/libraries/WiFi
 Not used: /home/fleeky/arduino-1.8.5/libraries/WiFi
exit status 1
Error compiling for board ESP32 Dev Module.
@focalintent

This comment has been minimized.

Member

focalintent commented Dec 5, 2018

@samguyer - any thoughts on what’s missing here?

@samguyer

This comment has been minimized.

Contributor

samguyer commented Dec 6, 2018

Honestly, I'm not going to be able to look at this issue right now, but I should have more time in the next week or so.

@KPhillipps

This comment has been minimized.

KPhillipps commented Dec 18, 2018

Any news on this issue, I'm hitting the same thing on an ESP32 Feather.

@KPhillipps

This comment has been minimized.

KPhillipps commented Dec 18, 2018

I tried to narrow down the issue. including the library does not result in the error but calling addLeds does. here is the full program:

#include <FastLED.h>
CRGB leds[1];
#define DATA_PIN 3
#define NUM_LEDS 1

void setup() {
FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, 1);
}

void loop() {
}

here is the full error

image

@focalintent

This comment has been minimized.

Member

focalintent commented Dec 18, 2018

What’s weird is I have been building for/using esp32’s all week and haven’t seen this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment