Why Typedef is Rarely Used in the Linux Kernel

Why Typedef is Rarely Used in the Linux Kernel

Follow+Star Public Account Number, don’t miss out on exciting contentSource | Embedded Art Have you ever read the source code of the Linux kernel? During the process of<span>Linux</span> driver development, have you encountered such a warning? WARNING: do not add new typedefs Using<span>typedef</span> is not allowed! Although it’s just a warning, if you want to … Read more

Index of FreeRTOS Tutorials

Index of FreeRTOS Tutorials

1. Design of FreeRTOS Task Data Structures This article discusses the basic unit of resource management in FreeRTOS – the task data structure, providing readers with a macro understanding of task (process) management in embedded operating systems. Medical Engineering Notes, WeChat Official Account: Medical Engineering Notes FreeRTOS Core Mechanism Analysis: Task Structure Design 2. FreeRTOS … Read more

A Good Embedded C Coding Standard!

A Good Embedded C Coding Standard!

1 The Most Important Rule The most important rule when writing code is: check the surrounding code and try to mimic it.As a maintainer, it is frustrating to receive patches that are clearly different in coding style from the surrounding code. This is disrespectful, like someone walking into a spotless house with muddy shoes.Therefore, regardless … Read more

A Good Embedded C Coding Standard!

A Good Embedded C Coding Standard!

1 The Most Important Rule The most important rule when writing code is: check the surrounding code and try to mimic it.As a maintainer, it is frustrating to receive patches that are clearly different in coding style from the surrounding code. It is disrespectful, like someone walking into a spotless house with muddy shoes.Therefore, regardless … Read more