Comments (9)
Thanks for the kind words!
Which version of esp_dmx are you using? And are you using Arduino on PlatformIO?
from esp_dmx.
Thank you for this quick response!
I am using ESP_DMX version 2.0.1. with Arduino on PlatformIO.
If you want to get an idea of what I'm working on, here is my site: http://arpschuino.fr/index_e.php .
I am switching from atmega to ESP32.
from esp_dmx.
Fortunately this is an easy fix! The problem is that PlatformIO uses an out-of-date version of the Arduino-ESP32 framework. I thought that this would have been fixed by them since the new version was released nearly three months ago.
To fix the issue, you will have to update the platform in your platformio.ini
file. Change the line that says platform = espressif32
so that it reads platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream
. Then you can rebuild your project.
I'm hoping that esp_dmx v3.0 will fix this problem for good. Let me know if you run into any issues in the meantime.
Your project looks very cool! I will definitely take some time to look over your site. :)
from esp_dmx.
I tried including in c_cpp_properties.json > includePath:
"C:/Users/utilisateur/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/hal/include"
Without success...
from esp_dmx.
Updating include paths shouldn't be needed. You must inform PlatformIO to use an updated platform. This can be done in the platformio.ini
file which can be found in the root of your project directory.
Right now, your platformio.ini
file should read something like this:
[env:featheresp32]
platform = espressif32
board = featheresp32
framework = arduino
lib_deps = someweisguy/esp_dmx@^2.0.1
If you update the platform
to platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream
your project should be able to be compiled.
from esp_dmx.
Thank you !
Well i tried that change in platformio.ini.
I now have cryptic error messages :
#include <stddef.h>
^~~~~~~~~~
*** [.pio\build\esp32doit-devkit-v1\libeea\AsyncTCP\AsyncTCP.cpp.o] Error 1
*** [.pio\build\esp32doit-devkit-v1\src\main.cpp.o] Error 1
*** [.pio\build\esp32doit-devkit-v1\src\Port.cpp.o] Error 1
*** [.pio\build\esp32doit-devkit-v1\src\arp_server.cpp.o] Error 1
*** [.pio\build\esp32doit-devkit-v1\src_wifi.cpp.o] Error 1
compilation terminated.
*** [.pio\build\esp32doit-devkit-v1\src\Custom_port.cpp.o] Error 1
In file included from C:/Users/utilisateur/.platformio/packages/framework-arduinoespressif32/libraries/FS/src/FS.h:24,
from C:/Users/utilisateur/.platformio/packages/framework-arduinoespressif32/libraries/FS/src/FS.cpp:21:
c:\users\utilisateur.platformio\packages\toolchain-xtensa-esp32\xtensa-esp32-elf\include\c++\8.4.0\memory:62:10: fatal error: bits/stl_algobase.h: No such file or directory
#include <bits/stl_algobase.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pio\build\esp32doit-devkit-v1\lib9a0\FS\FS.cpp.o] Error 1
from esp_dmx.
Hmm... Well to start, it appears that your project is unable to find the file bits/stl_algobase.h
. There also appears to be an issue with stddef.h
but I am not sure what the problem is exactly. I know that esp_dmx does not directly include either of those files. Therefore, I am guessing that the problem is something to do with how your project is configured.
I am not sure I can help with this problem very efficiently. I would try to remove your code except for the basic void setup()
and void loop()
to see if your project compiles. Then start adding code segments back in to see what is causing this issue.
from esp_dmx.
I will try, thanks for your help.
It's a very big code, I started more than a year ago with version 3.5.0 of espressif32.
my code does not compile from version 4.0.0.
I'll let you know
from esp_dmx.
Closing this since it appears the issue has been resolved. Let me know if I can help with anything else! :)
from esp_dmx.
Related Issues (20)
- dmx timing HOT 1
- Compile errors version 2 and up HOT 8
- Troubles with ETC Express HOT 6
- RDM discovery controller HOT 12
- Error on Sample DMX Sniffer HOT 1
- DMX read example - 'isr_handle' undeclared in arduino 2.14 HOT 1
- DMX Output randomly stops for a few seconds HOT 1
- Interrupt conflict HOT 1
- rdm_register_dmx_personality missing in 3.1.0 HOT 4
- DMX Read - Unstable packet.size depends on the number of DMX channels HOT 3
- compiling error with 3.10 but not with 3.0.3-beta HOT 3
- Bug string constant to 'char*' [-Wwrite-strings] HOT 2
- Send SET RDM_PID_IDENTIFY_DEVICE argument error
- RDM controller requests are not copying parameter data HOT 2
- dmx_get_personality_description() does not work HOT 1
- ESP32-S3 RDM issues with UART0 HOT 5
- Start Address Not Saving Via RDM HOT 8
- Compile Warning
- Problem with installing DMX on UART2 HOT 5
- ESP32-C6 incompatibility HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp_dmx.