Download and install VSCode.
Install PlatformIO extension for VSCode.
You can checkout Install PlatformIO for more information.
Clone this repository to your local machine with --depth=1 option to reduce download size.
$ git clone --depth=1 https://github.com/anyshake/explorer.gitIf you don't have git installed, you can download the source code as a .zip or .tar.gz archive, extract it and cd into the directory. However, you will not be able to update the source code with git pull.
- github.com/anyshake/explorer/archive/refs/heads/master.zip
- github.com/anyshake/explorer/archive/refs/heads/master.tar.gz
Open the firmware directory in VSCode, wait for PlatformIO to install dependencies.
After dependencies are installed, you can build the firmware with PlatformIO.
- Click PlatformIO icon on the left sidebar
- Click Default > General > Build
Ensure the ST-Link is connected to the device correctly (SWCLK->CLK, SWDIO->DIO, GND->GND), then connect the ST-Link to your PC with USB.
Make sure the ST-Link is recognized by your PC, then you can flash the firmware with PlatformIO.
- Click PlatformIO icon on the left sidebar
- Click Default > General > Upload
The device will be reset after the firmware is uploaded.