Comments (9)
Thanks for the feedback!
I'm not sure what is causing this, but I have some guesses. Which ESP32 are you using? The base ESP32? Or something like the ESP32-S3? And what version of ESP-IDF are you using?
from esp_dmx.
I believe I have found the primary issue. The v3.0.0-beta tagged version of this library did not support ESP-IDF v5, which PlatformIO now uses!
I have added ESP-IDF v5 support as of January, so it should be a pretty straightforward fix - just need to publish a new tagged version. However, I am now seeing that PlatformIO inexplicably does not include certain files from ESP-IDF v5. So PlatformIO says it uses ESP-IDF v5, but it's not actually v5. So I am going to add some fixes for this issue and I'll publish a new tagged version ASAP! Edit: I don't think this is actually the case now. I think it may be more likely that I am terrible at PlatformIO. But it does look like there are a few issues with the example code that I need to resolve. VSCode is also showing some errors here or there, even though I am able to compile the code with the errors without issue.
If you could still verify that you're using ESP-IDF v5 on PlatformIO and which ESP32 hardware you're using, that would be excellent!
from esp_dmx.
Yes, I'm using ESP32-S3. And the latest ESP-IDF version, I guess it is v5.0 according to changelog, I don't know how to check it in VSCode.
I had some of the features missing after clean VSCode reinstall too. It seems that reinstalling and just updating is not the same.
Thanks for reply and upcoming fix!
from esp_dmx.
This appears to be fixed! I published v3.0.1-beta with the new changes.
BUT: I was a dummy and published the PlatformIO package before testing for ESP32-S3. So for right now, you will have to clone this repo into your lib
folder on PIO. I am waiting for the package to become unpublish on PIO. Once it is, I will republish it with the fixes for ESP32-S3, and close this issue.
Let me know if you have any issues!
from esp_dmx.
hello, I am trying to use the Library in an arduino Projekt in Platformio.
Project configuration:
[env:FirstFlash]
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
monitor_speed = 115200
upload_speed = 115200
board_build.filesystem = littlefs
Is the Library Arduino compatible?
I installed the new version in the lib folder as described but I get a boatload of compiling errors similar to these ones:
lib/esp_dmx/src/rdm_types.h:238:3: error: conflicting types for 'rdm_disc_unique_branch_t'
} rdm_disc_unique_branch_t;
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from lib/esp_dmx/src/esp_rdm.h:8,
from lib/esp_dmx/src/esp_dmx.h:15,
from lib/esp_dmx/src/private/rdm_encode/functions.h:7,
from lib/esp_dmx/src/private/rdm_encode/functions.c:1:
lib/esp_dmx/src/rdm_types.h:238:3: note: previous declaration of 'rdm_disc_unique_branch_t' was here
} rdm_disc_unique_branch_t;
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from lib/esp_dmx/src/private/rdm_encode/functions.h:9,
from lib/esp_dmx/src/private/rdm_encode/functions.c:1:
lib/esp_dmx/src/rdm_types.h:245:16: error: redefinition of 'struct rdm_disc_mute_t'
typedef struct rdm_disc_mute_t {
^~~~~~~~~~~~~~~
In file included from lib/esp_dmx/src/esp_rdm.h:8,
from lib/esp_dmx/src/esp_dmx.h:15,
from lib/esp_dmx/src/private/rdm_encode/functions.h:7,
from lib/esp_dmx/src/private/rdm_encode/functions.c:1:
lib/esp_dmx/src/rdm_types.h:245:16: note: originally defined here
typedef struct rdm_disc_mute_t {
^~~~~~~~~~~~~~~
In file included from lib/esp_dmx/src/private/rdm_encode/functions.h:9,
from lib/esp_dmx/src/private/rdm_encode/functions.c:1:
lib/esp_dmx/src/rdm_types.h:251:3: error: conflicting types for 'rdm_disc_mute_t'
} rdm_disc_mute_t;
^~~~~~~~~~~~~~~
In file included from lib/esp_dmx/src/esp_rdm.h:8,
from lib/esp_dmx/src/esp_dmx.h:15,
from lib/esp_dmx/src/private/rdm_encode/functions.h:7,
from lib/esp_dmx/src/private/rdm_encode/functions.c:1:
lib/esp_dmx/src/rdm_types.h:251:3: note: previous declaration of 'rdm_disc_mute_t' was here
} rdm_disc_mute_t;
^~~~~~~~~~~~~~~
In file included from lib/esp_dmx/src/private/rdm_encode/functions.h:9,
from lib/esp_dmx/src/private/rdm_encode/functions.c:1:
lib/esp_dmx/src/rdm_types.h:256:16: error: redefinition of 'struct rdm_device_info_t'
typedef struct rdm_device_info_t {
^~~~~~~~~~~~~~~~~
In file included from lib/esp_dmx/src/esp_rdm.h:8,
from lib/esp_dmx/src/esp_dmx.h:15,
from lib/esp_dmx/src/private/rdm_encode/functions.h:7,
from lib/esp_dmx/src/private/rdm_encode/functions.c:1:
lib/esp_dmx/src/rdm_types.h:256:16: note: originally defined here
typedef struct rdm_device_info_t {
^~~~~~~~~~~~~~~~~
*** [.pio/build/FirstFlash/lib7f7/esp_dmx/esp_dmx.c.o] Error 1
*** [.pio/build/FirstFlash/lib7f7/esp_dmx/esp_rdm.c.o] Error 1
In file included from lib/esp_dmx/src/private/rdm_encode/functions.h:9,
from lib/esp_dmx/src/private/rdm_encode/functions.c:1:
lib/esp_dmx/src/rdm_types.h:269:3: error: conflicting types for 'rdm_device_info_t'
} rdm_device_info_t;
^~~~~~~~~~~~~~~~~
In file included from lib/esp_dmx/src/esp_rdm.h:8,
from lib/esp_dmx/src/esp_dmx.h:15,
from lib/esp_dmx/src/private/rdm_encode/functions.h:7,
from lib/esp_dmx/src/private/rdm_encode/functions.c:1:
lib/esp_dmx/src/rdm_types.h:269:3: note: previous declaration of 'rdm_device_info_t' was here
} rdm_device_info_t
in main.cpp i only imported the header esp_dmx.h do I need to do something with it in the code?
I am not shure if my Problems belong in this issiue or if I should open a new one, please Advise.
similar error messages apear while using Version 3.0.0-beta downloaded over PlatformIO
from esp_dmx.
Thank you! The code builds perfectly without any errors now. Unfortunately, I can't test it on a esp32-s3 board right now, because there is some problem with uploading after VSCode reinstall, but it is not library related, so I have no more questions, thanks again.
from esp_dmx.
Hi Bombenscheck,
It appears to work on Arduino for me. You should be able to use v3.0.1-beta by cloning it from git into your lib
folder. Let me know if that works for you.
It appears PlatformIO has unpublished the mistake I made but I am still having issues publishing fixes. I am hoping this issue will be resolved soon.
from esp_dmx.
OK, I Removed all Files from my lib Folder and imported it again. Now it works... I have no Idea what went wrong the first time around.
Thanks @someweisguy for your answer.
from esp_dmx.
This should be resolved, so I am going to close this issue.
It turns out that when you ask PlatformIO to unpublish your release, they don't let you republish the release later with the same version number. So I had to publish v3.0.2-beta. You should now be able to add this library as a dependency using the PIO dependency manager.
Let me know if you run into any more issues and I will reopen this ticket!
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.