Selecting ESP Core

Michael Ingraham 2019-08-07 10:00:30 -04:00
parent 3a25e39438
commit b5aa978876
1 changed files with 3 additions and 1 deletions

@ -33,7 +33,9 @@ The proper method of customizing firmware compilation options is to use the `use
2. Create a new file called `user_config_override.h` 2. Create a new file called `user_config_override.h`
3. In the Editor (2) pane, change, add, or remove anything you need in your configuration file to define your own settings. Refer to the `user_config_override_sample.h` file as well as `my_user_config.h` for `#define` options. You can find a list of Tasmota features supported listed [here](https://github.com/arendst/Sonoff-Tasmota/wiki/Builds). Define the features you require in your configuration file. 3. In the Editor (2) pane, change, add, or remove anything you need in your configuration file to define your own settings. Refer to the `user_config_override_sample.h` file as well as `my_user_config.h` for `#define` options. You can find a list of Tasmota features supported listed [here](https://github.com/arendst/Sonoff-Tasmota/wiki/Builds). Define the features you require in your configuration file.
4. Open the `platformio.ini` file located in the `/Sonoff-Tasmota` root directory (scroll to the bottom of the file Explorer pane) 4. Open the `platformio.ini` file located in the `/Sonoff-Tasmota` root directory (scroll to the bottom of the file Explorer pane)
5. In the Editor (2) pane, find the `[common]` section and uncomment (remove the semicolon `;` at the beginning of the line) `-DUSE_CONFIG_OVERRIDE` 5. In the Editor (2) pane, a leading semicolon `;` comments out (disables) a statement:
- In the `[common]` section, enable `-DUSE_CONFIG_OVERRIDE` if using your own `user_config_overrid.h`
- In the `[core_active]` section, enable the `platform` and `build_flags` lines for the desired core
![Edit platformio.ini](https://i.imgur.com/AQml2kI.png) ![Edit platformio.ini](https://i.imgur.com/AQml2kI.png)