Added some macOS specific comments.

Rob de Jonge 2018-11-10 15:03:48 +07:00
parent 62b0af7d92
commit b13ef53938
1 changed files with 7 additions and 6 deletions

@ -6,13 +6,14 @@ How to setup and configure Arduino IDE for Tasmota compilation and upload.
I prefer a *dedicated standalone version* of the IDE allowing easy ESP8266 file manipulation and library management. This can be achieved by downloading the Arduino IDE ZIP file for non admin install.
## Install Arduino IDE
- Unzip the installation file to a known folder.
- Windows: Unzip the installation file to a known folder.
- Mac: Move the .app file into your Applications folder.
IMPORTANT: Before executing *arduino.exe* add an empty folder called *portable* in the known folder.
IMPORTANT: For Windows users, before executing *arduino.exe* add an empty folder called *portable* in the known folder.
### Install ESP8266 board software
- Open Arduino IDE and select ``File`` - ``Preferences`` and add the following text for field *Additional Boards Manager URLs:* ``http://arduino.esp8266.com/stable/package_esp8266com_index.json`` and select *OK*.
- Open ``Tools`` - ``Boards ...`` - ``Boards Manager ...`` and scroll down and click on *esp8266 by ESP8266 Community*. Click the *Install* button to download and install the latest ESP8266 board software. Select *Close*.
- Open Arduino IDE and select ``File`` → ``Preferences`` (``Arduino`` → ``Preferences`` on Mac) and add the following text for field *Additional Boards Manager URLs:* ``http://arduino.esp8266.com/stable/package_esp8266com_index.json`` and select *OK*.
- Open ``Tools`` → ``Boards...`` → ``Boards Manager...`` and scroll down and click on *esp8266 by ESP8266 Community*. Click the *Install* button to download and install the latest ESP8266 board software. Select *Close*.
## Download Tasmota
- Download the latest Tasmota release Source code from https://github.com/arendst/Sonoff-Tasmota/releases and unzip to another known folder.
@ -33,6 +34,7 @@ Remove default compile options for floating point ``printf`` and ``scanf`` which
#### For all versions
- Copy all files from the Tasmota release Source code folder *lib* into your *sketchbook\libraries* folder.
- Copy the Tasmota release Source code folder *sonoff* to your *sketchbook*.
- Note: your *sketchbook* location can be found in the Arduino IDE preferences, default on the Mac is ``~/Documents/Arduino``.
## Configure Arduino IDE
@ -97,4 +99,3 @@ If a webserver is available you can upload the compiled firmware using optional
- Make sure that ``Tools`` - ``Upload Using: "OTA_upload"`` is selected.
- Upload the compiled firmware to the OTA server with ``Sketch`` - ``Upload``.