Skip to content

Library fails to compile for the IDF version v5.1-rc2 for ESP32-S3 #1519

@alba-ado

Description

@alba-ado

Hello, I've been trying to compile this library for the ESP-IDF version 5.1-rc2. However, I get the following errors:

In file included from /home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.h:130,
                 from /home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/fastled_esp32.h:12,
                 from /home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms.h:42,
                 from /home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/FastLED.h:62,
                 from /home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:7:
/home/ado/Programs/Espressif/esp-idf-v5.1/components/driver/deprecated/driver/rmt.h:18:2: warning: #warning "The legacy RMT driver is deprecated, please use driver/rmt_tx.h and/or driver/rmt_rx.h" [-Wcpp]
   18 | #warning "The legacy RMT driver is deprecated, please use driver/rmt_tx.h and/or driver/rmt_rx.h"
      |  ^~~~~~~
In file included from /home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.h:131:
/home/ado/Programs/Espressif/esp-idf-v5.1/components/driver/deprecated/driver/periph_ctrl.h:7:2: warning: #warning driver/periph_ctrl.h header is no longer used, and will be removed in future versions. [-Wcpp]
    7 | #warning driver/periph_ctrl.h header is no longer used, and will be removed in future versions.
      |  ^~~~~~~
In file included from /home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/FastLED.h:58:
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:86:49: warning: 'volatile'-qualified parameter is deprecated [-Wvolatile]
   86 |         inline void set(FASTLED_REGISTER port_t val) __attribute__ ((always_inline)) { *mPort = val; }
      |                                          ~~~~~~~^~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:91:87: warning: 'volatile'-qualified parameter is deprecated [-Wvolatile]
   91 |         inline void fastset(FASTLED_REGISTER port_ptr_t port, FASTLED_REGISTER port_t val) __attribute__ ((always_inline)) { *port  = val; }
      |                                                                                ~~~~~~~^~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:94:9: warning: 'volatile'-qualified return type is deprecated [-Wvolatile]
   94 |         port_t hival() __attribute__ ((always_inline)) { return *mPort | mPinMask;  }
      |         ^~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:96:9: warning: 'volatile'-qualified return type is deprecated [-Wvolatile]
   96 |         port_t loval() __attribute__ ((always_inline)) { return *mPort & ~mPinMask; }
      |         ^~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:100:9: warning: 'volatile'-qualified return type is deprecated [-Wvolatile]
  100 |         port_t mask() __attribute__ ((always_inline)) { return mPinMask; }
      |         ^~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h: In member function 'void Pin::hi()':
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:67:67: warning: compound assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]
   67 |         inline void hi() __attribute__ ((always_inline)) { *mPort |= mPinMask; }
      |                                                            ~~~~~~~^~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h: In member function 'void Pin::lo()':
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:69:67: warning: compound assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]
   69 |         inline void lo() __attribute__ ((always_inline)) { *mPort &= ~mPinMask; }
      |                                                            ~~~~~~~^~~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h: In member function 'void Pin::hi(port_ptr_t)':
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:79:98: warning: compound assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]
   79 |         inline void hi(FASTLED_REGISTER port_ptr_t port) __attribute__ ((always_inline)) { *port |= mPinMask; }
      |                                                                                            ~~~~~~^~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h: In member function 'void Pin::lo(port_ptr_t)':
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:82:98: warning: compound assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]
   82 |         inline void lo(FASTLED_REGISTER port_ptr_t port) __attribute__ ((always_inline)) { *port &= ~mPinMask; }
      |                                                                                            ~~~~~~^~~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h: At global scope:
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:290:56: warning: 'volatile'-qualified parameter is deprecated [-Wvolatile]
  290 |         inline static void set(FASTLED_REGISTER port_t val) __attribute__ ((always_inline)) { }
      |                                                 ~~~~~~~^~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:293:94: warning: 'volatile'-qualified parameter is deprecated [-Wvolatile]
  293 |         inline static void fastset(FASTLED_REGISTER port_ptr_t port, FASTLED_REGISTER port_t val) __attribute__ ((always_inline)) { }
      |                                                                                       ~~~~~~~^~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:296:16: warning: 'volatile'-qualified return type is deprecated [-Wvolatile]
  296 |         static port_t hival() __attribute__ ((always_inline)) { return 0; }
      |                ^~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:298:16: warning: 'volatile'-qualified return type is deprecated [-Wvolatile]
  298 |         static port_t loval() __attribute__ ((always_inline)) { return 0;}
      |                ^~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:302:16: warning: 'volatile'-qualified return type is deprecated [-Wvolatile]
  302 |         static port_t mask() __attribute__ ((always_inline)) { return 0; }
      |                ^~~~~~
