UM1718

Installing and running STM32CubeMX

 

 

Auto-install mode

At end of an installation, performed either using STM32CubeMX graphical wizard or console mode, it is possible to generate an auto-installation script containing user preferences (see

Figure 4).

Figure 4. STM32Cube installation wizard

You can then launch the installation by typing, from a console window with administrator rights, the following command:

SetupSTM32CubeMX-VERSION-Win.exe ABSOLUTE_PATH_TO_AUTO_INSTALL.xml

3.2.3Uninstalling STM32CubeMX standalone version

Uninstalling STM32CubeMX on macOS®

There are two different ways to uninstall STM32CubeMX on Mac:

1.Move STM32CubeMX.VERSION.app to the trash

2.Use the following command line:

a)For STM32CubeMX 6.2.x and later versions only:

cd SetupSTM32CubeMX-VERSION.app/Contents/Resources/Uninstaller

./uninstall.sh

b)For STM32CubeMX 6.1.x and older versions only:

java -jar SetupSTM32CubeMXVERSION.app/Contents/Resources/Uninstaller/uninstaller.jar.

UM1718 Rev 41

33/453

Installing and running STM32CubeMX

UM1718

 

 

Uninstalling STM32CubeMX on Linux®

There are two different ways to uninstall STM32CubeMX on Linux:

1.From a shell prompt by launching the uninstall script

a)For STM32CubeMX 6.2.x and later versions:

cd <STM32CubeMX installation path>/Uninstaller uninstall.sh

b)For STM32CubeMX 6.1.x and older versions:

java -jar <STM32CubeMX installation path>/Uninstaller/uninstaller.jar.

2.From a file explorer

a)Go to <STM32CubeMX installation path>/Uninstaller

b)For STM32CubeMX 6.2.x and later versions: Double-click the uninstall.sh script

c)For STM32CubeMX 6.1.x and older versions: Double-click the start uninstall desktop shortcut.

Uninstalling STM32CubeMX on Windows®

There are three different ways to uninstall STM32CubeMX on Windows:

1.Through the Windows Control Panel:

a)Select Programs and Features from the Windows Control Panel to display the list of programs installed on your computer.

b)Right-click STM32CubeMX and select uninstall.

2.From a shell prompt with administrator rights, by using the following commands

a)For STM32CubeMX 6.2.x and later versions:

cd <STM32CubeMX installation path>/Uninstaller uninstall.bat

b)For STM32CubeMX 6.1.x and older versions:

java -jar <STM32CubeMX installation path>/Uninstaller/uninstaller.jar

3.Through a Windows File Explorer window:

a)For STM32CubeMX 6.2.x and later versions:

Go to the Uninstaller folder in STM32CubeMX installation directory. Right-click the uninstall.bat and “run as administrator”

b)For STM32CubeMX 6.1.x and older versions only:

Go to the Uninstaller folder in STM32CubeMX installation directory.

Double-click startuninstall.exe, or double-click the uninstall shortcut on the desktop.

34/453

UM1718 Rev 41

Соседние файлы в папке STM