arduino icon indicating copy to clipboard operation
arduino copied to clipboard

Dependencies: Update platform SDK for Homie programs

Open amotl opened this issue 2 years ago • 0 comments

Original: https://github.com/hiveeyes/arduino/issues/58#issuecomment-1567364271

Problem

Updating the ESP8266 SDK on the Homie programs to espressif8266@^3 with GH-67 failed at [^1].

Observations

When updating to espressif8266@^3 or higher, this happens:

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

Thoughts

The programs 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

amotl avatar May 29 '23 20:05 amotl