Common Module Examples for 51 Microcontrollers (Part 1)

Common Module Examples for 51 Microcontrollers (Part 1)

Since the late 1970s, when microcontrollers were first introduced, there has been a long history of development in microcontroller technology. Microcontrollers are particularly suitable for embedded systems and are subject to strict size management, which is why almost every electronic device you see today integrates a microcontroller. The widespread application means that learners of microcontrollers … Read more

Using CMake: A C++ Project Build Tool

Using CMake: A C++ Project Build Tool

Using CMake: A C++ Project Build Tool CMake is a popular cross-platform build system that generates standardized build files, allowing C++ projects to be easily compiled and managed across different operating systems and development environments. In this article, we will introduce the basic usage of CMake and how to use it to create a simple … Read more

CMake Tutorial

CMake Tutorial

1. Introduction to CMake CMake is a cross-platform build tool, which can generate: Makefile for Linux/Unix Project files for <span>Visual Studio</span> on Windows Project files for <span>Xcode</span> on macOS without manually writing build scripts for different platforms. 2. Installing CMake Windows: Download the installer from cmake.org/download Linux: <span>sudo apt install cmake</span> (Debian/Ubuntu) macOS: <span>brew install … Read more