Compiler Selection

Supported Compilers

OpenECU works with the following compilers:

Compiler

Compatible ECUs

Wind River Diab C compiler v5.5.1.0

M110, M220, M250, M460, M461, G850

Wind River Diab C compiler v5.8.0.0

M110, M220, M250, M460, M461

Wind River Diab C compiler v5.9.0.0

M110, M220, M250, M460, M461, M670

GCC v4.7.3

M110, M220, M250, M460, M461

Notes:

Matlab cannot find my installed compiler (I used mex -setup)

This is an inquiry we commonly receive. The short answer is: do not use mex -setup.

mex -setup is used to set the PC compiler that is used for compiling S-functions. The embedded software compiler is selected in the Code Generation tab of the Simulink configuration dialog.

To select your embedded compiler, go to your Simulink model and select the Simulation menu from the menu bar, then click Model Configuration Parameters (or Simulation Parameters in older versions of Simulink).

Next, select Code Generation (Real-Time Workshop in older versions of Simulink) from the selection pane on the left side of the dialog box to expand the options. Next, select OpenECU compiler selection. You can then select from the installed compilers using the drop-down menu. See image below for details.

compiler_selection.jpg

If you do not see Code Generation (Real-Time Workshop in older versions of Simulink) in the selection pane on the left side of the Simulink conifguration dialog, then your Simulink installation is not licensed for Simulink Coder (or Real-Time Workshop). Contact the Mathworks for help with Simulink licensing and installation.

If you do not see your installed compiler in the drop-down, you may need to add an environment variable for your compiler.

      Copyright © 2016 Pi Innovo, All rights reserved