Task Notification Communication Method and Kernel Implementation in FreeRTOS

Task Notification Communication Method and Kernel Implementation in FreeRTOS

Task notifications are a lightweight inter-task communication (IPC) and synchronization mechanism provided by FreeRTOS. Each task has a built-in “notification value” that can be sent directly to a specified task, avoiding the use of heavier objects such as queues, semaphores, and event groups. The characteristics include no involvement of object allocation, deallocation, and intermediate data … Read more

FreeRTOS: Save Memory and Speed Up by Ten Times with Task Notification Mechanism!

FreeRTOS: Save Memory and Speed Up by Ten Times with Task Notification Mechanism!

1. Basic Concepts In FreeRTOS, there is an efficient and lightweight inter-task communication mechanism: <span>Task Notification</span>. This mechanism is used in FreeRTOS to implement unidirectional communication, event flags, counting semaphores, binary semaphores, and message passing. The message notification mechanism in FreeRTOS can also be referred to as “Direct to Task Notifications”. Each task (<span>TaskHandle_t</span>) has … Read more

How FreeRTOS Reduces RAM Usage and Speeds Up Execution

How FreeRTOS Reduces RAM Usage and Speeds Up Execution

Previously shared the article “What Features Were Updated in FreeRTOS V10.4.0?” and today we will elaborate on one of the knowledge points: FreeRTOS’s direct task (message) notification, aimed at reducing RAM usage and speeding up execution. 1. Introduction Almost all RTOS operating systems provide queue and semaphore functionalities, which are essential skills for most beginners. … Read more

How to Improve FreeRTOS Performance and Reduce RAM Usage

How to Improve FreeRTOS Performance and Reduce RAM Usage

Follow+Star Public Account Number, don’t miss wonderful content Author | strongerHuang WeChat Public Account | Embedded Column Previously shared “What Features Have Been Updated in FreeRTOS V10.4.0?“, today we will detail one knowledge point: the direct task (message) notification of FreeRTOS, which aims to reduce RAM usage and speed up execution. Embedded Column 1 Introduction … Read more