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
Copy file name to clipboardExpand all lines: README.md
+63
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,69 @@ python get.py
48
48
```
49
49
- Restart Arduino
50
50
51
+
### Using PlatformIO
52
+
53
+
[PlatformIO](http://platformio.org) is a cross-platform code-builder and library manager for embedded development with no external dependencies and support for Espressif platform. Works on the popular host OS: Mac OS X, Windows, Linux 32/64, Linux ARM (like Raspberry Pi, BeagleBone, CubieBoard). More details in documentation [What is PlatformIO? How does it work?](http://docs.platformio.org/en/latest/faq.html#general).
# lib - Put here project specific (private) libraries
87
+
# Do you want to continue? [y/N]: Y
88
+
```
89
+
- Place your source code to `src` directory
90
+
- Build/Upload project
91
+
```
92
+
# process/build project
93
+
platformio run
94
+
95
+
# build+upload firmware
96
+
platformio run --target upload
97
+
98
+
# build+upload firmware via OTA
99
+
platformio run --target upload --upload-port IP_ADDRESS_HERE
100
+
```
101
+
102
+
### IDE Integration
103
+
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
104
+
```
105
+
platformio init --board esp01 --ide eclipse
106
+
```
107
+
Then [import project](http://docs.platformio.org/en/latest/ide/eclipse.html) using `Eclipse Menu: File > Import... > General > Existing Projects into Workspace`.
108
+
109
+
### Demo of OTA firmware uploading
110
+
[](http://www.youtube.com/watch?v=W8wWjvQ8ZQs"PlatformIO and OTA firmware uploading to Espressif ESP8266 ESP-01")
0 commit comments