frightanic
New Member
Posts: 35
Raspberry Pi: Yes
Other Device: OurWeather (ESP8266), lots of ESP8266/ESP32 modules
|
Post by frightanic on Sept 21, 2018 23:13:11 GMT -8
I fetched the latest version of the software from GitHub and tried to compile it against ESP8266 Arduino-core 2.4.2. Compilation fails with some errors from 2.4.2/libraries/Wire/Wire.h. Is this supposed to work? UpdateThe wire.h thing deflects the real problem. In 2.4.2 WPS is disabled by default (a good thing actually). The WiFiManager fixed this upstream in v0.14 (through github.com/tzapu/WiFiManager/pull/645) but since SDL kind-of forked the WiFiManager this has to be applied to OurWeather as well. I'll raise a PR for that. However, looking at the state of the repository on GitHub (pending PRs, no feedback to issues) I'm not sure if it's really worth the effort.
|
|
|
Post by SDL on Sept 26, 2018 10:17:58 GMT -8
We are planning on using the new libraries. I'll get back to you on this later today.
BP
|
|
|
Post by SDL on Sept 28, 2018 10:04:39 GMT -8
Running on Arduino 1.8.5
Updated ESP8266 libraries to: 2.4.2
SDL_ESP8266_WeatherPlus compiles correctly with the usual warnings about wire.h present since way back in 1.x.x
Got the following error. I'll merge your changes.
Archiving built core (caching) in: /var/folders/pb/vz1sx7f15255v63w9hp_drmh0000gn/T/arduino_cache_209294/core/core_esp8266_esp8266_huzzah_CpuFrequency_80,VTable_flash,FlashSize_4M1M,LwIPVariant_v2mss536,Debug_Disabled,DebugLevel_None____,FlashErase_none,UploadSpeed_115200_b60404807fa65e8980ed269c177c5550.a sketch/WiFiManager.cpp.o: In function `WiFiManager::waitForConnectResult()': sketch/WiFiManager.cpp:825: undefined reference to `WPS_is_unavailable_in_this_configuration__Please_check_FAQ_or_board_generator_tool' sketch/WiFiManager.cpp.o: In function `WiFiManager::startWPS()': sketch/WiFiManager.cpp:825: undefined reference to `WPS_is_unavailable_in_this_configuration__Please_check_FAQ_or_board_generator_tool' collect2: error: ld returned 1 exit status
Could you post your errors if they are different?
BP
|
|
|
Post by SDL on Sept 28, 2018 10:26:41 GMT -8
Changes merged and then Version number updated to V034. Thank you for your help frightanic!
BP
|
|
frightanic
New Member
Posts: 35
Raspberry Pi: Yes
Other Device: OurWeather (ESP8266), lots of ESP8266/ESP32 modules
|
Post by frightanic on Sept 28, 2018 11:12:37 GMT -8
Hhhmm, that's kind of a contradiction, no They are not. They're exactly the ones I fixed in the PR you just merged.
|
|
|
Post by SDL on Sept 28, 2018 13:59:35 GMT -8
Type too fast and bad things happen! Thank you again.
BP
|
|