Engee documentation

EDM-Target-STM32

The primary configuration of the project before code generation, compilation, firmware, and model launch.

blockType: SubSystem

Path in the library:

/Interfaces/Targets/STM32/EDM-Target-STM32

Description

To work with the block, install/update the support package. equipment.

Block EDM-Target-STM32 It is used for the initial configuration of the project before code generation, compilation, firmware and model launch.

The block is necessary to determine which hardware (which target) to run the model on. The block only works when the platform is selected Target Hardware:

target hardware 1

Read more about the Target Hardware platform and how to work with it in the article Running models on target hardware.

Also, the block is used to set up the target.

Ports

None.

Parameters

Target STM32

# Семейство: — The STM32 microcontroller family
f1xx | f2xx | f3xx | f4xx

Details
Values

f1xx | f2xx | f3xx | f4xx

Default value

f4xx

Program usage name

family

Tunable

No

Evaluatable

Yes

# Программатор: — programmer for microcontroller detection and firmware
stlink | jlink

Details
Values

stlink | jlink

Default value

stlink

Program usage name

programmer_type

Tunable

No

Evaluatable

Yes

# Путь к тулчейну для сборки: — the path to the location gcc-arm-none-eabi in the file system

Details

The path to the location gcc-arm-none-eabi in the file system. Specify <auto> to search in CubeIDE paths, the PATH variable, and system paths.

Default value

Program usage name

build_toolchain_path

Tunable

No

Evaluatable

Yes

# Путь к утилите для прошивки: — the path to the location STM32CubeProgrammerCLI in the file system

Details

The path to the location STM32CubeProgrammerCLI in the file system. Specify <auto> to search in CubeIDE paths, the PATH variable, and system paths.

Default value

Program usage name

flash_utility_path

Tunable

No

Evaluatable

Yes

# Путь к проекту CubeMX: — the path to the generated project in CubeMX, where the .ioc configuration file is located, and the root file CMakeLists.txt

Details
Default value

/home/STM32Cube/Projects/f407_example/

Program usage name

code_gen_path

Tunable

No

Evaluatable

Yes

# Планировщик: — an operating system for scheduling the execution of a model on a microcontroller
baremetal | freeRTOS

Details
Values

baremetal | freeRTOS

Default value

freeRTOS

Program usage name

os_select

Tunable

No

Evaluatable

Yes

Настройка независимого режима

# COM-порт: — COM port path or name

Details

COM port path or name:

  • For Linux, this is the path to the COM port in the file system, for example /dev/ttyUSB0.

  • For Windows, this is the name of the COM port in the system, for example COM1.

Default value

/dev/ttyUSB0

Program usage name

com_port

Tunable

No

Evaluatable

Yes

# Резервируемый модуль USART: — A USART module designed for receiving and transmitting data interactively

Details

A USART module designed for receiving and transmitting data interactively. The COM port parameter specified in the COM port parameter must be projected onto this module.

Default value

2

Program usage name

usart_reserved

Tunable

No

Evaluatable

Yes