Differences Between Embedded C and Standard C Programming

Today, we will once again strengthen our understanding of the characteristics of embedded C programming. Understanding these differences will solidify our cognitive foundation for developing efficient, robust, and portable embedded software! First, it must be clear: from a syntactical perspective, embedded C and standard C are the same language. They share the same syntax, keywords, … Read more

9 Major ‘Black Magic’ Techniques and Optimization Tips for Embedded C Language

“Embedded development is often constrained by resource limitations and hardware interaction requirements, making standard C language difficult to balance efficiency and stability. The ‘black magic’ of embedded C is a precise solution to these pain points. They can constrain the compiler, manipulate hardware, and avoid memory and interrupt issues, serving as a key step from … Read more

Three Weeks and a Button-Sized Chip: The Birth of a C Language Interpreter (Open Source)

Three Weeks and a Button-Sized Chip: The Birth of a C Language Interpreter (Open Source)

Inspired by the legendary creation of UNIX, the miracle of a C language interpreter was recreated on a button-sized chip over three special weeks.During the three special weeks from late 2024 to early 2025, drawing inspiration from the legendary creation of UNIX as an ordinary programming enthusiast, I completed a challenging task on an ESP32 … Read more

C++ Questions You May Encounter in Embedded Engineer Interviews

C++ Questions You May Encounter in Embedded Engineer Interviews

1. Core C++ Language Constructors and Virtual Functions Why can’t constructors be declared as virtual functions? Can static functions be virtual functions? The role of explicit and its usage scenarios. Memory Management The difference between new and malloc (type safety, constructor calls) Strategies to avoid dangling pointers and memory leaks The size of an empty … Read more

Methodology for Building Embedded Programs from Code and Toolbox for Hardware Debugging

Methodology for Building Embedded Programs from Code and Toolbox for Hardware Debugging

How to Build Embedded Programs and Find Documentation 1. Define the Purpose For example, if I want to configure a peripheral, I need to first understand how to drive this peripheral, its structure, enumerations, and what methods are available, etc., and whether there are examples to refer to. 2. Find the Core Structure <span>esp-hal</span> library … Read more

Embedded Development: Is It Necessary to Learn C Before Learning C++?

Embedded Development: Is It Necessary to Learn C Before Learning C++?

It is well known that in the field of embedded development, C has long dominated. Although with the development of the times, C++ and assembly language have gradually become more popular, C remains the cornerstone for understanding key concepts such as low-level hardware, memory management, and pointer operations. So, is it necessary to learn C … Read more

MicroPython: The Mini Power of Embedded Systems!

MicroPython: The Mini Power of Embedded Systems!

▼ Click the card below to follow me ▲ Click the card above to follow me MicroPython: The Mini Power of Embedded Systems! When it comes to embedded systems, many people think it is a complex and mysterious technical field. But if I told you that you can play with embedded systems using Python, wouldn’t … Read more

Essential Skills for Embedded Software Engineers

Essential Skills for Embedded Software Engineers

Click the aboveblue text to follow us Embedded systems have permeated every aspect of modern society, from consumer electronics and smart homes to industrial control, automotive electronics, and aerospace. As the “brain” driving these systems, embedded software plays a crucial role. Embedded software engineers are responsible for designing, developing, testing, and maintaining these software systems, … Read more

Pycopy: The Lightweight Python Solution for Embedded Systems

Pycopy: The Lightweight Python Solution for Embedded Systems

▼ Click the card below to follow me ▲ Click the card above to follow me Pycopy: The Lightweight Python Solution for Embedded Systems Python has always been a challenging topic in the field of embedded systems. Resource constraints and performance bottlenecks have deterred many developers. However, the emergence of Pycopy has completely changed the … Read more

5 Essential Programming Tips for Embedded Developers to Boost Your Development Efficiency

5 Essential Programming Tips for Embedded Developers to Boost Your Development Efficiency

As a seasoned developer who has dedicated my youth to development boards, I completely understand your frustration when you find yourself cursing at hardware in front of the screen! Today, I want to share some insider tips that have helped me reduce overtime. Don’t Clash with Hardware – Be a “Blame Shifter” Have you ever … Read more