Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 1.19 KB

README.md

File metadata and controls

18 lines (15 loc) · 1.19 KB

How to setup a STM32 project for Align Racing?

  1. Download and install VSCode
  2. Download and install STM32CubeMX
  3. Download and install STM32CubeCLT
  4. In VSCode download and install the extension "STM32 VS Code Extension"
  5. In the extension tab, launch STM32CubeMX.
  6. In STM32CubeMX Create a new project by clicking "Access to MCU Selector"
  7. Select the MCU you are going to use, or search for "STM32G431CBT6" if you are only configuring for a test, and click "Start Project".
  8. Under the tab "Project Manager", choose a fitting Project name, Project Location and set the Toolchain / IDE to CMake.
  9. Import the CMake project in the extenstion.
  10. Open the new project folder in VSCode.
  11. You can now find the different build commands under the "Run and Debug" tab in VSCode.
  12. Try to Build!

Extra

If you want extra functionality, e.g. printing through RTT, and some nifty Align functions, you should go to Align Standard Library and follow the guide there as well.