Creating Embedded Projects on Windows

This tutorial shows how to create a basic STM32 project using CodeVROOM on Windows. For other platforms, see the Linux and MacOS tutorials.

  1. Download the latest CodeVROOM executable and run it:
  2. You can run it in place or install to either %LOCALAPPDATA% or Program Files. Installation only takes a few seconds and can be easily undone via the Add/Remove Programs window. Once CodeVROOM is started or installed, its main window will look like this:
  3. Use the File->New->Project command or the toolbar button to create a new project:
  4. Select the Embedded project wizard:
  5. The Embedded Project Wizard is a simplified version of the VisualGDB’s project wizard and offers similar choices. Proceed with creating a default application:
  6. If you have tried VisualGDB on that machine, CodeVROOM will automatically pick up the toolchains and BSPs from it. If not, locate the ARM toolchain installer in the list and select it:
  7. Select the installation folder and press “Install”:
  8. Once the toolchain is installed, VisualGDB will display the devices compatible with that toolchain. Select the STM32F407VG (used in STM32F4-Discovery) and click “Install”:
  9. Once the device support is installed, CodeVROOM will show the device configuration options equivalent to the ones from VisualGDB. Proceed with the default settings:
  10. The next page allows selecting between basic samples and the samples from the device vendor (ST). Select the STM32CubeMX samples option:
  11. Pick the “FatFS_USBDisk” sample and click “Finish”:
  12. Once the project is loaded, use the Project->Build command to build it:Now that you got the project building, check this tutorial for an overview of editing features that are supported in the latest version.