Makuna / NeoPixelBus

An Arduino NeoPixel support library supporting a large variety of individually addressable LEDs. Please refer to the Wiki for more details. Please use the GitHub Discussions to ask questions as the GitHub Issues feature is used for bug tracking.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 3, 0)

AndreyUshak opened this issue · comments

Hi,
ESP32 ver 1.04 example NeoPixelTest.ino
on versions older than NeoPixelBus-2.6.9 compilation error:

In file included from g:!ya!arduino\arduino_lib\libraries\NeoPixelBus-master\src/NeoPixelBus.h:97:0,
from G:!ya!arduino\arduino_lib\libraries\NeoPixelBus-master\examples\NeoPixelTest\NeoPixelTest.ino:14:
g:!ya!arduino\arduino_lib\libraries\NeoPixelBus-master\src/internal/NeoEsp32RmtMethod.h:53:43: error: missing binary operator before token "("
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 3, 0)
^
exit status 1

NeoPixelBus v2.6.8 and before doesn't even have this line so your statement is incorrect.

Be more specific about versions. What version of IDE (arduino?), version of board support (Ardunio Board version 1.04?), and version of IDF, and version of the library.

But older versions of the library are not directly supported. I don't have bandwidth for it. Often versions are published specifically due to changes in the IDF and thus can longer be backward compatible.

IDE 1.8.16
ESP32 1.0.4
SdkVersion: v3.2.3-14-gd3e562907
ERR>=NeoPixelBus-2.7 (NeoPixelBus-2.6.9 Ok)
Ok, I'll be on 2.6.9 (adafruit and Fastlend compile without errors)

2.6.9+ rely on APIs that are only on IDF 4.3.0, which shows up only in latter versions of ESP32 board support.