Skip to content

Nucleo Cube IDE Install Guide

wisabel0 edited this page Sep 17, 2023 · 3 revisions

Table of Contents

About CubeIDE
Installation Guide
Navigating CubeIDE

About CubeIDE

Similar to the Arduino IDE, STM32CubeIDE allows the user to write, compile, and flash code to the STM32 microcontroller! The IDE is based on the Eclipse framework and contains the GCC compiler and GDB debugging tool for in program compilation and debugging. The IDE also has flashing functionality for easy and quick programming of the STM32 microcontroller. The IDE provides a very powerful interface for automatic code generation, allowing the user to initialize an entire module with a few clicks of a button, and have that code show up automatically in the main file. The STM32CubeIDE is available for free at ST Microcontroller's website here: Cube IDE link

Downloading and Installing CubeIDE

Downloading CubeIDE

  1. Go to this website: CubeIDE Download Link and scroll down to the Get Software box image

  2. Click on "Select Version -> 1.12.1" for the correct OS you are running. For this walkthrough, we will be using the Windows Installer. For MacOS and Linux, follow the necessary steps for the corresponding OS.

  3. Click on Accept for the License pop up and the below window should pop up. Put in your name and email address and check the "I have read and understood" box. For this you do not need to use your umich email address, or if you have an account for my.st.com you can login and continue. image

  4. ST will send you a download link for the CubeIDE in an email to the email address you provided. Make sure to check your junk mail folder if the email doesn't arrive within a reasonable amount of time. The email should look like the image below, click "Download now" and a zip folder should begin to download. image

Installing CubeIDE

  1. To install CubeIDE, find and open the downloaded zip folder and click on the .exe file within. This should open up the CubeIDE installer which looks like the image below. Make sure to click yes on any pop ups that Windows throws to continue the installation. Click "Next".
    image

  2. Click "I agree" to the terms and conditions page, and choose an installation folder location. Click "Next".
    image

  3. The "Choose Components" window should pop up, by default both boxes should be checkmarked, leave them be and click "Install".
    image

The installation process should begin and CubeIDE will install all necessary packages. Make sure to click Yes to any Windows security prompts that might show up. This process may take awhile.

Once completed, click "Next", and "Finish". By default a desktop shortcut should have been created, you can click this to launch the STM32CubeIDE.

Launching CubeIDE

On launching CubeIDE, you will generally be prompted with the window below asking for the workspace directory. It is incredibly important you make sure the correct workspace has been selected prior to launching the application. You may need to change the workspace directory to point towards the local mrover-workspace repository on your computer. Instructions for creating and using the mrover-workspace repository are located in the Software google drive folder, and the readme for the repository.
image

Congratulations you are ready to begin exploring and developing on the STM32CubeIDE!

Clone this wiki locally