Updated Installing the software (markdown)

Mateusz Walkowiak
2023-07-29 23:03:49 +02:00
parent 2914ddc0a6
commit 82256c6aac

@@ -14,22 +14,28 @@ If you are Windows user or you just don't have git installed on your PC just dow
We recommend using [Arduino IDE](https://www.arduino.cc/en/software/) for compiling the code. If you don't have it installed please visit official Arduino's website to download it.\
After installing Arduino IDE you need to download board definitions for ESP32.
1. Open Arduino IDE and in File tab select Preferences.
1. Open Arduino IDE and in File tab select Preferences.\
![](https://i0.wp.com/randomnerdtutorials.com/wp-content/uploads/2016/12/arduino-ide-open-preferences.png?w=196&quality=100&strip=all&ssl=1)
2. At the bottom you will see Additional Board Manager URLs field. You need to fill it with:\
``https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json``
Then click OK button
![](https://s7.fmdx.pl/random/preferences.png)
3. Now we need to open Board Manager. Select Tools > Board > Boards Manager
![](https://i0.wp.com/randomnerdtutorials.com/wp-content/uploads/2018/06/boardsManager.png?w=628&quality=100&strip=all&ssl=1)
4. Search for ESP32 it should pop up (by Espressif Systems). Then click install
5. After installing close the window by clicking OK.
![](https://i0.wp.com/randomnerdtutorials.com/wp-content/uploads/2018/06/installing.png?w=786&quality=100&strip=all&ssl=1)
5. After installing close the window by clicking Close.
6. Select again Tools > Board and from ESP32 list search for ESP32 Dev Module. Then select it.
![](http://s7.fmdx.pl/random/boards.png)\
Now extract your previously downloaded code to folder named TEF6686_ESP32
1. Double-click on TEF6686_ESP32.ino file to open it in Arduino IDE.
- If you didn't download libraries please follow these steps. Otherwise move to next step.
- In this step you need to download 3 ZIP libraries (TFT_eSPI, TimeLib, Hash). Links to them are included in the code (at the beginning of INO file)
- Don't extract downloaded ZIP files. Move to Arduino IDE and select Sketch > Include Library > Add .ZIP library
![](https://cdn-0.tutorial45.com/wp-content/uploads/2017/09/5-add-arduino-library.png)
- Select downloaded libraries. After adding 3 libraries you can move to the next step.
2. In the Arduino IDE Board Manager set the Partition scheme to Huge APP. (3MB APP / 1MB SPIFFS)
![](https://s7.fmdx.pl/random/scheme.png)
3. Modifying TFT_eSPI configuration. If you done that before please move to the next step.
- Open your User_Setup.h file (located in Documents/Arduino/libraries/TFT_eSPI folder) with these values:
```
@@ -54,7 +60,7 @@ Now extract your previously downloaded code to folder named TEF6686_ESP32
## Releases
1. Hold your BOOT button* on your ESP32 and plug USB cable from ESP to your computer. Make sure that tuner is turned on but the screen is off.
2. Extract downloaded ZIP file and run ``flash.bat`` file.
3. Enter your COM port number (if not sure go to step 3a)
3. Enter your COM port number (script will list all available ports if not go to step 3a)
- Press WIN+R and type ``devmgmt.msc`` or just run your Device Manager.
- Your ESP32 should pop-up in Ports section with port name in the brackets that you need to give in flash.bat script
4. The script will upload code to your ESP and end with "Leaving... Hard resetting via RTS pin..." message.