CMake Configuration Files in CLion

CMake Configuration Files in CLion

The settings required to build a CMake project are consolidated into a CMake configuration file. It includes the toolchain and build type, as well as CMake options such as generators and environment variables. You can configure multiple configuration files for a project to build targets with different compilers or different settings. To set up a … Read more

Using Local Source for Remote Programming in CLion

Using Local Source for Remote Programming in CLion

Local Client Operating System: macOS / Linux / Windows Remote Host Operating System: Linux Source File Location: Local, automatically synchronized to remote host Required Tools on Remote Host: macOS/Linux/Windows client needs rsync, Windows client needs tar Project Model: CMake/Makefile Required Plugins (pre-installed and enabled by default): FTP/SFTP/WebDAV connection This remote mode allows you to use … Read more

Setting Up IAR Toolchain in CLion

Setting Up IAR Toolchain in CLion

Operating System: Windows (MinGW) / Linux Project Format: CMake When setting up a toolchain for your embedded project, you can use the IAR compiler. CLion recognizes it as a C/C++ compiler and collects compiler information. You can also open projects that use the IAR toolchain, which should load successfully. Currently, only CMake-based projects are supported. … Read more

CLion Tutorial – Device Tree Files

CLion Tutorial - Device Tree Files

Device tree is a hierarchical data structure primarily used to describe hardware. CLion recognizes .dts/.dtsi files and provides code assistance and code analysis features. Configure Development Board (Zephyr) If you are using Zephyr, make sure to select the development board you are using in the settings: Go to Settings | Languages & Frameworks | Device … Read more

CLion Tutorial – Embedded Development

CLion Tutorial - Embedded Development

This page provides an overview of how to use CLion as your embedded development IDE. For detailed feature descriptions and setup instructions, please refer to the dedicated articles in this section. Hardware TypeCLion supports embedded development for any hardware compatible with the GCC or IAR toolchain. Some examples include: ARM-based microcontrollers, such as the STM32 … Read more

CLion Tutorial: Multithreading RTOS Debugging

CLion Tutorial: Multithreading RTOS Debugging

When debugging with RTOS, CLion provides views for FreeRTOS, Azure RTOS, and Zephyr tasks (threads). For FreeRTOS, you can also explore objects and the heap. Some gdb servers have built-in support for different RTOS. To ensure proper integration with CLion, make sure to disable built-in support on the gdb server side. To enable the RTOS … Read more