This series of tutorials provides an introduction to compiling C/C++ code using the NI Linux Real-Time GNU C/C++ Toolchains and Visual Studio Code. The attached documents introduce the concept of cross compiling, provide instructions on how to configure third-party tools and Visual Studio Code as an example of tools for use with the NI toolchain, and walk through several example use cases such as a "Hello, World!" application.
For an alternative approach, refer to Developing C/C++ Code for NI Linux Real-Time with the Visual Studio Code Remote Development Extensio....
The tutorial documents attached to this page cover a large range of topics related to building and deploying C/C++ code to NI Linux Real-Time devices. The tutorials are as follows:
The requirements for each tutorial differ, but in general all tutorials require a system configured as described in Part 2 - Configuring a Development System with Visual Studio Code and the NI Linux RT Compilers and in Part 3 - Configuring Visual Studio Code for Building NI Linux RT Code. Debugging or deploying code additionally requires a system running NI Linux Real-Time with software installed.