You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm just getting started with this and am stumbling thru getting the Arduino environment setup.
I cloned this library and when trying to compile the example sketch, I get the following errors:
Arduino: 1.8.10 (Linux), Board: "Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
/home/schneis/arduino-1.8.10/libraries/espDMX/espDMX.cpp: In function 'dmx_t* dmx_init(int, int)':
/home/schneis/arduino-1.8.10/libraries/espDMX/espDMX.cpp:246:45: error: invalid conversion from 'void*' to 'fp_putc_t {aka void (*)(char)}' [-fpermissive]
ets_install_putc1((void *) &uart_ignore_char);
^
In file included from /home/schneis/.arduino15/packages/esp8266/hardware/esp8266/2.6.2/cores/esp8266/pgmspace.h:11:0,
from /home/schneis/.arduino15/packages/esp8266/hardware/esp8266/2.6.2/cores/esp8266/Arduino.h:239,
from /home/schneis/arduino-1.8.10/libraries/espDMX/espDMX.cpp:21:
/home/schneis/.arduino15/packages/esp8266/hardware/esp8266/2.6.2/tools/sdk/include/ets_sys.h:219:6: error: initializing argument 1 of 'void ets_install_putc1(fp_putc_t)' [-fpermissive]
void ets_install_putc1(fp_putc_t routine);
^
Multiple libraries were found for "espDMX.h"
Used: /home/schneis/arduino-1.8.10/libraries/espDMX
exit status 1
Error compiling for board Generic ESP8266 Module.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I'm just getting started with this and am stumbling thru getting the Arduino environment setup.
I cloned this library and when trying to compile the example sketch, I get the following errors:
The following patch seems to resolve the issue:
The text was updated successfully, but these errors were encountered: