Skip to content
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

Copalation Error #1

Open
diasrobson opened this issue Dec 7, 2023 · 2 comments
Open

Copalation Error #1

diasrobson opened this issue Dec 7, 2023 · 2 comments

Comments

@diasrobson
Copy link

diasrobson commented Dec 7, 2023

Hi There, Just wanted to say thank you for all your hard work I have just tried to Run it But encountered some Errors

IDE: Arduino 2.2.1
board : ESP32 D1 Mini

Library: esp_dmx (3.1.0) -- ArtNetWifi (1.5.1)

Running Example Without any modifications

IDE Error

`/Users/USER/Downloads/ESP32-ArtNet-to-DMX-main/ESP32-ArtNet-to-DMX/ESP32-ArtNet-to-DMX.ino: In function 'void setup()':
/Users/USER/Downloads/ESP32-ArtNet-to-DMX-main/ESP32-ArtNet-to-DMX/ESP32-ArtNet-to-DMX.ino:169:32: error:'DMX_DEFAULT_INTR_FLAGS' was not declared in this scope
   dmx_driver_install(dmxPortA, DMX_DEFAULT_INTR_FLAGS);
                                ^~~~~~~~~~~~~~~~~~~~~~
/Users/USER/Downloads/ESP32-ArtNet-to-DMX-main/ESP32-ArtNet-to-DMX/ESP32-ArtNet-to-DMX.ino:169:32: note: suggested alternative: 'IP_DEFAULT_TTL'
   dmx_driver_install(dmxPortA, DMX_DEFAULT_INTR_FLAGS);
                                ^~~~~~~~~~~~~~~~~~~~~~
                                IP_DEFAULT_TTL
/Users/USER/Downloads/ESP32-ArtNet-to-DMX-main/ESP32-ArtNet-to-DMX/ESP32-ArtNet-to-DMX.ino: In function 'void onArtNetFrame(uint16_t, uint16_t, uint8_t, uint8_t*)':
/Users/USER/Downloads/ESP32-ArtNet-to-DMX-main/ESP32-ArtNet-to-DMX/ESP32-ArtNet-to-DMX.ino:198:30: error: 'DMX_MAX_PACKET_SIZE' was not declared in this scope
   dmx_write(dmxPortA, dataA, DMX_MAX_PACKET_SIZE);
                              ^~~~~~~~~~~~~~~~~~~
/Users/USER/Downloads/ESP32-ArtNet-to-DMX-main/ESP32-ArtNet-to-DMX/ESP32-ArtNet-to-DMX.ino:198:30: note: suggested alternative: 'ETH_MAX_PACKET_SIZE'
   dmx_write(dmxPortA, dataA, DMX_MAX_PACKET_SIZE);
                              ^~~~~~~~~~~~~~~~~~~
                              ETH_MAX_PACKET_SIZE

exit status 1

Compilation error: 'DMX_DEFAULT_INTR_FLAGS' was not declared in this scope`

@signorettae
Copy link
Owner

Hi, thank you for your appreciation!
I've tried to compile the code (also for ESP32 D1 Mini) and everything went smoothly.
My board package's version is 2.0.11 (from Espressif), while my esp_dmx lib version is (3.0.2-beta).
Which version of the IDE are you using?

@diasrobson
Copy link
Author

Hi, thank you for your appreciation! I've tried to compile the code (also for ESP32 D1 Mini) and everything went smoothly. My board package's version is 2.0.11 (from Espressif), while my esp_dmx lib version is (3.0.2-beta). Which version of the IDE are you using?

It companies now thanks, the problem seems to be a breaking change to the esp_DMX library it companies perfectly fine on (3.0.2-beta) but fails when using (3.1.0)

Thank you for your Help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants