- Install the latest version of Visual Studio Code.
- Once installed, install Python 3.9.7 from here NOTE: DO NOT INSTALL FROM MICROSOFT STORE. IT WILL NOT WORK!
- Once that is installed, install Visual Studio from here and when the install dialog opens, make sure to check "Desktop Development with C++"
- Once all of these are installed, open Visual Studio Code.
- Go to extensions, and search up "PlatformIO IDE". Install that
- Once PlatformIO is installed, click on it on the sidebar.
- Then, once in that menu, go to "Platforms", click "Embedded", and search "ST" and look for "ST STM32". It should be the first result.
- Click on ST STM32 and install it.
- Then, go and download this repository by clicking on "Code" and then "Download ZIP". Unzip the file that downloads.
- Open the Unzipped file, and then navigate to buildroot/driver/CH341SER.zip.
- Unzip that file, and then run setup. Hit install on the dialoge box that pops up.
- Once done, go back to the root of the unzipped folder and navigate to buildroot/lib
- Copy the folder [email protected] to C:/Users/(Your username)/.platformio/packages and then once copied, restart Visual Studio Code.
- Once Visual Studio Code is open, open back up PlatformIO, and click on home.
- Click on open project, and navigate to the original unzipped folder. Once in that folder, click on "Open MiniDeltaV2firmware-main".
- Once the project is opened, click on the PlatformIO icon again. Wait for the "Project Tasks" to load. If they don't load, hover over the Project Tasks and then click on the reload button that appears.
- Once Project Tasks are loaded, click build. This will take a while
- You're done! You now have a fresh firmware.bin file ready to flash.