You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
platformio run --target upload --upload-port IP_ADDRESS_HERE
59
-
```
60
-
- Specify [upload_port](http://docs.platformio.org/en/latest/projectconf.html#upload-port) option in `platformio.ini`
61
-
```ini
62
-
[env:***]
63
-
...
64
-
upload_port = IP_ADDRESS_HERE
65
-
```
66
-
67
-
### Authentication and upload options
68
-
69
-
You can pass additional options/flags to OTA uploader using [upload_flags](http://docs.platformio.org/en/latest/projectconf.html#upload-flags) option in `platformio.ini`
70
-
```ini
71
-
[env:***]
72
-
upload_flags = --port=8266
73
-
```
74
-
75
-
Availalbe flags
76
-
-`--port=ESP_PORT` ESP8266 ota Port. Default 8266
77
-
-`--auth=AUTH` Set authentication password
78
-
-`--spiffs` Use this option to transmit a SPIFFS image and do not flash the module
79
-
80
-
For the full list with availalbe options please run this command `~/.platformio/packages/framework-arduinoespressif/tools/espota.py -h`.
81
-
82
-
83
-
## IDE Integration
84
-
In addition, PlatformIO [can be integrated into the popular IDEs](http://docs.platformio.org/en/latest/ide.html). For example, initialise project for Espressif ESP8266 ESP-01 board and Eclipse IDE
85
-
```
86
-
platformio init --board esp01 --ide eclipse
87
-
```
88
-
Then [import project](http://docs.platformio.org/en/latest/ide/eclipse.html) using `Eclipse Menu: File > Import... > General > Existing Projects into Workspace`.
89
-
90
-
## Demo of OTA firmware uploading
68
+
## Demo of OTA update
91
69
[](http://www.youtube.com/watch?v=W8wWjvQ8ZQs"PlatformIO and OTA firmware uploading to Espressif ESP8266 ESP-01")
0 commit comments