Build for different platforms
Under the TC Build tab, you can make various settings to specify which compiler should be used for which target system platforms.
Platform toolset:
Default “Auto” always uses the latest version. A specific version can also be selected via the drop-down menu.
Related versions Microsoft Visual C++ 14.1 => VS 2017 |
Build configuration:
Build release or debug driver. Please note that a debug driver usually has a significantly slower execution time on the target system.
Always rebuild all source files on publish:
Simulink® Coder™ and the TwinCAT Target for Simulink® cache some files to speed up the process for repeated builds. Select this parameter so that all source files are always rebuilt.
Build parallel to publish:
If several build platforms are selected, the compilation processes are independent of each other and are executed one after the other. By activating this option, all build processes are executed in parallel on your engineering system. Parallelization is performed by the operating system. To avoid unnecessary waiting times, you should only ever create binaries for platforms that you actually use.
Certificate name for TwinCAT signing
If not specified via an environment variable, enter your OEM certificate level 2 here to sign the binaries created, see Setting up driver signing.
TwinCAT RT (x86)
Select this platform to build binaries for a target system with the following specifications: Intel or AMD CPU, Windows 32-bit operating system (TwinCAT platform level 40 and higher).
TwinCAT RT (x64)
Select this platform to build binaries for a target system with the following specifications: Intel or AMD CPU, Windows 64-bit operating system (TwinCAT platform level 40 and higher).
TwinCAT OS (x64)
Select this platform to build binaries for a target system with the following specifications: Intel or AMD CPU, TwinCAT/BSD operating system (TwinCAT platform level 40 and higher).
TwinCAT OS (ARMV8-A)
Select this platform to build binaries for a target system with the following specifications: Arm® Cortex®-A CPU, Beckhoff RT Linux® operating system (TwinCAT platform level 20 and 30).
Driver signing for Beckhoff RT Linux® not required No driver signing is required for Beckhoff RT-Linux®. This is mandatory for all other platforms. |
To support the TwinCAT OS (ARMV8-A) platform (for compiling for CX82xx and CX9240), the MSBuild Support for llvm (clang-cl) toolset component is required when installing Visual Studio. This must also be selected manually during installation.
The TwinCAT OS (ARMV8-A) platform is only supported with TwinCAT 3.1. build 4026.