-
-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NeoPixelBus 2.7.8 example NeoPixelTest.ino will not compile for an ESP32-C3 using ESP32 Board v3.0.0-alpha3 #776
Comments
What version of the ESP32 board support are you using? With the latest released version, I cannot replicate the error above. You can check the Board Manager for the version. What board are you selecting? Check the Tools Board menu. Thanks for the link, I am applying that correction now. |
Hi, I'm using 3.0.0-alpha3 (as I need the support for the ESP32-C3). In the Board manager select the ESP32C3 Dev Module. Cheers, Henk |
I am in the middle of some other work and can't switch to v3.0.0-alpha3 at the moment. I wish they would make a release with it marked as beta and not default so that it's easy to switch to it and back. If you could pick up my master and give it a try and let me know if there is anything else, that would help. |
Will give your master a try this evening. |
Sorry, but only a slightly changed error. In file included from ...\libraries\NeoPixelBus_by_Makuna\src/internal/NeoMethods.h:56, Cheers, Henk |
thanks, I will take a closer look in a week or so when I clear some other things off my table. |
They have made major changes to both RMT and I2S interfaces of which this library relies on both. It will require significant rewriting and refactoring to remove deprecation warnings. |
Hello, I have a similar issue. Compiling the following code with both esp32 Board c3.0.0-rc1 and 2.0.11 gives me a compilation error.
|
Did you pick up the master branch and did it allow you compile? This issue is still marked "pending", meaning its present in "master" but not released yet. The next release will include it, which is soon. |
Thanks for your reply. I did download the master branch. I still get the compile error. |
The define used to check for chip are no longer compiler flags, but as defined in one of the core headers. So I adjusted the strategy accordingly. |
In file included from ...\NeoPixelBus_by_Makuna\src/internal/NeoMethods.h:56,
from ...\NeoPixelBus_by_Makuna\src/NeoPixelBus.h:43,
from ...\NeoPixelBus_by_Makuna\examples\NeoPixelTest\NeoPixelTest.ino:14:
...\NeoPixelBus_by_Makuna\src/internal/methods/NeoEsp32RmtMethod.h: In destructor 'NeoEsp32RmtMethodBase<T_SPEED, T_CHANNEL>::~NeoEsp32RmtMethodBase()':
...\NeoPixelBus_by_Makuna\src/internal/methods/NeoEsp32RmtMethod.h:559: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]
559 | gpio_matrix_out(_pin, 0x100, false, false);
| ^~~~~~~~~~~~~~~
...\NeoPixelBus_by_Makuna\src/internal/methods/NeoEsp32RmtMethod.h:559:9: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
...\NeoPixelBus_by_Makuna\src/internal/methods/NeoEsp32RmtMethod.h: In instantiation of 'NeoEsp32RmtMethodBase<T_SPEED, T_CHANNEL>::~NeoEsp32RmtMethodBase() [with T_SPEED = NeoEsp32RmtSpeedWs2812x; T_CHANNEL = NeoEsp32RmtChannel1]':
...\NeoPixelBus_by_Makuna\src/NeoPixelBus.h:55:9: required from 'NeoPixelBus<T_COLOR_FEATURE, T_METHOD>::NeoPixelBus(uint16_t, uint8_t) [with T_COLOR_FEATURE = NeoGrbFeature; T_METHOD = NeoEsp32RmtMethodBase<NeoEsp32RmtSpeedWs2812x, NeoEsp32RmtChannel1>; uint16_t = short unsigned int; uint8_t = unsigned char]'
...\NeoPixelBus_by_Makuna\examples\NeoPixelTest\NeoPixelTest.ino:22:72: required from here
...\NeoPixelBus_by_Makuna\src/internal/methods/NeoEsp32RmtMethod.h:559:24: error: 'gpio_matrix_out' was not declared in this scope; did you mean 'gpio_iomux_out'?
559 | gpio_matrix_out(_pin, 0x100, false, false);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
| gpio_iomux_out
Could be related to : espressif/esp-idf#11737
The text was updated successfully, but these errors were encountered: