Kod: Zaznacz cały
Arduino:1.8.16 (Windows 7), Płytka:"Generic ESP8266 Module, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 4MB (FS:2MB OTA:~1019KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, All Flash Contents, 115200"
In file included from C:\Users\Supla\Documents\Arduino\libraries\SuplaDevice\src/SuplaDevice.h:20,
from C:\Users\Supla\Documents\Arduino\GUI-Generic-master_20220613\GUI-Generic_white\SuplaDeviceGUI.h:24,
from C:\Users\Supla\Documents\Arduino\GUI-Generic-master_20220613\GUI-Generic_white\GUIGenericCommon.cpp:18:
C:\Users\Supla\Documents\Arduino\libraries\SuplaDevice\src/supla-common/proto.h:1133:23: error: expected unqualified-id before numeric constant
1133 | #define ACTION_TOGGLE 110
| ^~~
C:\Users\Supla\Documents\Arduino\GUI-Generic-master_20220613\GUI-Generic_white\SuplaCommonPROGMEM.h:316:12: note: in expansion of macro 'ACTION_TOGGLE'
316 | const char ACTION_TOGGLE[] PROGMEM = S_TOGGLE;
| ^~~~~~~~~~~~~
C:\Users\Supla\Documents\Arduino\libraries\SuplaDevice\src/supla-common/proto.h:1133:23: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
1133 | #define ACTION_TOGGLE 110
| ^~~
| |
| int
C:\Users\Supla\Documents\Arduino\GUI-Generic-master_20220613\GUI-Generic_white\SuplaCommonPROGMEM.h:318:50: note: in expansion of macro 'ACTION_TOGGLE'
318 | const char* const ACTION_P[] PROGMEM = {ON, OFF, ACTION_TOGGLE};
| ^~~~~~~~~~~~~
In file included from C:\Users\Supla\Documents\Arduino\libraries\SuplaDevice\src/SuplaDevice.h:20,
from C:\Users\Supla\Documents\Arduino\GUI-Generic-master_20220613\GUI-Generic_white\SuplaDeviceGUI.h:24,
from C:\Users\Supla\Documents\Arduino\GUI-Generic-master_20220613\GUI-Generic_white\GUI-Generic_white.ino:16:
C:\Users\Supla\Documents\Arduino\libraries\SuplaDevice\src/supla-common/proto.h:1133:23: error: expected unqualified-id before numeric constant
1133 | #define ACTION_TOGGLE 110
| ^~~
C:\Users\Supla\Documents\Arduino\GUI-Generic-master_20220613\GUI-Generic_white\SuplaCommonPROGMEM.h:316:12: note: in expansion of macro 'ACTION_TOGGLE'
316 | const char ACTION_TOGGLE[] PROGMEM = S_TOGGLE;
| ^~~~~~~~~~~~~
C:\Users\Supla\Documents\Arduino\libraries\SuplaDevice\src/supla-common/proto.h:1133:23: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
1133 | #define ACTION_TOGGLE 110
| ^~~
| |
| int
C:\Users\Supla\Documents\Arduino\GUI-Generic-master_20220613\GUI-Generic_white\SuplaCommonPROGMEM.h:318:50: note: in expansion of macro 'ACTION_TOGGLE'
318 | const char* const ACTION_P[] PROGMEM = {ON, OFF, ACTION_TOGGLE};
| ^~~~~~~~~~~~~
In file included from C:\Users\Supla\Documents\Arduino\libraries\SuplaDevice\src/SuplaDevice.h:20,
from C:\Users\Supla\Documents\Arduino\GUI-Generic-master_20220613\GUI-Generic_white\SuplaDeviceGUI.h:24,
from C:\Users\Supla\Documents\Arduino\GUI-Generic-master_20220613\GUI-Generic_white\Markup.h:20,
from C:\Users\Supla\Documents\Arduino\GUI-Generic-master_20220613\GUI-Generic_white\Markup.cpp:17:
C:\Users\Supla\Documents\Arduino\libraries\SuplaDevice\src/supla-common/proto.h:1133:23: error: expected unqualified-id before numeric constant
1133 | #define ACTION_TOGGLE 110
| ^~~
C:\Users\Supla\Documents\Arduino\GUI-Generic-master_20220613\GUI-Generic_white\SuplaCommonPROGMEM.h:316:12: note: in expansion of macro 'ACTION_TOGGLE'
316 | const char ACTION_TOGGLE[] PROGMEM = S_TOGGLE;
| ^~~~~~~~~~~~~
C:\Users\Supla\Documents\Arduino\libraries\SuplaDevice\src/supla-common/proto.h:1133:23: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
1133 | #define ACTION_TOGGLE 110
| ^~~
| |
| int
C:\Users\Supla\Documents\Arduino\GUI-Generic-master_20220613\GUI-Generic_white\SuplaCommonPROGMEM.h:318:50: note: in expansion of macro 'ACTION_TOGGLE'
318 | const char* const ACTION_P[] PROGMEM = {ON, OFF, ACTION_TOGGLE};
| ^~~~~~~~~~~~~
exit status 1
Błąd kompilacji dla płytki Generic ESP8266 Module.
Ten raport powinien zawierać więcej informacji jeśli w
File -> Preferencje zostanie włączona opcja "Pokaż
szczegółowe informacje podczas kompilacji"
/[code]