Stop Using the Default Compiler? CMake Compiler Configuration Enables Code Compilation Anywhere!

Stop Using the Default Compiler? CMake Compiler Configuration Enables Code Compilation Anywhere!

Click the blue textFollow the author 1. Background Introduction CMake compiler configuration not only relates to performance but also directly affects the maintainability and portability of the code. By explicitly specifying the compiler and its options, you can ensure consistent behavior of the code across different platforms and reduce maintenance costs. Limitations of using the … Read more

FreeRTOS Examples: A Collection of FreeRTOS Code Samples and a Practical Textbook for Embedded Real-Time Systems

FreeRTOS Examples: A Collection of FreeRTOS Code Samples and a Practical Textbook for Embedded Real-Time Systems

In the world of embedded development, every engineer has their own “secret weapon.” Today, I want to talk about FreeRTOS Examples, a project that not only preserves the core examples of FreeRTOS but also serves as a treasure trove filled with practical charm. Whether you are a beginner or an experienced developer, you can find … Read more

Basic Usage of CMake: A Must for Native Cross-Platform Development

Basic Usage of CMake: A Must for Native Cross-Platform Development

CMake is an open-source, cross-platform suite of tools for building, testing, and packaging software. CMake controls the software compilation process using simple platform and compiler-independent configuration files (CMakeLists.txt) and generates native build files and workspaces that can be used in your chosen build environment. The CMake suite was created by Kitware in response to the … Read more

CMake Learning Notes: Modular Project Management (Part 1)

CMake Learning Notes: Modular Project Management (Part 1)

1. What is CMake? CMake is a cross-platform project build tool. Other project build tools we are familiar with include Makefile (which builds projects using the make command). Most IDE software integrates make, such as nmake in VS, GNU make in Linux, and qmake in Qt. These Make tools follow different specifications and standards, and … Read more