You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any update on this? Since I need the ADC continuous mode driver, I cannot revert back to a previous version of arduino-esp32.
I only use CHSV and fill_solid functions. Could I make adjustments to my local library copy to temporarily fix it?
@samguyer, I have got the same issue running on Blink example using a Lolin S2 Mini (ESP32-S2) with Arduino IDE. Both IDE and Fastled updated. The error:
h:\My Drive\Producoes\Arduino\libraries\FastLED\src/platforms/esp/32/fastspi_esp32.h:2:17: note: '#pragma message: ESP32 Hardware SPI support added'
2 | #pragma message "ESP32 Hardware SPI support added"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
h:\My Drive\Producoes\Arduino\libraries\FastLED\src\noise.cpp: In function 'void fill_raw_2dnoise8(uint8_t*, int, int, uint8_t, q44, fract8, int, uint16_t, int, uint16_t, int, uint16_t)':
h:\My Drive\Producoes\Arduino\libraries\FastLED\src\noise.cpp:623:86: error: invalid cast from type 'q44' {aka 'q<unsigned char, 4, 4>'} to type 'int'
623 | fill_raw_2dnoise8(pData, width, height, octaves-1, freq44, amplitude, skip+1, x* (int)freq44, freq44 * scalex, y*(int)freq44, freq44 * scaley, time);
| ^~~~~~~~~~~
h:\My Drive\Producoes\Arduino\libraries\FastLED\src\noise.cpp:623:106: error: ambiguous overload for 'operator*' (operand types are 'q44' {aka 'q<unsigned char, 4, 4>'} and 'int')
623 | fill_raw_2dnoise8(pData, width, height, octaves-1, freq44, amplitude, skip+1, x* (int)freq44, freq44 * scalex, y*(int)freq44, freq44 * scaley, time);
| ~~~~~~ ^ ~~~~~~
| | |
| | int
| q44 {aka q<unsigned char, 4, 4>}
.pio/libdeps/lilygo-t-display-s3/FastLED/src/noise.cpp:628:100: error: ambiguous overload for 'operator*' (operand types are 'q44' {aka 'q<unsigned char, 4, 4>'} and 'int')
.pio/libdeps/lilygo-t-display-s3/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:266:29: error: 'RMTMEM' was not declared in this scope
.pio/libdeps/lilygo-t-display-s3/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:307:32: error: 'volatile union rmt_chnconf0_reg_t' has no member named 'mem_rd_rst_n'
Is there any news on this? Meanwhile Arduino 3.0 RC1 has been released and the final release should be out in a few weeks.
Unfortunately, FastLED cannot be compiled for the new version.
Thank you very much!
Hello all. There are two different problems here. The original one has to do with variables names (and I THINK is fixed in the current main branch). The second one is a problem with the new ESP-IDF library, which is not backwards compatible. It's a bigger job to fix, but I'm working on it!
With latest commit + #1619 FastLED compiles and works on Arduino 3-RC1, tested with PlatformIO. I use a 24 NeoPixel with different color animation, everything is fine!
Activity
samguyer commentedon Nov 5, 2023
Sounds more like a compiler problem. What are you using to build the code? And what version?
samguyer commentedon Nov 6, 2023
Following up: I think we know what the issue is, and we'll work on a fix. Thanks!
munkerench commentedon Nov 6, 2023
Great!
bas2807 commentedon Jan 3, 2024
Any update on this? Since I need the ADC continuous mode driver, I cannot revert back to a previous version of arduino-esp32.
I only use CHSV and fill_solid functions. Could I make adjustments to my local library copy to temporarily fix it?
Many thanks for your great contibutions!
kidreck commentedon Jan 10, 2024
Also on ESP32 Alpha3 and it does seem there is an issue with the compatibility/types of the operands
berkin88 commentedon Feb 1, 2024
Any update on this?
samguyer commentedon Feb 1, 2024
@berkin88 Have you tried using the current head of the repo?
ricardok-sp commentedon Feb 17, 2024
@samguyer, I have got the same issue running on Blink example using a Lolin S2 Mini (ESP32-S2) with Arduino IDE. Both IDE and Fastled updated. The error:
LeCyberDucky commentedon Mar 3, 2024
Simply adding master to my PlatformIO project makes it fail to build.
I'm using:
I run into errors such as these:
.pio/libdeps/lilygo-t-display-s3/FastLED/src/noise.cpp:628:100: error: ambiguous overload for 'operator*' (operand types are 'q44' {aka 'q<unsigned char, 4, 4>'} and 'int').pio/libdeps/lilygo-t-display-s3/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:266:29: error: 'RMTMEM' was not declared in this scope.pio/libdeps/lilygo-t-display-s3/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:307:32: error: 'volatile union rmt_chnconf0_reg_t' has no member named 'mem_rd_rst_n'Is there any workaround for this at this point?
planevina commentedon Mar 26, 2024
I have the same problem
tueddy commentedon Apr 26, 2024
Is there any news on this? Meanwhile Arduino 3.0 RC1 has been released and the final release should be out in a few weeks.
Unfortunately, FastLED cannot be compiled for the new version.
Thank you very much!
samguyer commentedon Apr 26, 2024
Hello all. There are two different problems here. The original one has to do with variables names (and I THINK is fixed in the current main branch). The second one is a problem with the new ESP-IDF library, which is not backwards compatible. It's a bigger job to fix, but I'm working on it!
tueddy commentedon May 4, 2024
With latest commit + #1619 FastLED compiles and works on Arduino 3-RC1, tested with PlatformIO. I use a 24 NeoPixel with different color animation, everything is fine!