Engee documentation

EDM-Target-Linux

Setting up a Linux target.

blockType: SubSystem

Path in the library:

/Interfaces/Targets/Linux/EDM-Target-Linux

Description

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

Block EDM-Target-Linux Sets the parameters for connecting to a remote Linux device on which the generated C-model will be assembled and run.

The block works only when the Target Hardware platform is selected. For more information about the Target Hardware platform and working with it, see the article Running models on target hardware.

Parameters

Connection settings

# Адрес хоста — The IP address or DNS name of the Linux device

Details
Default value

192.168.56.3

Program usage name

ssh_host

Tunable

No

Evaluatable

Yes

# Порт SSH — OpenSSH server port on a Linux device

Details
Default value

22

Program usage name

ssh_port

Tunable

No

Evaluatable

Yes

# Имя пользователя — user name on the Linux device

Details

Commands will be executed on behalf of the user make, starting and stopping the model. If the field is empty, then the name of the current user on the machine where it is running is used. Engee Device Manager.

Default value

ritm

Program usage name

ssh_user

Tunable

No

Evaluatable

Yes

# Закрытый SSH ключ — the path to the private key

Details

The path to the private key on the machine where it is running Engee Device Manager. For example, ~/.ssh/id_ed25519 or C:\Users\user\.ssh\id_ed25519. This is not a public key .pub. If the field is empty, then the standard behavior of OpenSSH client is used: by default keys and/or ssh-agent.

Default value

Program usage name

ssh_key_path

Tunable

No

Evaluatable

Yes

Model settings

# Директория моделей — the directory on the Linux device where the model projects will be loaded

Details

The relative path is considered relative to the user’s home directory ssh_user (the user name is set in the parameter Имя пользователя); the absolute path is used as is.

For each model inside remote_dir A separate directory with the model name is created. Before loading the project, the directory of the specific model is deleted and created anew.

An open TCP port must also be available for interactive mode — 9999.

Default value

.

Program usage name

remote_dir

Tunable

No

Evaluatable

Yes