Comments (6)
Thanks for using PlatformIO! 🙏
We see you use outdated EPS32 dev-platform. Do you have any issues with the latest 6.x version https://github.com/platformio/platform-espressif32/releases ?
from arduino.
Dear Ivan,
thanks for your swift response, and your suggestion to use more recent packages.
I've been conservative in bringing in the PlatformIO configuration, and nailed the SDKs roughly to versions they had at the time the corresponding programs have been conceived. Now, upgrading the ESP32 platform SDK works well, see GH-68.
However, upgrading ESP8266 with GH-67 failed at 1. It is probably our fault, because we are using other outdated libraries, or such.
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, or do you think it can be safely removed? Maybe there are better techniques "to turn off logging" in a similar manner. On the other hand, it may have been utter nonsense ;]. Please advise, if you have the patience for our naivity.
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
from arduino.
The next spot are the firmwares based on Homie, where this happens when updating to espressif8266@^3
or higher:
Homie/Boot/BootConfig.cpp:282:20: error: call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)
282 | _httpClient.begin(url);
| ~~~~~~~~~~~~~~~~~^~~~~
*** [.pio/build/esp07/lib5c7/Homie/Homie/Boot/BootConfig.cpp.o] Error 1
-- https://github.com/hiveeyes/arduino/actions/runs/5113969818/jobs/9193750333?pr=67#step:9:267
They are still using marvinroger/Homie@^2
, while marvinroger/Homie@^3
is already available. Updating the programs in this repository to use the most recent version of Homie may help on this matter. /cc @Gulaschcowboy, @marvinroger
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/homie/node-homie-basic
make
from arduino.
Hi again. 4b45797 and 6d72ad6 were needed to stay on espressif8266@^2
on both of the occasions reported above. Other than this, all other updates, effectively not nailing platform SDK versions any longer, succeeded on CI, and have been merged. Thanks again.
from arduino.
With GH-69, I tried to update the platform SDK for AVR, and it also failed. However, after investing a bit here, I can surely say 22c6da6 makes me happy, by being able to dissolve another StandardCplusplus library fork we needed to use the other day, because mike-matera/ArduinoSTL did not work for us back then. Now, it does -- this is excellent. 💯
from arduino.
Hi. I've created GH-71 and GH-72 to follow up on this. Closing this now, in order not to send too many notifications to all people tagged here. Thanks, and keep up the spirit.
from arduino.
Related Issues (19)
- ADS1231 library error build on arduino due HOT 15
- Getting wrong values from the HX711 HOT 3
- Issue in Compiling Library "ADS1231.H" for Arduino MKR1000 Board HOT 6
- Failure to clone recursively (libraries/Watterott-Arduino-Libs) HOT 2
- Update HX711 library HOT 1
- Use ADS123X library by Hamid Saffari
- "node-esp8266-generic" fails to compile HOT 3
- "node-wifi-mqtt" fails to compile HOT 3
- "node-esp32-generic" fails to compile
- Make "node-terkin-next" build on ESP32
- Improving power-down for HX711 on ESP32
- Update Adafruit_MQTT_Library
- Phase out libDHT, use DHTNew HOT 1
- Refactor ADS1231 library to dedicated repository HOT 1
- Abhängigkeiten der Bienenwaage 2.0 und 5.0 aktualisieren HOT 1
- Abhängigkeiten der Firmware des »Mois sensor node« aktualisieren HOT 1
- Dependencies: Update platform SDK for `node-wifi-mqtt.ino` program
- Dependencies: Update platform SDK for Homie programs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino.