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
Updating the ESP8266 SDK on the node-wifi-mqtt.ino program to espressif8266@^3 with GH-67 failed at 1. It is probably our fault, because we are using other outdated libraries, or such.
Observations
After looking into the details, it turns out joaolopesf/SerialDebug might trip the build, as we receive similar error messages like outlined in JoaoLopesF/SerialDebug#20 when updating to espressif8266@^3.
SerialDebug.cpp:2384:46: error: reference to 'byte' is ambiguous
SerialDebug.cpp:2384:46: error: 'byte' has not been declared
SerialDebug.cpp:2486:61: error: reference to 'byte' is ambiguous
SerialDebug.cpp:5608:21: error: expected primary-expression before '(' token
Regarding this SerialDebug library, I can find those comments in the changelog of the node-wifi-mqtt.ino program we are trying to build here:
2017-04-07 Silence debug output by using SerialDebugger to reduce battery drain even more.
2021-05-02 Modernize code by using the SerialDebug library by Joao Lopes and
add build environment based on PlatformIO.
Is it sane? Do we need it for the purposes outlined there, to reduce battery drain even more? Can it be safely removed? Maybe there are better techniques "to turn off logging at runtime" in a similar manner. On the other hand, using the SerialDebug library may have been utter nonsense ;].
With kind regards,
Andreas.
P.S.: Those commands should get anyone interested to the right spot quickly.
git clone https://github.com/hiveeyes/arduino hiveeyes-arduino --branch amo/update-esp8266-sdk
cd hiveeyes-arduino/backdoor/node-wifi-mqtt
make
Original: #58 (comment)
Problem
Updating the ESP8266 SDK on the
node-wifi-mqtt.ino
program toespressif8266@^3
with GH-67 failed at 1. It is probably our fault, because we are using other outdated libraries, or such.Observations
After looking into the details, it turns out joaolopesf/SerialDebug might trip the build, as we receive similar error messages like outlined in JoaoLopesF/SerialDebug#20 when updating to
espressif8266@^3
.Regarding this
SerialDebug
library, I can find those comments in the changelog of thenode-wifi-mqtt.ino
program we are trying to build here:Is it sane? Do we need it for the purposes outlined there, to reduce battery drain even more? Can it be safely removed? Maybe there are better techniques "to turn off logging at runtime" in a similar manner. On the other hand, using the
SerialDebug
library may have been utter nonsense ;].With kind regards,
Andreas.
P.S.: Those commands should get anyone interested to the right spot quickly.
git clone https://github.com/hiveeyes/arduino hiveeyes-arduino --branch amo/update-esp8266-sdk cd hiveeyes-arduino/backdoor/node-wifi-mqtt make
Footnotes
https://github.com/hiveeyes/arduino/actions/runs/5113724917/jobs/9193256917?pr=67#step:8:130 ↩
The text was updated successfully, but these errors were encountered: