Winnie the school development environment ready --STM32CubeMX software installation instructions

1, the development environment to obtain the installation package

Cubs send the open source community has put together common development tools Download for everyone, including embedded hardware development, embedded software development, application software development tools, available in the Download dialog box numbers in public.

2, STM32CubeMX Introduction

STM32CubeMX configuration and initialization is C code generated graphics tools (STM32 configurationand initialization C code generation), as shown below.

3, install the Java environment (JRE)

Because STM32CubeMX is written in Java, so you need to install the Java Runtime Environment (JRE, Java runtime Environment) on your computer, it is recommended to select Java 8 or a later version installed JRE.

There are two ways to install the JRE:

  • Separate mounting Jre;
  • Installed directly Developers Kit JDK, which include the JRE, so the future can be used to develop Java.

Here we can directly download the open source community to provide a common tool in the JRE installer, and double-click to install it.

4, get STM32CubeMX

STM32CubeMX STM32 can access the official website (  https://www.st.com/en/development-tools/stm32cubemx.html

Then download the consent agreement, fill out some information, ST will send a message to fill in the mailbox, click the link in the message to download.

5, the installation STM32CubeMX

Unzip the downloaded archive, which contains the installation package of three platforms and a release notes, where we choose to install the package on Windows platform:

Double click the installer, the installation process is as follows:

Select whether to agree to the license agreement:

Select STM32CubeMX installation directory, be careful not to have a Chinese or a space:

If this directory does not exist, you will be prompted to create the directory:

Choose to create a desktop shortcut:

installing...

After installation is complete as shown:

Finally, select whether to record the process just installed, and create an installation script, the script can be executed directly next to complete the installation process

Desktop icons are as follows:

6, obtain and install STM32Cube MCU Packages

There are two STM32Cube MCU Packages installation:

  • Online installed in STM32CubeMX in;
  • Get STM32Cube MCU Packages ST in the official website and offline installation;

Online installation STM32Cube MCU Packages

Open STM32CubeMX, select Help->Manage embedded software packages :

In the list of packages required on check  MCU Packages, click on Install Now :

Installation (relatively fast download speed ha):

Offline installation STM32Cube MCU Packages

First, the packages list ST official website to find the packages you need, click name to jump:

Click for after the jump in the past, start downloading packages:

As shown (do not extract) After downloading:

 

Import package to STM32CubeMX

Open STM32CubeMX package manager (as above), click on From Local:

Select Open to import the package:

Click Open to successfully imported.

So far, we have installed the MCU Package STM32CubeMX and STM32L4 of,

 

 

Guess you like

Origin www.cnblogs.com/YuchuanHuaying/p/12455668.html