OpenSprinkler Forums OpenSprinkler Unified Firmware How to compile the unified firmware Reply To: How to compile the unified firmware

#43022

pb
Participant

I am still struggling to get the unified firmware to compile. The instructions linked by Ray appear to be out of date and apply to the pre-unified firmware.

Steps I am performing using Windows 10:
– Install Arduino 1.0.6
– Install SdFat library from GitHub into $HOME\Arduino\libraries\SdFat
– Checkout OS hardware definitions from GitHub OS
– Copy aopensprinkler into $HOME\Arduino\hardware\
– Checkout OS-Fimrware from GitHub OS-Firmware into $HOME\Arduino\
– Change directory name of firmware to mainArduino
– Open Arduino and change board target to HW2.3
– Open .ino file $HOME\Arduino\mainArduino\mainArduino.ino
– Hit Verify

This fails with:

DS1307RTC.cpp:28:18: warning: Wire.h: No such file or directory
DS1307RTC.cpp: In constructor 'DS1307RTC::DS1307RTC()':
DS1307RTC.cpp:37: error: 'Wire' was not declared in this scope
DS1307RTC.cpp: In static member function 'static uint8_t DS1307RTC::detect()':
DS1307RTC.cpp:44: error: 'Wire' was not declared in this scope
DS1307RTC.cpp: In static member function 'static void DS1307RTC::read(tmElements_t&)':
DS1307RTC.cpp:81: error: 'Wire' was not declared in this scope
DS1307RTC.cpp: In static member function 'static void DS1307RTC::write(tmElements_t&)':
DS1307RTC.cpp:101: error: 'Wire' was not declared in this scope
DS1307RTC.cpp:112: error: 'Wire' was not declared in this scope
DS1307RTC.cpp: In static member function 'static void DS1307RTC::read(tmElements_t&)':
DS1307RTC.cpp:81: error: 'Wire' was not declared in this scope
DS1307RTC.cpp: In static member function 'static void DS1307RTC::write(tmElements_t&)':
DS1307RTC.cpp:101: error: 'Wire' was not declared in this scope
DS1307RTC.cpp:112: error: 'Wire' was not declared in this scope

Any ideas?