This Guide Article has been written for Version 2.1 of the DATAFLOW Software. For Previous Releases use the version selection in the navigation bar at the top of this page.
In addition to the generation of source code files, the DATAFLOW Designer supports the generation of a project configuration for a development IDE. This way, the generated source code can be opened with the defined development IDE like any manually created IDE project. Additionally, all required settings and files for a successful build of the just generated project are provided.
Define Build Toolchain
To use this feature, one or more Toolchains must be assigned (see chapter Add Toolchain below) to any of the components defined in the system model.
The Startup and SystemInitialisation Code is only generated if Target Hardware is assigned as well. Otherwise, this code has to be provided by the user.
- Visual Studio Simulation Template
- Visual Studio UnitTest Template
Additional IDEs will be added in future versions of DATAFLOW Designer. Please contact the IMT Support if your IDE is missing.
A Toolchain is a set of configuration parameters required for DATAFLOW Designer to generate code for a certain development IDE. A project can have multiple Toolchains. For example, one for the target build and one for a unit test build. It is also possible that there are multiple software modules inside a single project that are deployed on different target processors that require different Toolchains.
To add a Toolchain, right-click the root element of the project to be created and select ‘Add Toolchain’ from the context menu. The selected element can be the System element or any System Component or Active Container. The selected element and all child components will be added to the project configuration.
Additional Toolchains can also be added in the Setting Dialog:
In the dialog that appears, the name and template for the Toolchain can be selected. The template defines the type of IDE and whether it is a unit test or target project.
Toolchain Template Dialog
Once the Toolchain has been created, the Toolchain dialog is displayed to edit the configuration (see edit Toolchain chapter below).
A component can hold one or more Toolchains for different purposes. For example, if unit tests are compiled in another IDE than the target, build.
Toolchain assignment in a DATAFLOW Mode
To edit a Toolchain, select ‘Edit Toolchains’ from the context menu. In the Toolchain dialog, several tabs allow you to configure the toolchain in detail.
Displayed name for the toolchain.
Template name (read only)
The template the toolchain was created from.
The path to the generated IDE files (solution, workspace, Makefile, ...) can be configured. A name can be defined for the generated IDE configuration. If empty, the name of the root component is used instead.
This tab shows all preprocessor defines for the generated build configurations. Additional definitions can be added (sperated by semicolon).
This tab shows all deployed packages for the current toolchain. The type and version of the packages depned on the platform configuration of the build configuration this toolchain is part of.
To remove all Toolchains from an element, right-click the element and select ‘Clear Toolchains’ from the context menu.
Alternatively, Toolchains can also be removed in the Settings dialog.
DATAFLOW Code, DATAFLOW Frames
This Article has been written based on V2.1.1 of the DATAFLOW software.
Latest update 2023-05-31 by WUE.