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
Attempting to get FastLED working on an ESP32-C3 while also using WiFi.
The include part of the code is:
#include <WiFi.h>
#include <WiFiClient.h>
#include <WiFiAP.h>
#include <Esp.h> // to get the ESP-IDF SDK version
#define FASTLED_ESP32_I2S true
#include <FastLED.h> // for driving the external matrix display
When verifying, about 100 errors are generated - please see the attached file.
The sketch compiles OK when selecting ESP32 Dev board as the target.
The code compiles OK as well if the #define FASTLED_ESP32_I2S true line is removed, but with WiFi running on the C3 target, the display shows random junk. Display is OK if WiFi is off.
Guess the bottom line is, is ESP32-C3 I2S driver support planned?
Many thanks.
Development Environment:
macOS 12.16.1
Arduino IDE v1.8.19
arduino-esp32 core v2.0.5
FastLED library v3.50
Target board: seeedstudio XIAO ESP32C3
(but note the errors occur by picking any ESP32-C3 board from the Arduino IDE Boards menu.)
Hi Sam: Yes, the non-I2S version seems to work. Though on the C3, FastLED is unusable (for unlocked LED’s like the WS2812B) when the WiFi system is running. From what I’m starting to understand, the WiFi system generates a gob of interrupts that whack out the data clocking for the LED’s.
On Nov 25, 2022, at 1:47 PM, Sam Guyer ***@***.***> wrote:
Hello! Thanks for the report. Does the default (non-I2S) driver compile and work with the ESP32 C3?
—
Reply to this email directly, view it on GitHub <#1446 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ATMBFQOJIIB4ZKZHT3TME5TWKEQUVANCNFSM6AAAAAASCQ2KDU>.
You are receiving this because you authored the thread.
@Xylopyrographer OK. Yeah, it's a real challenge on a single-core microcontroller. Did you try reducing the number of RMT channels? You can add the following before you include FastLED.h:
#define FASTLED_RMT_MAX_CHANNELS 1
What this does is tell FastLED to use a single RMT channel, which allows it to use more of the RMT memory, but at the expense of parallelism. If you are only using one output pin, it shouldn't affect you at all. The benefit is that the RMT can run longer before needing to trigger an interrupt (to refill the buffer), making it less likely that other stuff will perturb the timing.
There isn't a great reference for all of the many #define options. I should try to put something like that together. A lot of the information can be found in the code (there are pretty good comments explaining everything), but who wants to look at code?!?! ;-)
@Xylopyrographer You can definitely try any/all of those options and see what happens. My intuition is that it won't change the situation substantially. I think our best bet is to try to get the I2S version running on the C3. I didn't write that code, but I did work with the original author on it, so I might be able to get by.
Just FYI: The deal with the RMT channels is really the memory. There is a fixed amount of RMT buffer memory, which is shared among the channels. The more channels you use, the more parallelism you get (if you need it), but the less memory each channel gets. With less memory, the RMT needs to interrupt the main CPU more often to get a buffer refill. With Wifi turned on, that seems to cause a much higher probability that interrupts will collide and the timing will get messed up.
The built-in RMT driver is not substantially different (I've looked at the ESP-IDF code for it). The reason we offer that option is that it allows people to use the IR remote control library in combination with FastLED.
@Xylopyrographer OK. Yeah, it's a real challenge on a single-core microcontroller. Did you try reducing the number of RMT channels? You can add the following before you include FastLED.h:
#define FASTLED_RMT_MAX_CHANNELS 1
What this does is tell FastLED to use a single RMT channel, which allows it to use more of the RMT memory, but at the expense of parallelism. If you are only using one output pin, it shouldn't affect you at all. The benefit is that the RMT can run longer before needing to trigger an interrupt (to refill the buffer), making it less likely that other stuff will perturb the timing.
/*********************************************************
* Glowing Pumpkin
*
* Xaio ESP32 S3 version using the Adafruit 5x5 BFF LED
* Matrix.
*
* By John M. Wargo
* https://johnwargo.com
**********************************************************/
// #define FASTLED_INTERNAL //remove annoying pragma messages
// #define SEEED_XIAO_M0
// #define FASTLED_RMT_BUILTIN_DRIVER
#define FASTLED_ESP32_I2S true
#define FASTLED_RMT_MAX_CHANNELS 1
#include <FastLED.h>
#define DEBUG true
#define DELAY_MIN 5000
#define DELAY_MAX 10000
#define NUM_LEDS 64
#define PIN D10
int numColors = 6;
uint32_t colors[] = { CRGB::Blue, CRGB::Green, CRGB::Orange, CRGB::Purple, CRGB::Red, CRGB::Yellow };
CRGB leds[NUM_LEDS]; // LED Array (internal memory structure from FastLED)
void setup() {
// Initialize the FastLED library
FastLED.addLeds<NEOPIXEL, PIN>(leds, NUM_LEDS);
delay(500);
}
void loop() {
// Otherwise switch to the new color
fadeColor(colors[(int)random(1, numColors + 1)]);
delay(100);
}
// Fill the NeoPixel array with a specific color
void fadeColor(CRGB c) {
for (int i = 0; i < 25; i++) {
leds[i] = c;
FastLED.show();
delay(10);
}
}
Erros:
In file included from d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/fastled_esp32.h:10,
from d:\Arduino\Sketchbook\libraries\FastLED\src/platforms.h:42,
from d:\Arduino\Sketchbook\libraries\FastLED\src/FastLED.h:62,
from D:\Projects\LED\FastLed_glowing-pumpkin-xiao-bff\FastLed_glowing-pumpkin-xiao-bff.ino:16:
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:90:17: note: '#pragma message: NOTE: ESP32 support using I2S parallel driver. All strips must use the same chipset'
90 | #pragma message "NOTE: ESP32 support using I2S parallel driver. All strips must use the same chipset"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/assist_debug_reg.h:21,
from C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/riscv/include/riscv/rv_utils.h:12,
from C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/esp_hw_support/include/esp_cpu.h:18,
from C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/esp_hw_support/include/spinlock.h:11,
from C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos/portmacro.h:45,
from C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/freertos/FreeRTOS-Kernel/include/freertos/portable.h:59,
from C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/freertos/FreeRTOS-Kernel/include/freertos/FreeRTOS.h:71,
from C:\Users\tao\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0-alpha2\cores\esp32/Arduino.h:33,
from C:\Users\tao\AppData\Local\Temp\arduino\sketches\4C965151292C97F983DA1FD57299337B\sketch\FastLed_glowing-pumpkin-xiao-bff.ino.cpp:1:
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h: In member function 'void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::init()':
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:234:25: error: 'GPIO_PIN_MUX_REG' was not declared in this scope; did you mean 'GPIO_PIN13_REG'?
234 | PIN_FUNC_SELECT(GPIO_PIN_MUX_REG[DATA_PIN], PIN_FUNC_GPIO);
| ^~~~~~~~~~~~~~~~
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/soc.h:36:37: note: in definition of macro 'REG_WRITE'
36 | (*(volatile uint32_t )(_r)) = (_v);
| ^~
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/io_mux_reg.h:92:45: note: in expansion of macro 'REG_SET_FIELD'
92 | #define PIN_FUNC_SELECT(PIN_NAME, FUNC) REG_SET_FIELD(PIN_NAME, MCU_SEL, FUNC)
| ^~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:234:9: note: in expansion of macro 'PIN_FUNC_SELECT'
234 | PIN_FUNC_SELECT(GPIO_PIN_MUX_REG[DATA_PIN], PIN_FUNC_GPIO);
| ^~~~~~~~~~~~~~~
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/soc.h:71:43: error: invalid operands of types 'void' and 'int' to binary 'operator&'
71 | REG_WRITE((_r),((REG_READ(_r) & ~((_f##_V) << (_f##_S)))|(((_v) & (_f##_V))<<(_f##_S))));
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/soc.h:36:45: note: in definition of macro 'REG_WRITE'
36 | ((volatile uint32_t )(_r)) = (_v);
| ^~
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/io_mux_reg.h:92:45: note: in expansion of macro 'REG_SET_FIELD'
92 | #define PIN_FUNC_SELECT(PIN_NAME, FUNC) REG_SET_FIELD(PIN_NAME, MCU_SEL, FUNC)
| ^~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:234:9: note: in expansion of macro 'PIN_FUNC_SELECT'
234 | PIN_FUNC_SELECT(GPIO_PIN_MUX_REG[DATA_PIN], PIN_FUNC_GPIO);
| ^~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:237:9: error: there are no arguments to 'gpio_matrix_out' that depend on a template parameter, so a declaration of 'gpio_matrix_out' must be available [-fpermissive]
237 | gpio_matrix_out(mPin, i2s_base_pin_index + my_index, false, false);
| ^~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:237:9: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::i2sInit()':
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:454:34: error: 'PERIPH_I2S0_MODULE' was not declared in this scope; did you mean 'PERIPH_I2S1_MODULE'?
454 | periph_module_enable(PERIPH_I2S0_MODULE);
| ^~~~~~~~~~~~~~~~~~
| PERIPH_I2S1_MODULE
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:455:31: error: 'ETS_I2S0_INTR_SOURCE' was not declared in this scope; did you mean 'ETS_I2S1_INTR_SOURCE'?
455 | interruptSource = ETS_I2S0_INTR_SOURCE;
| ^~~~~~~~~~~~~~~~~~~~
| ETS_I2S1_INTR_SOURCE
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:456:34: error: 'I2S0O_DATA_OUT0_IDX' was not declared in this scope; did you mean 'I2SO_SD_OUT_IDX'?
456 | i2s_base_pin_index = I2S0O_DATA_OUT0_IDX;
| ^~~~~~~~~~~~~~~~~~~
| I2SO_SD_OUT_IDX
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:458:20: error: 'I2S1' was not declared in this scope; did you mean 'I2S0'?
458 | i2s = &I2S1;
| ^~~~
| I2S0
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:461:34: error: 'I2S1O_DATA_OUT0_IDX' was not declared in this scope; did you mean 'I2SO_SD_OUT_IDX'?
461 | i2s_base_pin_index = I2S1O_DATA_OUT0_IDX;
| ^~~~~~~~~~~~~~~~~~~
| I2SO_SD_OUT_IDX
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:470:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
470 | i2s->conf.tx_msb_right = 1;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:471:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
471 | i2s->conf.tx_mono = 0;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:472:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
472 | i2s->conf.tx_short_sync = 0;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:473:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
473 | i2s->conf.tx_msb_shift = 0;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:474:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
474 | i2s->conf.tx_right_first = 1; // 0;//1;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:475:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
475 | i2s->conf.tx_slave_mod = 0;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:478:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf2'
478 | i2s->conf2.val = 0;
| ^~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:479:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf2'
479 | i2s->conf2.lcd_en = 1;
| ^~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:480:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf2'
480 | i2s->conf2.lcd_tx_wrx2_en = 0; // 0 for 16 or 32 parallel output
| ^~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:481:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf2'
481 | i2s->conf2.lcd_tx_sdx2_en = 0; // HN
| ^~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:484:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'sample_rate_conf'
484 | i2s->sample_rate_conf.val = 0;
| ^~~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:485:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'sample_rate_conf'
485 | i2s->sample_rate_conf.tx_bits_mod = 32; // Number of parallel bits/pins
| ^~~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:486:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'sample_rate_conf'
486 | i2s->sample_rate_conf.tx_bck_div_num = 1;
| ^~~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:487:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'clkm_conf'; did you mean 'rx_clkm_conf'?
487 | i2s->clkm_conf.val = 0;
| ^~~~~~~~~
| rx_clkm_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:488:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'clkm_conf'; did you mean 'rx_clkm_conf'?
488 | i2s->clkm_conf.clka_en = 0;
| ^~~~~~~~~
| rx_clkm_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:493:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'clkm_conf'; did you mean 'rx_clkm_conf'?
493 | i2s->clkm_conf.clkm_div_a = CLOCK_DIVIDER_A;
| ^~~~~~~~~
| rx_clkm_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:494:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'clkm_conf'; did you mean 'rx_clkm_conf'?
494 | i2s->clkm_conf.clkm_div_b = CLOCK_DIVIDER_B;
| ^~~~~~~~~
| rx_clkm_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:495:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'clkm_conf'; did you mean 'rx_clkm_conf'?
495 | i2s->clkm_conf.clkm_div_num = CLOCK_DIVIDER_N;
| ^~~~~~~~~
| rx_clkm_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:497:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'fifo_conf'
497 | i2s->fifo_conf.val = 0;
| ^~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:498:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'fifo_conf'
498 | i2s->fifo_conf.tx_fifo_mod_force_en = 1;
| ^~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:499:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'fifo_conf'
499 | i2s->fifo_conf.tx_fifo_mod = 3; // 32-bit single channel data
| ^~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:500:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'fifo_conf'
500 | i2s->fifo_conf.tx_data_num = 32; // fifo length
| ^~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:501:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'fifo_conf'
501 | i2s->fifo_conf.dscr_en = 1; // fifo will use dma
| ^~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:503:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf1'; did you mean 'rx_conf1'?
503 | i2s->conf1.val = 0;
| ^~~~~
| rx_conf1
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:504:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf1'; did you mean 'rx_conf1'?
504 | i2s->conf1.tx_stop_en = 0;
| ^~~~~
| rx_conf1
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:505:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf1'; did you mean 'rx_conf1'?
505 | i2s->conf1.tx_pcm_bypass = 1;
| ^~~~~
| rx_conf1
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:507:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf_chan'
507 | i2s->conf_chan.val = 0;
| ^~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:508:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf_chan'
508 | i2s->conf_chan.tx_chan_mod = 1; // Mono mode, with tx_msb_right = 1, everything goes to right-channel
| ^~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:510:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'timing'; did you mean 'rx_timing'?
510 | i2s->timing.val = 0;
| ^~~~~~
| rx_timing
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/soc.h:23:50: error: 'DR_REG_I2S_BASE' was not declared in this scope; did you mean 'DR_REG_I2S0_BASE'?
23 | #define REG_I2S_BASE(i) (DR_REG_I2S_BASE + (i) * 0x1E000)
| ^~~~~~~~~~~~~~~
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/soc.h:29:34: note: in definition of macro 'ETS_UNCACHED_ADDR'
29 | #define ETS_UNCACHED_ADDR(addr) (addr)
| ^~~~
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/soc.h:124:13: note: in expansion of macro 'WRITE_PERI_REG'
124 | WRITE_PERI_REG((reg),(READ_PERI_REG(reg)&(~((bit_map)<<(shift))))|(((value) & (bit_map))<<(shift)) );
| ^~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:521:9: note: in expansion of macro 'SET_PERI_REG_BITS'
521 | SET_PERI_REG_BITS(I2S_INT_ENA_REG(I2S_DEVICE), I2S_OUT_EOF_INT_ENA_V, 1, I2S_OUT_EOF_INT_ENA_S);
| ^~~~~~~~~~~~~~~~~
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/i2s_reg.h:66:38: note: in expansion of macro 'REG_I2S_BASE'
66 | #define I2S_INT_ENA_REG(i) (REG_I2S_BASE(i) + 0x0014)
| ^~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:521:27: note: in expansion of macro 'I2S_INT_ENA_REG'
521 | SET_PERI_REG_BITS(I2S_INT_ENA_REG(I2S_DEVICE), I2S_OUT_EOF_INT_ENA_V, 1, I2S_OUT_EOF_INT_ENA_S);
| ^~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:521:56: error: 'I2S_OUT_EOF_INT_ENA_V' was not declared in this scope; did you mean 'I2S_TX_DONE_INT_ENA_V'?
521 | SET_PERI_REG_BITS(I2S_INT_ENA_REG(I2S_DEVICE), I2S_OUT_EOF_INT_ENA_V, 1, I2S_OUT_EOF_INT_ENA_S);
| ^~~~~~~~~~~~~~~~~~~~~
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/soc.h:99:76: note: in definition of macro 'WRITE_PERI_REG'
99 | (((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val);
| ^~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:521:9: note: in expansion of macro 'SET_PERI_REG_BITS'
521 | SET_PERI_REG_BITS(I2S_INT_ENA_REG(I2S_DEVICE), I2S_OUT_EOF_INT_ENA_V, 1, I2S_OUT_EOF_INT_ENA_S);
| ^~~~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:521:82: error: 'I2S_OUT_EOF_INT_ENA_S' was not declared in this scope; did you mean 'I2S_RX_DONE_INT_ENA_S'?
521 | SET_PERI_REG_BITS(I2S_INT_ENA_REG(I2S_DEVICE), I2S_OUT_EOF_INT_ENA_V, 1, I2S_OUT_EOF_INT_ENA_S);
| ^~~~~~~~~~~~~~~~~~~~~
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/soc.h:99:76: note: in definition of macro 'WRITE_PERI_REG'
99 | (((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val);
| ^~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:521:9: note: in expansion of macro 'SET_PERI_REG_BITS'
521 | SET_PERI_REG_BITS(I2S_INT_ENA_REG(I2S_DEVICE), I2S_OUT_EOF_INT_ENA_V, 1, I2S_OUT_EOF_INT_ENA_S);
| ^~~~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::interruptHandler(void)':
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:609:25: error: 'volatile union i2s_dev_s::' has no member named 'out_eof'
609 | if (i2s->int_st.out_eof) {
| ^~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::i2sStart()':
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:729:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'?
729 | i2s->lc_conf.val=I2S_OUT_DATA_BURST_EN | I2S_OUTDSCR_BURST_EN | I2S_OUT_DATA_BURST_EN;
| ^~~~~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:729:26: error: 'I2S_OUT_DATA_BURST_EN' was not declared in this scope
729 | i2s->lc_conf.val=I2S_OUT_DATA_BURST_EN | I2S_OUTDSCR_BURST_EN | I2S_OUT_DATA_BURST_EN;
| ^~~~~~~~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:729:50: error: 'I2S_OUTDSCR_BURST_EN' was not declared in this scope
729 | i2s->lc_conf.val=I2S_OUT_DATA_BURST_EN | I2S_OUTDSCR_BURST_EN | I2S_OUT_DATA_BURST_EN;
| ^~~~~~~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:730:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'out_link'
730 | i2s->out_link.addr = (uint32_t) & (dmaBuffers[0]->descriptor);
| ^~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:731:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'out_link'
731 | i2s->out_link.start = 1;
| ^~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:735:22: error: 'volatile union i2s_dev_s::' has no member named 'out_dscr_err'
735 | i2s->int_ena.out_dscr_err = 1;
| ^~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:741:22: error: 'volatile union i2s_dev_s::' has no member named 'out_eof'
741 | i2s->int_ena.out_eof = 1;
| ^~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:744:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
744 | i2s->conf.tx_start = 1;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::i2sReset()':
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:750:51: error: 'I2S_IN_RST_M' was not declared in this scope; did you mean 'I2S_RX_RESET_M'?
750 | const unsigned long lc_conf_reset_flags = I2S_IN_RST_M | I2S_OUT_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M;
| ^~~~~~~~~~~~
| I2S_RX_RESET_M
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:750:66: error: 'I2S_OUT_RST_M' was not declared in this scope
750 | const unsigned long lc_conf_reset_flags = I2S_IN_RST_M | I2S_OUT_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M;
| ^~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:750:82: error: 'I2S_AHBM_RST_M' was not declared in this scope
750 | const unsigned long lc_conf_reset_flags = I2S_IN_RST_M | I2S_OUT_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M;
| ^~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:750:99: error: 'I2S_AHBM_FIFO_RST_M' was not declared in this scope; did you mean 'I2S_TX_FIFO_RESET_M'?
750 | const unsigned long lc_conf_reset_flags = I2S_IN_RST_M | I2S_OUT_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M;
| ^~~~~~~~~~~~~~~~~~~
| I2S_TX_FIFO_RESET_M
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:751:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'?
751 | i2s->lc_conf.val |= lc_conf_reset_flags;
| ^~~~~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:752:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'?
752 | i2s->lc_conf.val &= ~lc_conf_reset_flags;
| ^~~~~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:755:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
755 | i2s->conf.val |= conf_reset_flags;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:756:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
756 | i2s->conf.val &= ~conf_reset_flags;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::i2sReset_DMA()':
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:761:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'?
761 | i2s->lc_conf.in_rst=1; i2s->lc_conf.in_rst=0;
| ^~~~~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:761:37: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'?
761 | i2s->lc_conf.in_rst=1; i2s->lc_conf.in_rst=0;
| ^~~~~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:762:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'?
762 | i2s->lc_conf.out_rst=1; i2s->lc_conf.out_rst=0;
| ^~~~~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:762:38: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'?
762 | i2s->lc_conf.out_rst=1; i2s->lc_conf.out_rst=0;
| ^~~~~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::i2sReset_FIFO()':
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:767:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
767 | i2s->conf.rx_fifo_reset=1; i2s->conf.rx_fifo_reset=0;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:767:41: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
767 | i2s->conf.rx_fifo_reset=1; i2s->conf.rx_fifo_reset=0;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:768:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
768 | i2s->conf.tx_fifo_reset=1; i2s->conf.tx_fifo_reset=0;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:768:41: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
768 | i2s->conf.tx_fifo_reset=1; i2s->conf.tx_fifo_reset=0;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::i2sStop()':
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:776:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
776 | i2s->conf.rx_start = 0;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:777:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
777 | i2s->conf.tx_start = 0;
| ^~~~
| rx_conf
In file included from d:\Arduino\Sketchbook\libraries\FastLED\src/FastLED.h:75:
d:\Arduino\Sketchbook\libraries\FastLED\src/fastspi.h: At global scope:
d:\Arduino\Sketchbook\libraries\FastLED\src/fastspi.h:157:23: note: '#pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output'
157 | # pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h: In instantiation of 'void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::init() [with int DATA_PIN = 10; int T1 = 40; int T2 = 100; int T3 = 60; EOrder RGB_ORDER = GRB; int XTRA0 = 0; bool FLIP = false; int WAIT_TIME = 5]':
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:214:10: required from here
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:237:24: error: 'gpio_matrix_out' was not declared in this scope; did you mean 'gpio_iomux_out'?
237 | gpio_matrix_out(mPin, i2s_base_pin_index + my_index, false, false);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| gpio_iomux_out
Activity
samguyer commentedon Nov 25, 2022
Hello! Thanks for the report. Does the default (non-I2S) driver compile and work with the ESP32 C3?
Xylopyrographer commentedon Nov 25, 2022
samguyer commentedon Nov 25, 2022
@Xylopyrographer OK. Yeah, it's a real challenge on a single-core microcontroller. Did you try reducing the number of RMT channels? You can add the following before you include FastLED.h:
#define FASTLED_RMT_MAX_CHANNELS 1What this does is tell FastLED to use a single RMT channel, which allows it to use more of the RMT memory, but at the expense of parallelism. If you are only using one output pin, it shouldn't affect you at all. The benefit is that the RMT can run longer before needing to trigger an interrupt (to refill the buffer), making it less likely that other stuff will perturb the timing.
Xylopyrographer commentedon Nov 25, 2022
@samguyer Thanks for the tip. Just gave it a go. Didn't change anything sadly.
I'm trying to port a project from an ESP32 PICO where everything runs perfectly to a C3. Many things to learn along the way.
Is there a reference for all the FastLED pre-
#include#define's that can be used?samguyer commentedon Nov 25, 2022
@Xylopyrographer Yeah, I think the C3 is just underpowered for what you're trying to do. Have you looked at the "Teensy" ARM-based boards? Tons of power, and you'll never get into this kind of problem, but not nearly as cheap as the ESPs:
https://www.pjrc.com/store/teensy41.html
samguyer commentedon Nov 26, 2022
There isn't a great reference for all of the many #define options. I should try to put something like that together. A lot of the information can be found in the code (there are pretty good comments explaining everything), but who wants to look at code?!?! ;-)
Xylopyrographer commentedon Nov 26, 2022
@samguyer : I'm Poking about in
clockless_rmt_esp32.h.#define FASTLED_RMT_MAX_CHANNELS 1mandatory?Awesome comments in the file BTW. 👍👏
samguyer commentedon Nov 26, 2022
@Xylopyrographer You can definitely try any/all of those options and see what happens. My intuition is that it won't change the situation substantially. I think our best bet is to try to get the I2S version running on the C3. I didn't write that code, but I did work with the original author on it, so I might be able to get by.
Just FYI: The deal with the RMT channels is really the memory. There is a fixed amount of RMT buffer memory, which is shared among the channels. The more channels you use, the more parallelism you get (if you need it), but the less memory each channel gets. With less memory, the RMT needs to interrupt the main CPU more often to get a buffer refill. With Wifi turned on, that seems to cause a much higher probability that interrupts will collide and the timing will get messed up.
samguyer commentedon Nov 26, 2022
The built-in RMT driver is not substantially different (I've looked at the ESP-IDF code for it). The reason we offer that option is that it allows people to use the IR remote control library in combination with FastLED.
huster-songtao commentedon Nov 10, 2023
Erros:
In file included from d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/fastled_esp32.h:10,
from d:\Arduino\Sketchbook\libraries\FastLED\src/platforms.h:42,
from d:\Arduino\Sketchbook\libraries\FastLED\src/FastLED.h:62,
from D:\Projects\LED\FastLed_glowing-pumpkin-xiao-bff\FastLed_glowing-pumpkin-xiao-bff.ino:16:
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:90:17: note: '#pragma message: NOTE: ESP32 support using I2S parallel driver. All strips must use the same chipset'
90 | #pragma message "NOTE: ESP32 support using I2S parallel driver. All strips must use the same chipset"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/assist_debug_reg.h:21,
from C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/riscv/include/riscv/rv_utils.h:12,
from C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/esp_hw_support/include/esp_cpu.h:18,
from C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/esp_hw_support/include/spinlock.h:11,
from C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos/portmacro.h:45,
from C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/freertos/FreeRTOS-Kernel/include/freertos/portable.h:59,
from C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/freertos/FreeRTOS-Kernel/include/freertos/FreeRTOS.h:71,
from C:\Users\tao\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0-alpha2\cores\esp32/Arduino.h:33,
from C:\Users\tao\AppData\Local\Temp\arduino\sketches\4C965151292C97F983DA1FD57299337B\sketch\FastLed_glowing-pumpkin-xiao-bff.ino.cpp:1:
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h: In member function 'void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::init()':
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:234:25: error: 'GPIO_PIN_MUX_REG' was not declared in this scope; did you mean 'GPIO_PIN13_REG'?
234 | PIN_FUNC_SELECT(GPIO_PIN_MUX_REG[DATA_PIN], PIN_FUNC_GPIO);
| ^~~~~~~~~~~~~~~~
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/soc.h:36:37: note: in definition of macro 'REG_WRITE'
36 | (*(volatile uint32_t )(_r)) = (_v);
| ^~
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/io_mux_reg.h:92:45: note: in expansion of macro 'REG_SET_FIELD'
92 | #define PIN_FUNC_SELECT(PIN_NAME, FUNC) REG_SET_FIELD(PIN_NAME, MCU_SEL, FUNC)
| ^~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:234:9: note: in expansion of macro 'PIN_FUNC_SELECT'
234 | PIN_FUNC_SELECT(GPIO_PIN_MUX_REG[DATA_PIN], PIN_FUNC_GPIO);
| ^~~~~~~~~~~~~~~
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/soc.h:71:43: error: invalid operands of types 'void' and 'int' to binary 'operator&'
71 | REG_WRITE((_r),((REG_READ(_r) & ~((_f##_V) << (_f##_S)))|(((_v) & (_f##_V))<<(_f##_S))));
| ^ ~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/soc.h:36:45: note: in definition of macro 'REG_WRITE'
36 | ((volatile uint32_t )(_r)) = (_v);
| ^~
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/io_mux_reg.h:92:45: note: in expansion of macro 'REG_SET_FIELD'
92 | #define PIN_FUNC_SELECT(PIN_NAME, FUNC) REG_SET_FIELD(PIN_NAME, MCU_SEL, FUNC)
| ^~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:234:9: note: in expansion of macro 'PIN_FUNC_SELECT'
234 | PIN_FUNC_SELECT(GPIO_PIN_MUX_REG[DATA_PIN], PIN_FUNC_GPIO);
| ^~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:237:9: error: there are no arguments to 'gpio_matrix_out' that depend on a template parameter, so a declaration of 'gpio_matrix_out' must be available [-fpermissive]
237 | gpio_matrix_out(mPin, i2s_base_pin_index + my_index, false, false);
| ^~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:237:9: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::i2sInit()':
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:454:34: error: 'PERIPH_I2S0_MODULE' was not declared in this scope; did you mean 'PERIPH_I2S1_MODULE'?
454 | periph_module_enable(PERIPH_I2S0_MODULE);
| ^~~~~~~~~~~~~~~~~~
| PERIPH_I2S1_MODULE
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:455:31: error: 'ETS_I2S0_INTR_SOURCE' was not declared in this scope; did you mean 'ETS_I2S1_INTR_SOURCE'?
455 | interruptSource = ETS_I2S0_INTR_SOURCE;
| ^~~~~~~~~~~~~~~~~~~~
| ETS_I2S1_INTR_SOURCE
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:456:34: error: 'I2S0O_DATA_OUT0_IDX' was not declared in this scope; did you mean 'I2SO_SD_OUT_IDX'?
456 | i2s_base_pin_index = I2S0O_DATA_OUT0_IDX;
| ^~~~~~~~~~~~~~~~~~~
| I2SO_SD_OUT_IDX
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:458:20: error: 'I2S1' was not declared in this scope; did you mean 'I2S0'?
458 | i2s = &I2S1;
| ^~~~
| I2S0
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:461:34: error: 'I2S1O_DATA_OUT0_IDX' was not declared in this scope; did you mean 'I2SO_SD_OUT_IDX'?
461 | i2s_base_pin_index = I2S1O_DATA_OUT0_IDX;
| ^~~~~~~~~~~~~~~~~~~
| I2SO_SD_OUT_IDX
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:470:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
470 | i2s->conf.tx_msb_right = 1;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:471:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
471 | i2s->conf.tx_mono = 0;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:472:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
472 | i2s->conf.tx_short_sync = 0;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:473:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
473 | i2s->conf.tx_msb_shift = 0;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:474:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
474 | i2s->conf.tx_right_first = 1; // 0;//1;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:475:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
475 | i2s->conf.tx_slave_mod = 0;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:478:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf2'
478 | i2s->conf2.val = 0;
| ^~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:479:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf2'
479 | i2s->conf2.lcd_en = 1;
| ^~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:480:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf2'
480 | i2s->conf2.lcd_tx_wrx2_en = 0; // 0 for 16 or 32 parallel output
| ^~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:481:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf2'
481 | i2s->conf2.lcd_tx_sdx2_en = 0; // HN
| ^~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:484:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'sample_rate_conf'
484 | i2s->sample_rate_conf.val = 0;
| ^~~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:485:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'sample_rate_conf'
485 | i2s->sample_rate_conf.tx_bits_mod = 32; // Number of parallel bits/pins
| ^~~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:486:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'sample_rate_conf'
486 | i2s->sample_rate_conf.tx_bck_div_num = 1;
| ^~~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:487:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'clkm_conf'; did you mean 'rx_clkm_conf'?
487 | i2s->clkm_conf.val = 0;
| ^~~~~~~~~
| rx_clkm_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:488:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'clkm_conf'; did you mean 'rx_clkm_conf'?
488 | i2s->clkm_conf.clka_en = 0;
| ^~~~~~~~~
| rx_clkm_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:493:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'clkm_conf'; did you mean 'rx_clkm_conf'?
493 | i2s->clkm_conf.clkm_div_a = CLOCK_DIVIDER_A;
| ^~~~~~~~~
| rx_clkm_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:494:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'clkm_conf'; did you mean 'rx_clkm_conf'?
494 | i2s->clkm_conf.clkm_div_b = CLOCK_DIVIDER_B;
| ^~~~~~~~~
| rx_clkm_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:495:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'clkm_conf'; did you mean 'rx_clkm_conf'?
495 | i2s->clkm_conf.clkm_div_num = CLOCK_DIVIDER_N;
| ^~~~~~~~~
| rx_clkm_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:497:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'fifo_conf'
497 | i2s->fifo_conf.val = 0;
| ^~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:498:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'fifo_conf'
498 | i2s->fifo_conf.tx_fifo_mod_force_en = 1;
| ^~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:499:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'fifo_conf'
499 | i2s->fifo_conf.tx_fifo_mod = 3; // 32-bit single channel data
| ^~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:500:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'fifo_conf'
500 | i2s->fifo_conf.tx_data_num = 32; // fifo length
| ^~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:501:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'fifo_conf'
501 | i2s->fifo_conf.dscr_en = 1; // fifo will use dma
| ^~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:503:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf1'; did you mean 'rx_conf1'?
503 | i2s->conf1.val = 0;
| ^~~~~
| rx_conf1
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:504:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf1'; did you mean 'rx_conf1'?
504 | i2s->conf1.tx_stop_en = 0;
| ^~~~~
| rx_conf1
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:505:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf1'; did you mean 'rx_conf1'?
505 | i2s->conf1.tx_pcm_bypass = 1;
| ^~~~~
| rx_conf1
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:507:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf_chan'
507 | i2s->conf_chan.val = 0;
| ^~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:508:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf_chan'
508 | i2s->conf_chan.tx_chan_mod = 1; // Mono mode, with tx_msb_right = 1, everything goes to right-channel
| ^~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:510:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'timing'; did you mean 'rx_timing'?
510 | i2s->timing.val = 0;
| ^~~~~~
| rx_timing
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/soc.h:23:50: error: 'DR_REG_I2S_BASE' was not declared in this scope; did you mean 'DR_REG_I2S0_BASE'?
23 | #define REG_I2S_BASE(i) (DR_REG_I2S_BASE + (i) * 0x1E000)
| ^~~~~~~~~~~~~~~
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/soc.h:29:34: note: in definition of macro 'ETS_UNCACHED_ADDR'
29 | #define ETS_UNCACHED_ADDR(addr) (addr)
| ^~~~
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/soc.h:124:13: note: in expansion of macro 'WRITE_PERI_REG'
124 | WRITE_PERI_REG((reg),(READ_PERI_REG(reg)&(~((bit_map)<<(shift))))|(((value) & (bit_map))<<(shift)) );
| ^~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:521:9: note: in expansion of macro 'SET_PERI_REG_BITS'
521 | SET_PERI_REG_BITS(I2S_INT_ENA_REG(I2S_DEVICE), I2S_OUT_EOF_INT_ENA_V, 1, I2S_OUT_EOF_INT_ENA_S);
| ^~~~~~~~~~~~~~~~~
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/i2s_reg.h:66:38: note: in expansion of macro 'REG_I2S_BASE'
66 | #define I2S_INT_ENA_REG(i) (REG_I2S_BASE(i) + 0x0014)
| ^~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:521:27: note: in expansion of macro 'I2S_INT_ENA_REG'
521 | SET_PERI_REG_BITS(I2S_INT_ENA_REG(I2S_DEVICE), I2S_OUT_EOF_INT_ENA_V, 1, I2S_OUT_EOF_INT_ENA_S);
| ^~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:521:56: error: 'I2S_OUT_EOF_INT_ENA_V' was not declared in this scope; did you mean 'I2S_TX_DONE_INT_ENA_V'?
521 | SET_PERI_REG_BITS(I2S_INT_ENA_REG(I2S_DEVICE), I2S_OUT_EOF_INT_ENA_V, 1, I2S_OUT_EOF_INT_ENA_S);
| ^~~~~~~~~~~~~~~~~~~~~
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/soc.h:99:76: note: in definition of macro 'WRITE_PERI_REG'
99 | (((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val);
| ^~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:521:9: note: in expansion of macro 'SET_PERI_REG_BITS'
521 | SET_PERI_REG_BITS(I2S_INT_ENA_REG(I2S_DEVICE), I2S_OUT_EOF_INT_ENA_V, 1, I2S_OUT_EOF_INT_ENA_S);
| ^~~~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:521:82: error: 'I2S_OUT_EOF_INT_ENA_S' was not declared in this scope; did you mean 'I2S_RX_DONE_INT_ENA_S'?
521 | SET_PERI_REG_BITS(I2S_INT_ENA_REG(I2S_DEVICE), I2S_OUT_EOF_INT_ENA_V, 1, I2S_OUT_EOF_INT_ENA_S);
| ^~~~~~~~~~~~~~~~~~~~~
C:\Users\tao\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32c3/include/soc/esp32c3/include/soc/soc.h:99:76: note: in definition of macro 'WRITE_PERI_REG'
99 | (((volatile uint32_t )ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val);
| ^~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:521:9: note: in expansion of macro 'SET_PERI_REG_BITS'
521 | SET_PERI_REG_BITS(I2S_INT_ENA_REG(I2S_DEVICE), I2S_OUT_EOF_INT_ENA_V, 1, I2S_OUT_EOF_INT_ENA_S);
| ^~~~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::interruptHandler(void)':
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:609:25: error: 'volatile union i2s_dev_s::' has no member named 'out_eof'
609 | if (i2s->int_st.out_eof) {
| ^~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::i2sStart()':
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:729:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'?
729 | i2s->lc_conf.val=I2S_OUT_DATA_BURST_EN | I2S_OUTDSCR_BURST_EN | I2S_OUT_DATA_BURST_EN;
| ^~~~~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:729:26: error: 'I2S_OUT_DATA_BURST_EN' was not declared in this scope
729 | i2s->lc_conf.val=I2S_OUT_DATA_BURST_EN | I2S_OUTDSCR_BURST_EN | I2S_OUT_DATA_BURST_EN;
| ^~~~~~~~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:729:50: error: 'I2S_OUTDSCR_BURST_EN' was not declared in this scope
729 | i2s->lc_conf.val=I2S_OUT_DATA_BURST_EN | I2S_OUTDSCR_BURST_EN | I2S_OUT_DATA_BURST_EN;
| ^~~~~~~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:730:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'out_link'
730 | i2s->out_link.addr = (uint32_t) & (dmaBuffers[0]->descriptor);
| ^~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:731:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'out_link'
731 | i2s->out_link.start = 1;
| ^~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:735:22: error: 'volatile union i2s_dev_s::' has no member named 'out_dscr_err'
735 | i2s->int_ena.out_dscr_err = 1;
| ^~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:741:22: error: 'volatile union i2s_dev_s::' has no member named 'out_eof'
741 | i2s->int_ena.out_eof = 1;
| ^~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:744:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
744 | i2s->conf.tx_start = 1;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::i2sReset()':
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:750:51: error: 'I2S_IN_RST_M' was not declared in this scope; did you mean 'I2S_RX_RESET_M'?
750 | const unsigned long lc_conf_reset_flags = I2S_IN_RST_M | I2S_OUT_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M;
| ^~~~~~~~~~~~
| I2S_RX_RESET_M
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:750:66: error: 'I2S_OUT_RST_M' was not declared in this scope
750 | const unsigned long lc_conf_reset_flags = I2S_IN_RST_M | I2S_OUT_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M;
| ^~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:750:82: error: 'I2S_AHBM_RST_M' was not declared in this scope
750 | const unsigned long lc_conf_reset_flags = I2S_IN_RST_M | I2S_OUT_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M;
| ^~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:750:99: error: 'I2S_AHBM_FIFO_RST_M' was not declared in this scope; did you mean 'I2S_TX_FIFO_RESET_M'?
750 | const unsigned long lc_conf_reset_flags = I2S_IN_RST_M | I2S_OUT_RST_M | I2S_AHBM_RST_M | I2S_AHBM_FIFO_RST_M;
| ^~~~~~~~~~~~~~~~~~~
| I2S_TX_FIFO_RESET_M
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:751:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'?
751 | i2s->lc_conf.val |= lc_conf_reset_flags;
| ^~~~~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:752:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'?
752 | i2s->lc_conf.val &= ~lc_conf_reset_flags;
| ^~~~~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:755:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
755 | i2s->conf.val |= conf_reset_flags;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:756:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
756 | i2s->conf.val &= ~conf_reset_flags;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::i2sReset_DMA()':
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:761:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'?
761 | i2s->lc_conf.in_rst=1; i2s->lc_conf.in_rst=0;
| ^~~~~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:761:37: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'?
761 | i2s->lc_conf.in_rst=1; i2s->lc_conf.in_rst=0;
| ^~~~~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:762:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'?
762 | i2s->lc_conf.out_rst=1; i2s->lc_conf.out_rst=0;
| ^~~~~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:762:38: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'lc_conf'; did you mean 'rx_conf'?
762 | i2s->lc_conf.out_rst=1; i2s->lc_conf.out_rst=0;
| ^~~~~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::i2sReset_FIFO()':
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:767:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
767 | i2s->conf.rx_fifo_reset=1; i2s->conf.rx_fifo_reset=0;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:767:41: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
767 | i2s->conf.rx_fifo_reset=1; i2s->conf.rx_fifo_reset=0;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:768:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
768 | i2s->conf.tx_fifo_reset=1; i2s->conf.tx_fifo_reset=0;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:768:41: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
768 | i2s->conf.tx_fifo_reset=1; i2s->conf.tx_fifo_reset=0;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h: In static member function 'static void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::i2sStop()':
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:776:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
776 | i2s->conf.rx_start = 0;
| ^~~~
| rx_conf
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:777:14: error: 'i2s_dev_t' {aka 'volatile struct i2s_dev_s'} has no member named 'conf'; did you mean 'rx_conf'?
777 | i2s->conf.tx_start = 0;
| ^~~~
| rx_conf
In file included from d:\Arduino\Sketchbook\libraries\FastLED\src/FastLED.h:75:
d:\Arduino\Sketchbook\libraries\FastLED\src/fastspi.h: At global scope:
d:\Arduino\Sketchbook\libraries\FastLED\src/fastspi.h:157:23: note: '#pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output'
157 | # pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h: In instantiation of 'void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::init() [with int DATA_PIN = 10; int T1 = 40; int T2 = 100; int T3 = 60; EOrder RGB_ORDER = GRB; int XTRA0 = 0; bool FLIP = false; int WAIT_TIME = 5]':
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:214:10: required from here
d:\Arduino\Sketchbook\libraries\FastLED\src/platforms/esp/32/clockless_i2s_esp32.h:237:24: error: 'gpio_matrix_out' was not declared in this scope; did you mean 'gpio_iomux_out'?
237 | gpio_matrix_out(mPin, i2s_base_pin_index + my_index, false, false);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| gpio_iomux_out
exit status 1
Compilation error: exit status 1
Board:
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x4038856c
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5820,len:0x458
load:0x403cc710,len:0x814
load:0x403ce710,len:0x2878
entry 0x403cc710
The symbolic names for the 4 analogue pins
A0 = 2
A1 = 3
A2 = 4
A3 = 5
The symbolic names for the 11 digital pins

D0 = 2
D1 = 3
D2 = 4
D3 = 5
D4 = 6
D5 = 7
D6 = 21
D7 = 20
D8 = 8
D9 = 9
D10 = 10