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

Is Your CMake Build Slow? A Deep Dive into Build Types!

Is Your CMake Build Slow? A Deep Dive into Build Types!

Click the blue textFollow the blogger 1. Overview of CMake Build Types In CMake, “build type” refers to a set of predefined settings and options used to control the compilation and linking process. It is essentially a variable <span>CMAKE_BUILD_TYPE</span> that can be explicitly set or determined by CMake based on default rules. The build type … Read more

Guide to Packaging Python Code into EXE: Avoiding Pitfalls with PyInstaller

Guide to Packaging Python Code into EXE: Avoiding Pitfalls with PyInstaller

Click the blue text to follow us Hello everyone, I am Cai Ge! Today we will talk about how to package Python code into an EXE file, especially using the <span>pyinstaller</span> tool. Many people may want to package their projects into executable files after learning Python, making it easier to share and use. However, there … Read more

Introduction to the Basics of Python Function Definitions

Introduction to the Basics of Python Function Definitions

In the programming world, Python is quite popular due to its simplicity and power. Today, we will introduce you to the key area of Python function definitions. What is a Python Function In simple terms, a function is a way to encapsulate a block of code, giving it a name so that you can call … Read more

Classification and Analysis of Common English Vocabulary in Embedded Systems

Classification and Analysis of Common English Vocabulary in Embedded Systems

Classification and analysis of common English vocabulary in embedded systems1. Hardware-related TermsASIC (Application-Specific Integrated Circuit) – A chip designed for specific application requirements, commonly used in high-performance, low-power scenarios. Address Bus (地址总线) – An electronic circuit that connects the processor to external devices, used for addressing memory space or peripheral registers. DMA (Direct Memory Access) … Read more

Debugging HardFault in ARM Cortex-M (STM32)

Debugging HardFault in ARM Cortex-M (STM32)

Click the above blue text to follow us HardFault is a type of exception in ARM Cortex-M processors. It is triggered when the processor encounters an unresolvable error, or when the exception handler configured to handle specific types of errors (such as bus errors, memory management errors, usage faults) is disabled, or when another error … Read more

FreeRTOS Launches Free Visualization Tool

FreeRTOS Launches Free Visualization Tool

Author | strongerHuang WeChat Official Account | strongerHuangStrictly speaking, it should be the tracking and visualization analysis (debugging) tool based on FreeRTOS launched by Percepio:Percepio View for FreeRTOS.To help developers better understand the task execution status of FreeRTOS, it is necessary to use tools for task analysis.A tool we are quite familiar with is:Tracealyzer, which … Read more

JTAG Debugging Standards

JTAG Debugging Standards

Industry Guiding Standards: Standard Usage and Reference Situations IEEE1149 The JTAG series standard, primarily 1149.1, allows scanning of the JTAG chain on SoCs via the TAP (Test Access Port) interface, enabling command sending and data reading. ARM CoreSight A standardized debug and trace architecture for SoCs defined by ARM. The DAP (Debug Access Port) interface … Read more

Embedded Development Knowledge System: A Comprehensive Technical Guide from Beginner to Advanced

Embedded Development Knowledge System: A Comprehensive Technical Guide from Beginner to Advanced

Embedded development is the core technology field that connects hardware and software, involving full-link development from low-level chips to high-level applications. Its knowledge system covers multiple dimensions such as hardware design, operating systems, driver development, and communication protocols. This article will systematically outline the knowledge framework of embedded development and provide learning paths and resource … Read more