Updated Build and install firmware (markdown)
parent
24806837d6
commit
3f180c31ed
@ -7,6 +7,8 @@ Press both buttons at the same time (RST/BOOT), then first release the RST butto
|
||||
|
||||
## Build and compile
|
||||
|
||||
**NOTE**: The instructions below are for V2, V3 is available and highly recommended over V2. We will update the instructions soon.
|
||||
|
||||
To do this we need [Visual Studio Code](https://code.visualstudio.com/Download), [node.js](https://nodejs.org/en/download) and [yarn](https://classic.yarnpkg.com/lang/en/docs/install/#windows-stable).
|
||||
|
||||
Also you will need the [PlatformIO IDE for Visual Studio Code](https://platformio.org/install/ide?install=vscode)
|
||||
@ -15,24 +17,24 @@ Please follow the installation instructions before you continue.
|
||||
|
||||
When you successfully installed VSC (Visual Studio Code) follow the following steps to upload the code to the Wemos S3 Mini.
|
||||
|
||||
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/VSC_1.png" width="500"/>
|
||||
<img src="https://github.com/btclock/btclock_v2/blob/main/doc/VSC_1.png" width="500"/>
|
||||
|
||||
Add the repository from GitHub <https://github.com/dsbaars/btclock_v2.git> to VSC.
|
||||
Add the repository from GitHub <https://github.com/btclock/btclock_v2.git> to VSC (or https://github.com/btclock/btclock_v3.git for V3)
|
||||
|
||||
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/VSC_2.png" width="500"/>
|
||||
<img src="https://github.com/btclock/btclock_v2/blob/main/doc/VSC_2.png" width="500"/>
|
||||
|
||||
When you put in the URL just click on the button that appears (dsbaars/btclock_v2).
|
||||
|
||||
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/VSC_3.png" width="500"/>
|
||||
<img src="https://github.com/btclock/btclock_v2/blob/main/doc/VSC_3.png" width="500"/>
|
||||
|
||||
Select a repository directory and click "Select as Repository Destination" and click on open. Note: it can take some time to load all the necessary data. Please wait.
|
||||
|
||||
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/VSC_5.png" width="500"/>
|
||||
<img src="https://github.com/btclock/btclock_v2/blob/main/doc/VSC_5.png" width="500"/>
|
||||
|
||||
After all the data is loaded, click on PlatformIO (in the right standing menu)
|
||||
Then select "esp32wemos-s3-mini_BW (btclock_v2-1)" by "Switch PlatformIO Project Environment" in the under menu. (Some new data is loaded)
|
||||
Then select "env:default (btclock_v2)" by "Switch PlatformIO Project Environment" in the under menu. (Some new data is loaded)
|
||||
|
||||
<img src="https://github.com/dsbaars/btclock_v2/blob/main/doc/VSC_6.png" width="500"/>
|
||||
<img src="https://github.com/btclock/btclock_v2/blob/main/doc/VSC_6.png" width="500"/>
|
||||
|
||||
Now it's time to build the software. Expand the "General" and "Platform" menu and click on "Build" and "Build Filesystem image" (one at the time) After building is complete first connect your Wemos S3 Mini by an USB-C data cable to your MacBook or PC and put it in to boot mode, to put it in to boot mode you have to push both buttons on the S3 Mini at the same time but when releasing you have to release the reset button first. When the Wemos is in boot mode first upload the filesystem image by clicking "Upload Filesystem Image" after completing click under "General" "Upload". When complete your clock shut show you something like this
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user