OpenSprinkler Forums Hardware Questions OpenSprinkler Controller lockups / crashes with wired Ethernet module Reply To: Controller lockups / crashes with wired Ethernet module

#67745

Water_my_lawn
Participant

I am trying to compile the source. Here is the procedure that I followed which
is as close as possible to the procedure that you described. However I get
compile errors.

————————————————————-

#Get the code.
git clone https://github.com/OpenSprinkler/OpenSprinkler-Firmware.git
#Puts it in ~/OpenSprinkler-Firmware/

#Get the ESP8266 for Arguino stuff.
git clone https://github.com/esp8266/Arduino.git
#Puts it in ~/Arduino

git clone https://github.com/esp8266/Arduino.git esp8266_2.5.2
#Puts it in ~/esp8266_2.5.2

#Go into esp8266_2.5.2
cd esp8266_2.5.2
git checkout tags/2.5.2

cd tools
python get.py

#Install necessary libraries, including SSD1306, RCSwitch, and UIPEthernet.
#Download and unzip or git clone these into ~/Arduino/libraries folder.

cd ~/Arduino/libraries
git clone https://github.com/ThingPulse/esp8266-oled-ssd1306.git
git clone https://github.com/sui77/rc-switch.git
git clone https://github.com/UIPEthernet/UIPEthernet.git

#And this one which is new.
git clone https://github.com/knolleary/pubsubclient.git

cd ~/OpenSprinkler-Firmware

#There is an error in make.lin32:
#Replace this line:
~/Arduino/libraries/SSD1306 \

#with this line:
~/Arduino/libraries/esp8266-oled-ssd1306 \

make -f make.lin32

———————————————–

I get a series of errors like:

home/peter/Arduino/libraries/ESP8266WiFi/src/BearSSLHelpers.h:149:34: error: ‘virtual const unsigned char* BearSSL::HashSHA256::oid()’ marked override, but does not override
virtual const unsigned char *oid() override;

/home/peter/Arduino/libraries/ESP8266WebServer/src/Parsing-impl.h:139:15: error: ‘class String’ has no member named ‘isEmpty’
if (req.isEmpty()) break; //no more headers

I suspect that there is some version miss-match somewhere.

We are currently away till Sunday July 20. Orders placed during this time will be shipped on Monday July 21. Thank you for your understanding!
This is default text for notification bar