In file included from /home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/fastled_esp32.h:3:
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/fastpin_esp32.h: In static member function 'static void _ESPPIN<PIN, MASK, VALIDPIN>::toggle()':
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/fastpin_esp32.h:43:15: warning: compound assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]
   43 |       *port() ^= MASK;
      |       ~~~~~~~~^~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp: At global scope:
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:166:47: warning: ignoring attribute 'section (".iram1.8")' because it conflicts with previous 'section (".iram1.1")' [-Wattributes]
  166 | void IRAM_ATTR ESP32RMTController::showPixels()
      |                                               ^
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.h:300:20: note: previous declaration here
  300 |     void IRAM_ATTR showPixels();
      |                    ^~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:238:62: warning: ignoring attribute 'section (".iram1.10")' because it conflicts with previous 'section (".iram1.3")' [-Wattributes]
  238 | void IRAM_ATTR ESP32RMTController::startOnChannel(int channel)
      |                                                              ^
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.h:310:20: note: previous declaration here
  310 |     void IRAM_ATTR startOnChannel(int channel);
      |                    ^~~~~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp: In member function 'void ESP32RMTController::startOnChannel(int)':
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/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);
      |                             ^~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp: At global scope:
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:288:45: warning: ignoring attribute 'section (".iram1.11")' because it conflicts with previous 'section (".iram1.4")' [-Wattributes]
  288 | void IRAM_ATTR ESP32RMTController::tx_start()
      |                                             ^
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.h:314:20: note: previous declaration here
  314 |     void IRAM_ATTR tx_start();
      |                    ^~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp: In member function 'void ESP32RMTController::tx_start()':
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/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'
  307 |     RMT.chnconf0[mRMT_channel].mem_rd_rst_n = 1;
      |                                ^~~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:308:32: error: 'volatile union rmt_chnconf0_reg_t' has no member named 'mem_rd_rst_n'
  308 |     RMT.chnconf0[mRMT_channel].mem_rd_rst_n = 0;
      |                                ^~~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:309:32: error: 'volatile union rmt_chnconf0_reg_t' has no member named 'apb_mem_rst_n'
  309 |     RMT.chnconf0[mRMT_channel].apb_mem_rst_n = 1;
      |                                ^~~~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:310:32: error: 'volatile union rmt_chnconf0_reg_t' has no member named 'apb_mem_rst_n'
  310 |     RMT.chnconf0[mRMT_channel].apb_mem_rst_n = 0;
      |                                ^~~~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:314:21: warning: compound assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]
  314 |     RMT.int_ena.val |= (1 << mRMT_channel);
      |     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:316:32: error: 'volatile union rmt_chnconf0_reg_t' has no member named 'conf_update_n'
  316 |     RMT.chnconf0[mRMT_channel].conf_update_n = 1;
      |                                ^~~~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:317:32: error: 'volatile union rmt_chnconf0_reg_t' has no member named 'tx_start_n'
  317 |     RMT.chnconf0[mRMT_channel].tx_start_n = 1;
      |                                ^~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp: In static member function 'static void ESP32RMTController::doneOnChannel(rmt_channel_t, void*)':
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/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
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:366:21: warning: compound assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]
  366 |     RMT.int_ena.val &= ~(1 << channel);
      |     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:368:27: error: 'volatile union rmt_chnconf0_reg_t' has no member named 'tx_stop_n'
  368 |     RMT.chnconf0[channel].tx_stop_n = 1;
      |                           ^~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:369:27: error: 'volatile union rmt_chnconf0_reg_t' has no member named 'conf_update_n'
  369 |     RMT.chnconf0[channel].conf_update_n = 1;
      |                           ^~~~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:371:27: error: 'volatile union rmt_chnconf0_reg_t' has no member named 'mem_rd_rst_n'
  371 |     RMT.chnconf0[channel].mem_rd_rst_n = 1;
      |                           ^~~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:372:27: error: 'volatile union rmt_chnconf0_reg_t' has no member named 'mem_rd_rst_n'
  372 |     RMT.chnconf0[channel].mem_rd_rst_n = 0;
      |                           ^~~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:373:27: error: 'volatile union rmt_chnconf0_reg_t' has no member named 'apb_mem_rst_n'
  373 |     RMT.chnconf0[channel].apb_mem_rst_n = 1;
      |                           ^~~~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:374:27: error: 'volatile union rmt_chnconf0_reg_t' has no member named 'apb_mem_rst_n'
  374 |     RMT.chnconf0[channel].apb_mem_rst_n = 0;
      |                           ^~~~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp: In static member function 'static void ESP32RMTController::interruptHandler(void*)':
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:448:33: warning: compound assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]
  448 |                 RMT.int_clr.val |= BIT(tx_next_bit);
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:452:37: warning: compound assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]
  452 |                     RMT.int_clr.val |= BIT(tx_done_bit);
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp: At global scope:
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.cpp:464:60: warning: ignoring attribute 'section (".iram1.14")' because it conflicts with previous 'section (".iram1.7")' [-Wattributes]
  464 | void IRAM_ATTR ESP32RMTController::fillNext(bool check_time)
      |                                                            ^
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.h:336:20: note: previous declaration here
  336 |     void IRAM_ATTR fillNext(bool check_time);
      |                    ^~~~~~~~
