From b13ef539381acda259864c9ddb647ec570e38848 Mon Sep 17 00:00:00 2001 From: Rob de Jonge Date: Sat, 10 Nov 2018 15:03:48 +0700 Subject: [PATCH] Added some macOS specific comments. --- Arduino-IDE.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Arduino-IDE.md b/Arduino-IDE.md index 4e959179..973f5831 100644 --- a/Arduino-IDE.md +++ b/Arduino-IDE.md @@ -6,16 +6,17 @@ 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. +- Download the latest Tasmota release Source code from https://github.com/arendst/Sonoff-Tasmota/releases and unzip to another known folder. ### Copy files #### ESP8266 Board version **before** 2.4.0 @@ -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``. -