OpenSprinkler › Forums › OpenSprinkler Unified Firmware › ESP32 port of 2.1.9 firmware › Reply To: ESP32 port of 2.1.9 firmware
draztik
Hello, I am having trouble compiling this. I have tried it with multiple versions of Arduino. I’m also a beginner when it comes to Arduino, I’ve only been using it for about a week so I’m sure it’s an error on my end. I even bought an identical esp32 board used in the example to see if that would help but I get the same errors. I’ll attach a copy of the error message that I get when I try to compile. In the error message it says I am missing “brzo_i2c.h” I did a search for this library and found it, when I add this library more errors show up.
Am I compiling this completely wrong? I started with a fresh install of Arduino, I downloaded the full zip from github named “OpenSprinkler-Firmware-ESP32port-master.zip”. I then open Arduino and click on,
Sketch>Include Library>Add.Zip Library and select “OpenSprinkler-Firmware-ESP32port-master.zip” and add it as a library. I then download and install the ESP32 Board support and add the three libraries mentioned in the Readme.
2. you need to have necessary libraries, including SSD1306, RCSwitch, and UIPEthernet.
– https://github.com/ThingPulse/esp8266-oled-ssd1306
– https://github.com/sui77/rc-switch
– https://github.com/UIPEthernet/UIPEthernet
This next step is where I was having trouble, I’m not even sure if this is the correct way of compiling I’ve only been doing this for about a week. I click File>Open and navigate to the Arduino library folder on my computer, open the OpenSprinkler-Firmware-ESP32-master folder and select the mainArduino.ino file. Then a window pops up saying the file needs to be inside a sketch folder named “mainArduino” create this folder? I click OK and create the new folder. I then click Sketch>Include Library and add the necessary libraries including OpenSprinkler-Firmware-ESP32port-master as one libraries. Is this the correct way to compile this?
I know the ESP32 isn’t officially supported and this isn’t an Arduino forum but hopefully someone can help me out.
Thanks