Build options
Build action
Default:
Build, load, and run
Build, load, and run
With this option, pressing
Ctrl+B
or clicking Build Model:Generates code from the model.
Compiles and links the code into an executable with libraries.
Loads the executable and libraries into the STMicroelectronics® Discovery board.
Runs the executable in the STMicroelectronics Discovery board.
Build
With this option, pressing
Ctrl+B
or clicking Build Model:Generates code from the model.
Compiles and links the code into an executable with libraries.
This option does not load and run the executable on the STMicroelectronics Discovery board.
Runtime library
Select runtime library as Reduced C
or Standard
C
.
Disable parallel build
Select to compile the generated code in parallel order for faster build.
on
– When you select this option, the support package compiles generated code in a sequential order.off
– When you clear the option, the support package compiles generated code parallely. Parallel execution reduces the time taken to build the model.
Browse
Browse to select the STM32CubeMX project file.
Create
Create a STM32CubeMX project for a STM32F4xx based hardware board or Custom STM32F4xx based .
Specify the Project name, browse to select the Project folder, and Select hardware.
You can also select Custom STM32F4xx based hardware. For
custom hardware, select the Custom hardware type as
Microcontroller
or Hardware board from
STMicroelectronics
and specify the Custom hardware part
number.
Launch
Click to launch STM32CubeMX tool.
STM32CubeMX project file
Displays the STM32CubeMX project file.
Device id
Displays the device id.
Device family
Displays the device family.
Connectivity mode
Select the connectivity mode.
Connection port
Select the connection port as SWD
or
JTAG
.
Mode
Select the mode as Normal
or Hot plug
or
Under reset
or Power down
.
Reset mode
Select the Reset mode as Software reset
or Hardware
reset
or Core reset
.
Auto detect board to download and run
Select this parameter to auto detect the board to download and run.
Device list
If Auto detect board to download and run parameter is not
selected, you can select the hardware boards from the Device
list
or click Scan to detect hardware
boards connected over st-link. You can also choose the custom boards from the device
list.
Scan
Click Scan to detect all the hardware boards connected over st-link.