Rust Pattern Matching: Taming the “Schrödinger’s Cat” of JSON

Rust Pattern Matching: Taming the “Schrödinger’s Cat” of JSON The Pain of API JSON Schemas: The Love-Hate Relationship with JSON After exploring the HTTP Request API HMAC signature: adding a “security label” to API requests, we finally saw the long-awaited HTTP response. As a heavy user of APIs, I deal with various JSON data every … Read more

Practical Techniques in Embedded C Programming

When we first light up the LED on the development board, when the debugger finally captures that elusive timing error, and when the meticulously written driver runs smoothly on real hardware—the joy of that moment is a unique experience familiar to every embedded developer. I still remember starting to build embedded Linux system platforms in … Read more

C Language in Embedded Development

C Language in Embedded Development

Abstract: This article first analyzes the traps and defects of the C language, summarizing the common mistakes; it discusses the shortcomings of compiler semantic checks and provides preventive measures. Using the Keil MDK compiler as an example, it introduces the features of this compiler, its handling of undefined behavior, and some advanced applications. Based on … Read more

Common Software Engineering Methods in Embedded Development

Common Software Engineering Methods in Embedded Development

What are the common software engineering methods in embedded development? Follow UsLearn Embedded Together, learn and grow together 1. Object-Oriented Programming (OOP) Although C is not an object-oriented programming language, with some programming techniques, it can achieve the core features of Object-Oriented Programming (OOP), such as encapsulation, inheritance, and polymorphism. 1. Encapsulation Encapsulation is the … Read more

15 Golden Rules of Defensive Programming in Embedded C: Make Your Code Rock Solid!

15 Golden Rules of Defensive Programming in Embedded C: Make Your Code Rock Solid!

Click the above“Embedded and Linux Matters” Select“Top/Star Public Account” Welfare and valuable content delivered promptly Defensive Programming The reliability of embedded products is naturally inseparable from hardware, but when the hardware is determined and there is no third-party testing, code written with the idea of defensive programming often has higher stability. Defensive programming first requires … Read more

The Perfect Combination of const and Pointers in Embedded C

The Perfect Combination of const and Pointers in Embedded C

Follow+Star Public Account Number, don’t miss out on exciting contentAuthor | Mr.Deng Source | Embedded Intelligence Bureau This article shares the intricacies of using <span>const</span> with pointers in embedded C. As we all know, the flexibility of pointers is the core charm of C, but it is also a double-edged sword—carelessness can lead to memory … Read more

The Ultimate Combination of C Language Pointers and const

The Ultimate Combination of C Language Pointers and const

Hello everyone, I am the Information Guy~ Today, I will introduce the intricacies of the const keyword and pointers in the C language. As we all know, the flexibility of pointers is the core charm of C, but it is also a double-edged sword—any slight misstep can lead to memory overflow, data corruption, and other … Read more

Common Software Engineering Methods in Embedded Development

Common Software Engineering Methods in Embedded Development

Hello everyone, I am the Mixed Cuisine Master. What are the common software engineering methods in embedded development? Below, I have summarized some methods that I hope will help you in your learning and work. 1. Object-Oriented Programming (OOP) Although C is not an object-oriented programming language, with some programming techniques, we can achieve the … Read more

Hardcore Technologies in Embedded Development

Hardcore Technologies in Embedded Development

Source | Embedded Miscellaneous Today, I will share some hardcore development content in embedded development. 1. Object-Oriented Programming (OOP) Although C is not an object-oriented programming language, with some programming techniques, it is possible to achieve the core features of Object-Oriented Programming (OOP), such as encapsulation, inheritance, and polymorphism. 1. Encapsulation Encapsulation is the bundling … Read more