Understanding Variables in CMake

Understanding Variables in CMake

Variables are an important component of CMake scripts, used to control various aspects of the build process. From specifying compiler options to setting installation paths and managing dependencies, the influence of variables can be seen everywhere. This article summarizes the concepts and usage of variables based on the official documentation. Basic Concepts When we mention … Read more

Introduction to CMake Basics and Usage

Introduction to CMake Basics and Usage

1. What is CMake? According to Baidu, CMake is a cross-platform installation (compilation) tool that can describe the installation (compilation process) of all platforms with simple statements. It can output various makefiles or project files. In simple terms, it is a tool that generates corresponding compilation scripts based on different platforms. 2. How to use … Read more

Introduction to Android NDK Development and CMake Usage

Introduction to Android NDK Development and CMake Usage

Today’s Tech News On August 1st, news emerged regarding rumors that “Huawei phones were installed with monitoring software to collect privacy data.” In response, Huawei’s terminal official stated that this is a malicious defamation rumor. Additionally, Huawei claimed that it has established a relevant team to cooperate with the police in investigating the target companies … Read more

Understanding the Relationship Between GCC, CMake, Make, and Ninja

Understanding the Relationship Between GCC, CMake, Make, and Ninja

1. The Birth of GCC! In 1985, on a dark night where one could hardly see their hand in front of their face, a bearded, short-statured man with long, unkempt hair began to write a C language compiler. This man later became known as the “greatest programmer” and the “father of free software,” Richard Stallman. … Read more

TinyBPT: Client Usage Guide for Buildroot

TinyBPT: Client Usage Guide for Buildroot

Corrector: TinyCorrect v0.2-rc2 – [tounix spaces]Author: Chai Zixuan [email protected]: 2024/09/27Revisor: falcon [email protected]: RISC-V Linux Kernel AnalysisSponsor: PLCT Lab, ISCAS This week continues the series of articles on TinyBPT. Remember to bookmark, share, and follow, collection: https://tinylab.org/riscv-linux Zero-threshold transition to RISC-V + Embedded Linux, keep up with TaiXiao Technology’s 30+ lectures on Bilibili, prepare a RISC-V … Read more

Getting Started with ZephyrRTOS: Development Environment Setup

Getting Started with ZephyrRTOS: Development Environment Setup

Although I personally prefer Rust, the Rust ecosystem does not yet have an embedded system with the structure/abstraction levels and rich ecosystem like ZephyrRTOS. I consider myself a pragmatic + idealistic engineer, so I chose to use the C/C++ based ZephyrRTOS with its rich ecosystem while also trying to integrate the Rust embedded ecosystem. Although … Read more

Eclipse ThreadX USBX: A Powerful Tool for Embedded USB Development

Eclipse ThreadX USBX: A Powerful Tool for Embedded USB Development

Eclipse ThreadX USBX is a high-performance embedded USB protocol stack that supports Host, Device, and OTG modes, perfectly integrated with the ThreadX real-time operating system. It is renowned for its compact code size and high performance, making it ideal for resource-constrained embedded applications. This article will delve into the features, usage methods, and packaging process … Read more

Distortos: Real-Time Embedded Operating System for Microcontrollers and Object C++

Distortos: Real-Time Embedded Operating System for Microcontrollers and Object C++

Distortos is an open-source, object-oriented C++ real-time operating system (RTOS) designed specifically for microcontrollers. It is known for its simple and efficient design, strong configurability, and native support for C++, providing embedded system developers with a modern development experience. This article will detail the core features, architectural design, build process, and application prospects of Distortos. … Read more