Follow and star the official account to access exciting content
ID: Technology Makes Dreams Greater
Author: Li Xiaoyao
The journal mainly shares original articles and knowledge summaries, reader questions, workplace discussions, etc. Currently, the first two have taken on new forms, and in the future, I will mainly share randomly and update irregularly. This is my private space, and I hope it brings benefits to everyone.
Original Compilation
The album link is summarized below:
【Technology Makes Dreams Greater】 Album | Original Compilation
Reader Questions
Specific inquiries can be viewed here:
Little Honey Circle of Xiaoyao
Sharing a Book: Sharing Embedded System Programming Concepts
Articles on Embedded System Programming
In the last month or two, I have shared many articles on embedded system programming, such as software architecture, performance optimization, memory operations, etc.
What aspects should be considered in embedded system programming software architecture?
How to achieve performance optimization in embedded system programming?
Precautions for memory operations in embedded system programming
I have also shared some thoughts on modular programming, magical programming, state machine concepts, etc.
How to write modular code?
Magic of embedded microcontroller programming: the principle of separation of powers
A detailed explanation of the application of state machine concepts in embedded development
Embedded engineers, analyzing hard-core microcontroller programming ideas!
State machine – the universal language of microcontrollers (with code)
[Architecture Section] How to layer the structure of code in embedded programming
I also discussed defensive programming, which is essentially writing preventive code to avoid future errors.
What exactly is defensive programming?
In summary, after reviewing these series or writing some myself, I have gained a lot. At the same time, I have a deeper understanding of embedded system programming.
As I previously discussed with a group of experts, whether to learn design patterns, in fact, embedded design patterns gradually form within this knowledge, without the need to dryly study them.
Recommended Book
Additionally, in embedded programming, C/C++ mixed programming will also be used. Recently, I came across a book titled “C/C++ Embedded System Programming”, with the foreign title: “Programming Embedded Systems in C and C++”, which I recommend to everyone.
This book is not long and is about using C and C++ for embedded system programming.
So the premise is that you are already familiar with C and C++ languages, have some programming experience, and understand basic data structures and algorithms.
This book covers knowledge such as memory chips, how to write and erase flash memory, so some hardware knowledge is required. It also discusses designing and implementing device drivers, optimizing embedded software, etc. Overall, it’s quite good.
Table of Contents for “C/C++ Embedded System Programming”
The overall table of contents for this book is as follows:
How to Download
Reply C/C++ Embedded System Programming to get
the high-definition PDF e-book of “C/C++ Embedded System Programming”
‧‧‧‧‧‧‧‧‧‧‧‧‧‧‧‧ END ‧‧‧‧‧‧‧‧‧‧‧‧‧‧‧‧
Scan the WeChat below, add the author’s WeChat to join the technical exchange group, please introduce yourself first.

Embedded Programming Album
Linux Learning Album
C/C++ Programming Album
Qt Advanced Learning Album
Follow the official account "Technology Makes Dreams Greater" and reply "m" in the background to see more content.
Long press to go to the official account in the image to follow.