|
|
@@ -2,7 +2,8 @@ |
|
|
|
|
|
|
|
1. Download and install [Visual Studio Code](https://code.visualstudio.com/download) |
|
|
|
2. Install [PlatformIO IDE extension](https://platformio.org/install/ide?install=vscode) for Visual Studio Code |
|
|
|
3. Create [wifi_credentials.h](include/wifi_credentials.h) from [templ_wifi_credentials.h](include/templ_wifi_credentials.h) in include/ |
|
|
|
3. Download sources from master branch, "zip" or "git clone" |
|
|
|
4. Create [wifi_credentials.h](include/wifi_credentials.h) from [templ_wifi_credentials.h](include/templ_wifi_credentials.h) in include/ |
|
|
|
|
|
|
|
```cpp |
|
|
|
#ifndef __WIFI_CREDENTIALS_H |
|
|
@@ -16,13 +17,13 @@ |
|
|
|
#endif // __WIFI_CREDENTIALS_H |
|
|
|
``` |
|
|
|
|
|
|
|
4. Create [platformio.ini](platformio.ini) from [templ_platformio_ini](templ_platformio_ini) |
|
|
|
5. Create [platformio.ini](platformio.ini) from [templ_platformio_ini](templ_platformio_ini) |
|
|
|
|
|
|
|
```bash |
|
|
|
$ cp templ_platformio_ini platformio.ini |
|
|
|
``` |
|
|
|
|
|
|
|
5. __Uploading new firmware__ |
|
|
|
6. __Uploading new firmware__ |
|
|
|
```bash |
|
|
|
# upload program via ota |
|
|
|
$ pio run -t upload |