
To simplify the usage, we’ve bundled Ninja v1.10.2 into CLion.
#Clion ninja generator
You can still specify your own generator in the CMake profile settings ( Settings/Preferences | Build, Execution, Deployment | CMake) if you wish. If you are using CMake 3.20 or higher, CLion will use Ninja as its default generator. Ninja is one of the most popular and effective CMake generators currently used, so we decided to switch our defaults from Makefile to Ninja.
Heap info for the scheme from configUSE_HEAP_SCHEME is taken from FreeRTOS/Source/portable/MemMang/heap_N.c. This is useful as queues have no name by default, unlike tasks (which get a name at creation time). Use configQUEUE_REGISTRY_SIZE greater than zero and vQueueAddToRegistry() to assign a name to a queue, semaphore, or mutex. Both configUSE_TRACE_FACILITY and configGENERATE_RUN_TIME_STATS need to be set to 1 to collect runtime info (runtime column of the task table). configRECORD_STACK_HIGH_ADDRESS needs to be set to 1, to display the task stack info. configMAX_TASK_NAME_LEN needs to be greater than zero, to display the task name properly. configUSE_TRACE_FACILITY needs to be set to 1, to display task numbers and queue types. For it to work correctly, several definitions should be present in FreeRTOSConfig.h: These views depend neither on the debug probe being used, nor on the debug configuration, but GDB is required. These tables are located in two new tabs in the debug toolwindow: Heap Usage table shows the current heap usage and memory block allocation. Queue table shows currently active queues, semaphores, and mutexes. Task table shows a list of tasks with status information. We have now added the following information to the view: We’re continuing to work on bringing more useful information to this view. Note that if you are on macOS, there is a separate build for Apple silicon (M1 chip).įreeRTOS thread view was introduced in CLion 2021.2. If you haven’t yet downloaded and installed the 2021.3 EAP, now is a good time to do so! Today we are announcing the second EAP build.īuild 213.4293.2 is available from our website via the Toolbox App, or as a snap package (if you are using Ubuntu). Enhancements in toolchain and environment configuration. CLion 2021.3 EAP was launched last week with an impressive list of things to try out: