ESP8266 Gateway
-
Re: ESP8266 Gateway
I do have a similar problem with the MySensors GateWayESP8266. I have the latest version of MySensors ,the latest version of
Arduino IDE (1.8.15) and the latest version of ESP8266 boards (3.0.0) and still do I run into compile erros during Validate.
I run into 4 errors when I validate with MY_DEBUG commented, otherwise I will have more then 60 pages of errors.Can anybody advice me where to look and how to solve?
Arduino:1.8.15 (Windows Store 1.8.49.0) (Windows 10), Board:"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), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
OUTPUT:
In file included from c:\users\mathi\onedrive\documenten\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.0-newlib4.0.0-gnu23-48f7b08\xtensa-lx106-elf\include\assert.h:10,
from c:\users\mathi\onedrive\documenten\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.0-newlib4.0.0-gnu23-48f7b08\xtensa-lx106-elf\include\sys\reent.h:503, from c:\users\mathi\onedrive\documenten\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.0-newlib4.0.0-gnu23-48f7b08\xtensa-lx106-elf\include\stdlib.h:18, from c:\users\mathi\onedrive\documenten\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.0-newlib4.0.0-gnu23-48f7b08\xtensa-lx106-elf\include\c++\10.2.0\cstdlib:75, from c:\users\mathi\onedrive\documenten\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.0-newlib4.0.0-gnu23-48f7b08\xtensa-lx106-elf\include\c++\10.2.0\stdlib.h:36, from C:\Users\mathi\OneDrive\Documenten\ArduinoData\packages\esp8266\hardware\esp8266\3.0.0\cores\esp8266/Arduino.h:27, from sketch\MySensors_GatewayESP8266_v01.ino.cpp:1:C:\Users\mathi\OneDrive\Documenten\Arduino\libraries\MySensors/core/MyProtocol.cpp: In function 'char* protocolMyMessage2Serial(MyMessage&)':
C:\Users\mathi\OneDrive\Documenten\Arduino\libraries\MySensors/core/MyProtocol.cpp:94:28: error: expected ')' before '__INT8'
94 | PSTR("%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%s\n"), message.getSender(),
| ^~~~~C:\Users\mathi\OneDrive\Documenten\Arduino\libraries\MySensors/core/MyProtocol.cpp:94:19: note: to match this '('
94 | PSTR("%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%s\n"), message.getSender(),
| ^~~~C:\Users\mathi\OneDrive\Documenten\Arduino\libraries\MySensors/core/MyProtocol.cpp: In function 'char* protocolMyMessage2MQTT(const char*, MyMessage&)':
C:\Users\mathi\OneDrive\Documenten\Arduino\libraries\MySensors/core/MyProtocol.cpp:103:31: error: expected ')' before '__INT8'
103 | PSTR("%s/%" PRIu8 "/%" PRIu8 "/%" PRIu8 "/%" PRIu8 "/%" PRIu8 ""), prefix,
| ^~~~~C:\Users\mathi\OneDrive\Documenten\Arduino\libraries\MySensors/core/MyProtocol.cpp:103:19: note: to match this '('
103 | PSTR("%s/%" PRIu8 "/%" PRIu8 "/%" PRIu8 "/%" PRIu8 "/%" PRIu8 ""), prefix,
| ^~~~exit status 1
Fout bij het compileren voor board Generic ESP8266 Module
Dit rapport zou meer informatie bevatten met
"Uitgebreide uitvoer weergeven tijden compilatie"
optie aan in Bestand -> Voorkeuren. -
Re: ESP8266 Gateway
I do have a similar problem with the MySensors GateWayESP8266. I have the latest version of MySensors ,the latest version of
Arduino IDE (1.8.15) and the latest version of ESP8266 boards (3.0.0) and still do I run into compile erros during Validate.
I run into 4 errors when I validate with MY_DEBUG commented, otherwise I will have more then 60 pages of errors.Can anybody advice me where to look and how to solve?
Arduino:1.8.15 (Windows Store 1.8.49.0) (Windows 10), Board:"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), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
OUTPUT:
In file included from c:\users\mathi\onedrive\documenten\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.0-newlib4.0.0-gnu23-48f7b08\xtensa-lx106-elf\include\assert.h:10,
from c:\users\mathi\onedrive\documenten\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.0-newlib4.0.0-gnu23-48f7b08\xtensa-lx106-elf\include\sys\reent.h:503, from c:\users\mathi\onedrive\documenten\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.0-newlib4.0.0-gnu23-48f7b08\xtensa-lx106-elf\include\stdlib.h:18, from c:\users\mathi\onedrive\documenten\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.0-newlib4.0.0-gnu23-48f7b08\xtensa-lx106-elf\include\c++\10.2.0\cstdlib:75, from c:\users\mathi\onedrive\documenten\arduinodata\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.0-newlib4.0.0-gnu23-48f7b08\xtensa-lx106-elf\include\c++\10.2.0\stdlib.h:36, from C:\Users\mathi\OneDrive\Documenten\ArduinoData\packages\esp8266\hardware\esp8266\3.0.0\cores\esp8266/Arduino.h:27, from sketch\MySensors_GatewayESP8266_v01.ino.cpp:1:C:\Users\mathi\OneDrive\Documenten\Arduino\libraries\MySensors/core/MyProtocol.cpp: In function 'char* protocolMyMessage2Serial(MyMessage&)':
C:\Users\mathi\OneDrive\Documenten\Arduino\libraries\MySensors/core/MyProtocol.cpp:94:28: error: expected ')' before '__INT8'
94 | PSTR("%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%s\n"), message.getSender(),
| ^~~~~C:\Users\mathi\OneDrive\Documenten\Arduino\libraries\MySensors/core/MyProtocol.cpp:94:19: note: to match this '('
94 | PSTR("%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%s\n"), message.getSender(),
| ^~~~C:\Users\mathi\OneDrive\Documenten\Arduino\libraries\MySensors/core/MyProtocol.cpp: In function 'char* protocolMyMessage2MQTT(const char*, MyMessage&)':
C:\Users\mathi\OneDrive\Documenten\Arduino\libraries\MySensors/core/MyProtocol.cpp:103:31: error: expected ')' before '__INT8'
103 | PSTR("%s/%" PRIu8 "/%" PRIu8 "/%" PRIu8 "/%" PRIu8 "/%" PRIu8 ""), prefix,
| ^~~~~C:\Users\mathi\OneDrive\Documenten\Arduino\libraries\MySensors/core/MyProtocol.cpp:103:19: note: to match this '('
103 | PSTR("%s/%" PRIu8 "/%" PRIu8 "/%" PRIu8 "/%" PRIu8 "/%" PRIu8 ""), prefix,
| ^~~~exit status 1
Fout bij het compileren voor board Generic ESP8266 Module
Dit rapport zou meer informatie bevatten met
"Uitgebreide uitvoer weergeven tijden compilatie"
optie aan in Bestand -> Voorkeuren.Welcome to the forum @MathieuMdejong
The problem looks very similar to https://forum.mysensors.org/topic/11692/gatawayesp8266-compile-error
-
Thanks. That was indeed the problem. It compiles fine!
-
Thanks. That was indeed the problem. It compiles fine!
-
Have the same problem and it is solved indeed by uing an ESP8266 Arduino version prior to 3.0.0. Thanks for the tip! But that is a temp solution only. Anyone an idea when a new version of MySensors will be there?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login