Skip to content

Commit

Permalink
Add screenshots for vs-code
Browse files Browse the repository at this point in the history
to the readme.
  • Loading branch information
Joerg Elfring committed Jan 6, 2020
1 parent f279264 commit b3737f1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions README.md
Expand Up @@ -33,18 +33,23 @@ I use PlatformIO to build this. http://platformio.org/
* Once updated and restarted, clone the "mobile-rr" project to a folder and open the project in PlatformIO
* Next build the firmware by clicking the checkmark icon on the toolbar

![Build Firmware](doc/1.buildfirmware.png)
| Atom | Visual Studio Code |
:-----------------------------------------:|:-----------------------------------------------:|
![Build Firmware](doc/1.buildfirmware.png) | ![Build Firmware](doc/1.buildfirmware_vscode.png)

## Upload Firmware and SPIFFS data
After your firmware build is successful you can upload it by clicking the arrow under the checkmark in the PlatformIO toolbar.

![Upload Firmware](doc/2.uploadfirmware.png)
| Atom | Visual Studio Code |
:-------------------------------------------:|:-------------------------------------------------:|
![Upload Firmware](doc/2.uploadfirmware.png) | ![Upload Firmware](doc/2.uploadfirmware_vscode.png)

You can add/edit the files in the "www" folder to your liking. (Files in the "www" folder will be cloned and gzipped to the "data" folder when building.) Then follow the instructions below to build and upload the SPIFFS file system image to your ESP8266.

![Upload SPIFFS 1](doc/3.uploadspiffs.png)

![Upload SPIFFS 2](doc/4.uploadspiffs.png)
| Atom | Visual Studio Code |
:-----------------------------------------:|:-----------------------------------------------:|
![Upload SPIFFS 1](doc/3.uploadspiffs.png) | ![Upload SPIFFS 1](doc/3.uploadspiffs_vscode.png)
![Upload SPIFFS 2](doc/4.uploadspiffs.png) | ![Upload SPIFFS 2](doc/4.uploadspiffs_vscode.png)

**Note: Anytime you make changes to the firmware or the data you can rebuild and upload either without the need to install the other again. They reside in different areas of the flash memory.**

Expand Down
Binary file added doc/1.buildfirmware_vscode.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/2.uploadfirmware_vscode.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/3.uploadspiffs_vscode.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/4.uploadspiffs_vscode.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b3737f1

Please sign in to comment.