srwi / FastLEDHub

Control multiple FastLED lightstrip animations on the ESP8266 and ESP32 without reuploading.
GNU Lesser General Public License v2.1
53 stars 2 forks source link

error: 'gpio_matrix_out' was not declared in this scope #17

Closed huster-songtao closed 10 months ago

huster-songtao commented 10 months ago
#define FASTLED_INTERNAL                             //  Otherwise FastLED shows compile messages
#include <FastLEDHub.h>

#define NUM_LEDS 100
#define LED_TYPE WS2812B
#define LIGHTSTRIP_PIN 5

CRGB leds[NUM_LEDS];

void setup()
{
  FastLEDHub.initialize("Project Name");
  FastLEDHub.addLeds<LED_TYPE, LIGHTSTRIP_PIN, GRB>(leds, NUM_LEDS);
}

void loop()
{
  FastLEDHub.handle();
}

d:\Arduino\Sketchbook\libraries\FastLED\src\platforms\esp\32\clockless_rmt_esp32.cpp: In member function 'void ESP32RMTController::startOnChannel(int)': d:\Arduino\Sketchbook\libraries\FastLED\src\platforms\esp\32\clockless_rmt_esp32.cpp:266:29: error: 'RMTMEM' was not declared in this scope 266 | mRMT_mem_start = & (RMTMEM.chan[mRMT_channel].data32[0].val); | ^~ d:\Arduino\Sketchbook\libraries\FastLED\src\platforms\esp\32\clockless_rmt_esp32.cpp: In static member function 'static void ESP32RMTController::doneOnChannel(rmt_channel_t, void*)': d:\Arduino\Sketchbook\libraries\FastLED\src\platforms\esp\32\clockless_rmt_esp32.cpp:347:5: error: 'gpio_matrix_out' was not declared in this scope; did you mean 'gpio_iomux_out'? 347 | gpio_matrix_out(pController->mPin, 0x100, 0, 0); | ^~~~~~~ | gpio_iomux_out

exit status 1

Compilation error: exit status 1

20231109160247

srwi commented 10 months ago

Are you using version 3.0.0alpha2 of the Arduino for esp32? It looks like FastLED is affected by a bug: https://github.com/FastLED/FastLED/issues/1553

I would advise you to downgrade to an earlier version. I am using version 2.0.13 successfully:

grafik

huster-songtao commented 10 months ago

Are you using version 3.0.0alpha2 of the Arduino for esp32? It looks like FastLED is affected by a bug: FastLED/FastLED#1553

I would advise you to downgrade to an earlier version. I am using version 2.0.13 successfully:

grafik

Yes, I am using 3.0.0-alpha2 of the Arduino for esp32 by Espressif Systems.

20231113154600

I am using version 2.0.13 successfully. Thanks you very much. Welcome to ChongQing, China, I'll treat you to Chongqing hot pot.

SylvianHemus commented 9 months ago

I am not using 3.0.0-alpha, using ESP-IDF and have the same problem on the most recent