new platformio explanation

blakadder 2019-11-01 23:29:25 +01:00
parent ff44a3cae8
commit fd23f10253
3 changed files with 14 additions and 4 deletions

@ -13,10 +13,19 @@ Navigate to where you unpacked Tasmota and into /tasmota folder.
Open `my_user_config.h` and uncomment (remove `//`) line with `#define USE_CONFIG_OVERRIDE`. It should look like this:
`#define USE_CONFIG_OVERRIDE // Uncomment to use user_config_override.h file. See README.md`
> In PlatformIO you can edit [platformio.ini](https://github.com/arendst/Tasmota/blob/20370820b85acf282fbf7ebec38ef2a484921a16/platformio.ini#L225) instead. Go to root directory of source code and uncomment (remove `;`) line:
>
>`; -DUSE_CONFIG_OVERRIDE
In PlatformIO you can edit platformio.ini instead. Go to root directory of source code, open platformio.ini and find:
```
; *********************************************************************
; *** Uncomment, by deleting ";" in line below, to use custom settings from file user_config_override.h
; -DUSE_CONFIG_OVERRIDE
; *********************************************************************
```
and uncomment (remove `;`) from line:
```
-DUSE_CONFIG_OVERRIDE
```
Create a new file in /tasmota folder called `user_config_override.h`.

@ -58,6 +58,7 @@ More about [general configuration](https://github.com/arendst/Tasmota/wiki/Senso
- **SHT1x** - Temperature and Humidity sensor (I<sup>2</sup>C)
- [**SHT30**](Wemos-D1-Mini-and-SHT30-Shield-High-Precision-Humidity-&-Temperature) - Humidity & Temperature Sensor
- **SI114x** - UV Index, IR and Visible Light sensor (I<sup>2</sup>C)
- **Si7021** - Humidity and Temperature Sensor (I<sup>2</sup>C)
- [**Smart Meter Interface**](smart-meter-interface) - (Serial)
- **SolaX X1** - SolaX X1 inverter (Serial)
- **SPS30** - Particulate Matter (PM) - sensor (I<sup>2</sup>C)

@ -4,7 +4,7 @@ The boards are the same for all the series with only a difference in the T0 whic
# Flashing
The flashing steps are the same than for the [older T1 switch](https://github.com/arendst/Tasmota/wiki/Sonoff-T1) but holding switch 1 does not put the board into flashing mode and there is no reset button on the board
The flashing steps are the same than for the [older T1 switch](Sonoff-T1) but holding switch 1 does not put the board into flashing mode and there is no reset button on the board
So to put a T1 Touch v1.0 board into flash mode you need to ground GPIO 0 which is exposed on the back of the board and plug the board to USB