OpenSprinkler Forums OpenSprinkler Unified Firmware Modifying the firmware Reply To: Modifying the firmware

#47743

Ray
Keymaster

Update: just added a more completed set of instructions to this support article:
https://openthings.freshdesk.com/solution/articles/5000165132-how-to-compile-opensprinkler-firmware

=========================

Not yet, sorry about the lack of clear instructions for OS 3.0. Here are the basic steps:
– Download firmware code from:
https://github.com/OpenSprinkler/OpenSprinkler-Firmware

– Install makeEspArduino:
https://github.com/plerup/makeEspArduino
(use ESP8266 core 2.2.0 as the firmware hasn’t been tested with 2.3.0 yet)

– Install the SSD1306 (for ESP8266) library:
https://github.com/squix78/esp8266-oled-ssd1306

– Use the makefile (the firmware files contain a Makefile.esp8266):
https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/Makefile.esp8266
You need to change the ESP_ROOT pointer in the makefile, and when uploading firmware you need to change the UPLOAD_PORT to match the serial port that appears in your system. The rest should work just fine.