Skip to main content

04 - Remote code upload

Uploading is done with Visual Studio Code (VS) using the PlatformIO tab

image-1648136519736.png

your code being already present on the router, you can now directly generate the binary files to be sent.
In general, only the General Build is to be done.
The Build Filesystem Image is only there to update the HTML pages when functionalities evolve.

image-1648136931479.png

once the build is done:

image-1648137170040.png

it shows where the firmware is.

all you have to do is connect with the internet browser on your pv router and go to the /update page

image-1648137301517.png


and upload the firmware

Case of a Filesystem update

In the case of updating the Filesystem (HTML file), it's the same procedure, you just have to take the Filesystem binary and select Filesystem.