Engee documentation

EDM-Target-Arduino

Setting up and determining whether a model belongs to a target.

blockType: SubSystem

Path in the library:

/Interfaces/Targets/Arduino/EDM-Target-Arduino

Description

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

Block EDM-Target-Arduino It is used to configure and determine whether the model belongs to the target.

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

Main group

# Порт — the name of the COM port where the Arduino compatible card is located

Details
There is an automatic port search mode for this parameter: to do this, enter the value in the field "<auto>". In this case, the only available port will be selected, which is determined using the ArduinoCLI toolchain. If the toolchain could not detect the only available port, then it is necessary to enter the name of the COM port through which the interaction with the board will take place.
Default value

Program usage name

com_port

Tunable

No

Evaluatable

Yes

# Полное имя платы — the unique identifier of the hardware card

Details
There is an automatic search mode for the name of the board for this parameter: to do this, enter the value in the field "<auto>". If the board is identified using the previously transmitted port (or detected automatically) by the means of the tulchain, then a name defined by it will be selected, otherwise you need to enter the full name of the board manually.
Default value

Program usage name

fqbn

Tunable

No

Evaluatable

Yes

# Путь к ArduinoCLI — the path to the Arduino blockchain executable file

Details
There is an automatic toolchain search mode for this parameter: to do this, enter the value in the field "<auto>". In this case, the executable file will be searched in the following order: PATH environment variable, current directory, "C:\Program Files" (Windows), "C:\Program Files (x86)" (Windows). If the file is not found, then you must enter the full path to the file.
Default value

Program usage name

arduino_cli_path

Tunable

No

Evaluatable

Yes

# Директория моделей — the path where the model directories will be stored

Details
Default value

.

Program usage name

codegen_folder

Tunable

No

Evaluatable

Yes