CMake Template for Simple Projects

CMake Template for Simple Projects

CMake can be seen as a tool for automatically generating Makefiles, but it is actually a programming language with a scripting style: Cross-platform support: CMake supports multiple operating systems and compilers, allowing the same build configuration to be used in different environments. Simplified configuration: Through the CMakeLists.txt file, users can define project structure, dependencies, compilation … Read more

Getting Started with CMake Build Tool

Getting Started with CMake Build Tool

Getting Started with CMake Build Tool Hello everyone, today I want to share with you a very practical tool – CMake. As a programmer, I understand the importance of managing and building code when developing large projects. CMake is like a project management assistant that helps us handle complex issues such as code compilation and … Read more

Introduction to CMake Basics

Introduction to CMake Basics

This article mainly refers to this link. 1. CMake Compilation Principles CMake is a cross-platform build tool that is more advanced than make and much easier to use. CMake primarily involves writing a CMakeLists.txt file and then using the cmake command to convert it into a makefile required by make. Finally, the make command compiles … Read more

Differences Between GCC and G++: A Comprehensive Guide

Differences Between GCC and G++: A Comprehensive Guide

GCC (GNU Compiler Collection) and G++ are both compilers developed by GNU, but they have some functional differences. Although they belong to the same toolset, the main difference lies in the programming languages they support and how they handle the compilation of source code. Here is a detailed introduction and comparison of GCC and G++. … Read more

Highlights of Keil Compiler AC6 Compared to AC5

Highlights of Keil Compiler AC6 Compared to AC5

Follow+Star Public Number, don’t miss the wonderful content Author | strongerHuang WeChat Public Account | Embedded Column The latest version of Keil MDK no longer includes the AC5 compiler by default (but AC5 can be installed manually), yet AC5 is still the compiler used by most engineers. Readers who have used Keil MDK (Arm Compiler … Read more

C++ LED Blinking Program Based on Keil and STM32

C++ LED Blinking Program Based on Keil and STM32

Author | strongerHuang WeChat Official Account | Embedded Column Generally speaking, programming on microcontrollers is done in either assembly or C language, and it is rare to use C++ for development. So, can we really use C++ for microcontroller development? The answer is definitely yes! Below, I will discuss some content about writing a LED … Read more

Setting Up STM32 Development Environment in VSCode

Setting Up STM32 Development Environment in VSCode

Follow+Star Public Number, don’t miss wonderful content Author | Nuan Nuan’s Dilemma Source | CSDN As we all know, Keil is a paid software. Although it can be used with a workaround, many companies are still a bit hesitant, and many readers may have received ** letters. Previously, when developing microcontroller projects, Keil was one … Read more

Applications of Assembly Language

Applications of Assembly Language

In the early days of programming, most applications were partially or entirely written in assembly language. They had to adapt to small memory and run efficiently on slow processors. As memory capacity increased and processor speeds rapidly improved, programs became increasingly complex. Programmers also turned to high-level languages such as C, FORTRAN, COBOL, which offered … Read more

Facebook’s Preferred Programming Languages: Hack, Python, C++, Rust

Facebook's Preferred Programming Languages: Hack, Python, C++, Rust

Produced by | OSC Open Source Community (ID:oschina2013) Meta has announced the approval of Hack, Python, C++, and Rust as the preferred programming languages for employees and developers to build software on its platform. The company stated to The Register that supporting a programming language is not a decision that can be made lightly. “It … Read more