Skip to main content

How to build and Flash

Setup Visual studio Code

The VS code setup Instructions are available in Getting Started.

  • Setup Visual studio code according to the Host operating system.
  • Install PlatformIo extension inside VS code
  • Install STM32 Platform in PlatformIo
  • Install Board support packages for STM32G0C038T6
  • Select the board and Framework as Arduino

Building and Flashing Application:

To build the application, clone the affbotics_software repo and go to the folder BLDC_driver

  • Pull the repository locally
  • Navigate to the directory affbotics_software/firmware/avg/BLDC_driver/
  • Select the COM port
  • Click Upload