[21/36] Building CXX object esp-idf/main/CMakeFiles/__idf_main.dir/lib/FastLED/src/colorpalettes.cpp.objIn file included from /home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.h:130,
                 from /home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/fastled_esp32.h:12,
                 from /home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms.h:42,
                 from /home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/FastLED.h:62,
                 from /home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/colorpalettes.cpp:8:
/home/ado/Programs/Espressif/esp-idf-v5.1/components/driver/deprecated/driver/rmt.h:18:2: warning: #warning "The legacy RMT driver is deprecated, please use driver/rmt_tx.h and/or driver/rmt_rx.h" [-Wcpp]
   18 | #warning "The legacy RMT driver is deprecated, please use driver/rmt_tx.h and/or driver/rmt_rx.h"
      |  ^~~~~~~
In file included from /home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/platforms/esp/32/clockless_rmt_esp32.h:131:
/home/ado/Programs/Espressif/esp-idf-v5.1/components/driver/deprecated/driver/periph_ctrl.h:7:2: warning: #warning driver/periph_ctrl.h header is no longer used, and will be removed in future versions. [-Wcpp]
    7 | #warning driver/periph_ctrl.h header is no longer used, and will be removed in future versions.
      |  ^~~~~~~
In file included from /home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/FastLED.h:58:
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:86:49: warning: 'volatile'-qualified parameter is deprecated [-Wvolatile]
   86 |         inline void set(FASTLED_REGISTER port_t val) __attribute__ ((always_inline)) { *mPort = val; }
      |                                          ~~~~~~~^~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:91:87: warning: 'volatile'-qualified parameter is deprecated [-Wvolatile]
   91 |         inline void fastset(FASTLED_REGISTER port_ptr_t port, FASTLED_REGISTER port_t val) __attribute__ ((always_inline)) { *port  = val; }
      |                                                                                ~~~~~~~^~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:94:9: warning: 'volatile'-qualified return type is deprecated [-Wvolatile]
   94 |         port_t hival() __attribute__ ((always_inline)) { return *mPort | mPinMask;  }
      |         ^~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:96:9: warning: 'volatile'-qualified return type is deprecated [-Wvolatile]
   96 |         port_t loval() __attribute__ ((always_inline)) { return *mPort & ~mPinMask; }
      |         ^~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:100:9: warning: 'volatile'-qualified return type is deprecated [-Wvolatile]
  100 |         port_t mask() __attribute__ ((always_inline)) { return mPinMask; }
      |         ^~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h: In member function 'void Pin::hi()':
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:67:67: warning: compound assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]
   67 |         inline void hi() __attribute__ ((always_inline)) { *mPort |= mPinMask; }
      |                                                            ~~~~~~~^~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h: In member function 'void Pin::lo()':
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:69:67: warning: compound assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]
   69 |         inline void lo() __attribute__ ((always_inline)) { *mPort &= ~mPinMask; }
      |                                                            ~~~~~~~^~~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h: In member function 'void Pin::hi(port_ptr_t)':
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:79:98: warning: compound assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]
   79 |         inline void hi(FASTLED_REGISTER port_ptr_t port) __attribute__ ((always_inline)) { *port |= mPinMask; }
      |                                                                                            ~~~~~~^~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h: In member function 'void Pin::lo(port_ptr_t)':
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:82:98: warning: compound assignment with 'volatile'-qualified left operand is deprecated [-Wvolatile]
   82 |         inline void lo(FASTLED_REGISTER port_ptr_t port) __attribute__ ((always_inline)) { *port &= ~mPinMask; }
      |                                                                                            ~~~~~~^~~~~~~~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h: At global scope:
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:290:56: warning: 'volatile'-qualified parameter is deprecated [-Wvolatile]
  290 |         inline static void set(FASTLED_REGISTER port_t val) __attribute__ ((always_inline)) { }
      |                                                 ~~~~~~~^~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:293:94: warning: 'volatile'-qualified parameter is deprecated [-Wvolatile]
  293 |         inline static void fastset(FASTLED_REGISTER port_ptr_t port, FASTLED_REGISTER port_t val) __attribute__ ((always_inline)) { }
      |                                                                                       ~~~~~~~^~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:296:16: warning: 'volatile'-qualified return type is deprecated [-Wvolatile]
  296 |         static port_t hival() __attribute__ ((always_inline)) { return 0; }
      |                ^~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:298:16: warning: 'volatile'-qualified return type is deprecated [-Wvolatile]
  298 |         static port_t loval() __attribute__ ((always_inline)) { return 0;}
      |                ^~~~~~
/home/ado/Projects/Espressif/idf-v5.1_deneme/main/lib/FastLED/src/fastpin.h:302:16: warning: 'volatile'-qualified return type is deprecated [-Wvolatile]
  302 |         static port_t mask() __attribute__ ((always_inline)) { return 0; }
      |                ^~~~~~

From what I understand, they changed the low-level access methods in the 5.1 version. I can compile the library for the 4.4 version but when I try to compile it with the new IDF it fails.

Thanks for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions