Hello,
I just tried to compile the new firmware after:
—————
~/OpenSprinklerGen2 $ sudo git pull
—————
I received the following error message:
—————
~/OpenSprinklerGen2 $ sudo ./build.sh ospi
Building OpenSprinkler…
gpio.cpp: In function ‘void attachInterrupt(int, const char*, void (*)())’:
gpio.cpp:411:14: error: ‘delay’ was not declared in this scope
delay(1) ;
^
Done!
—————-
What can I do to solve this compileation error?
I was just starting to setup my new OSPI, and got the same error. I reverted to the version 5/15/18 and it is at least loading now.
To revert, run: git checkout <sha1> from the OpenSprinkerGen2 directory. The SHA1 for the 5/15 version is fd7cdada9d89cf6102c731a70157ec66145f643a
The compilation error is fixed, but there is an UI/app related issue that prevents it from changing any option in firmware. See my comment here: https://github.com/OpenSprinkler/OpenSprinkler-Firmware/issues/67
Instructions:
Using git you can check out that particular version by: git checkout fd7cdada9d89cf6102c731a70157ec66145f643a
then compile the firmware again by ./build.sh ospi
and reboot.
@rblond: please clear your browser history, or use a private browsing window, to force the browser to use up-to-date UI files; or update your mobile app if you use mobile app. The current app version is 1.7.7.
We are currently away till Friday, January 24. Any orders placed during this period will be shipped on Saturday, January 25. Thank you for your understanding! Dismiss