From bf4706e615ddbac9481444a2be27870f93f3502c Mon Sep 17 00:00:00 2001 From: Theo Arends Date: Sun, 20 Aug 2017 17:42:33 +0200 Subject: [PATCH] Updated PlatformIO (markdown) --- PlatformIO.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/PlatformIO.md b/PlatformIO.md index 4c95ceb5..f5750338 100644 --- a/PlatformIO.md +++ b/PlatformIO.md @@ -10,7 +10,14 @@ Install PlatformIO to a known folder. Download the latest Tasmota release Source code from https://github.com/arendst/Sonoff-Tasmota/releases and unzip to another known folder. ## Configure PlatformIO +### Copy files +Copy all files from the Tasmota release Source code into your platformIO base folder. +### Change IDE parameters +The default environment configuration generates multiple firmware variants. To build and/or flash exactly one of these, uncomment one of the *env_default* lines in file *platformio.ini*. +- *sonoff.bin* - the default firmware for all devices +- *sonoff-minimal.bin* - is interim firmware to be used when the above firmware images become too big to fit as OTA or web upload; installing this one first and THEN uploading the desired *sonoff.bin* allows for future firmware size growth over the OTA file limit of 1/2 flash size. +- *sonoff-ds18x20.bin* - is a version of *sonoff.bin* with the USE_DS18X20 define enabled and a larger MQTT buffer size to be used by people having more than 4 ds18x20 sensors connected. ## Compile Tasmota