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
51
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
+
52
82
53
83
## IDE Integration
54
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
0 commit comments