FreeRTOS
The data structure of the root node of the linked list is defined in list.h. The specific implementation is shown in the following code: typedef struct xLIST { UBaseType_t uxNumberOfItems; /* List node counter, used to indicate the number of nodes under the list, except the root node*/ ListItemUTF-8...
Posted by blade_922 on Thu, 22 Jul 2021 06:44:28 +0930
1. Introduction to FreeRTOS task priority When we use the xTaskCreate() API function to create a task, we will give the task an initial priority. Of course, after the scheduler is started, we can use the vtaskspriorityset() API function to modify the priority. void vTaskPrioritySet( TaskHandle_UTF-8...
Posted by h3ktlk on Fri, 13 Aug 2021 06:44:08 +0930
1, osThreadDef is a macro definition #define osThreadDef(name, thread, priority, instances, stacksz) \ const osThreadDef_t os_thread_def_##name = \ { #name, (thread), (priority), (instances), (stacksz), NULL, NULL } therefore osThreadDef(defaultTask, StartDefaultTask, osPriorityNormal, 0, 128)UTF-8...
Posted by Casalen on Thu, 16 Dec 2021 23:48:55 +1030
From V8 Since version 2.0, FreeRTOS has added the function of task notifications, which can be used to replace semaphores, message queues, event flag groups, etc. Using task notification will be more efficient. Here are the notes of task notification. Introduction to task notification Task notiUTF-8...
Posted by SundayDriver on Tue, 28 Dec 2021 05:14:47 +1030
catalogue Default FreeRTOS scheduling policy (single core) Implementation of FreeRTOS scheduling strategy Task creation Four scenarios of task scheduling: 1. Start the task scheduler for the first time 2. Task active trigger scheduling 3.SystemTick clock trigger scheduling 4. Task scheduling cUTF-8...
Posted by Paul Arnold on Tue, 25 Jan 2022 11:15:03 +1030
Task definition and switching principle analysis of freertos kernel main program Task control block Task creation function Task stack initialization ready list Scheduler Summary task switching main program The purpose of this program is to use freertos to constantly switch between two tasks. LUTF-8...
Posted by ed01 on Sun, 30 Jan 2022 06:58:54 +1030
prepare GD32F207 routine code uses the first 01 in the data program_ GPIO_ LED. FreeRTOSv9.0.0 official source code. There are two download links on the Internet: One is the official website: http://www.freertos.org/ Another is the code hosting website:FreeRTOS Real Time Kernel (RTOS) - BrowseUTF-8...
Posted by rane500 on Tue, 08 Feb 2022 21:16:14 +1030
FreeRTOS shift value Tip: the following is the main content of this article. The following cases can be used for reference 1, What is FreeRTOS? The name of FreeRTOS can be divided into two parts: free and RTOS. Free means free, free and unrestricted. The full name of RTOS is Real Time OperatingUTF-8...
Posted by mospeed on Sat, 12 Feb 2022 21:00:13 +1030
preface Thank Mr. Wei Dongshan for his live teaching. I learned a lot of practical knowledge in today's teaching. Have an essential understanding of logic development and RTOS development. Bloggers also recommend an embedded learning website here Baiwen official website . Here are all embeddedUTF-8...
Posted by beaux1 on Sat, 12 Feb 2022 23:45:54 +1030
1, Write in front FreeRTOS version: v10.0 four point fiveMemory allocation method: dynamic allocationPort.c version: GCC / arm_ CM4F_ V10. four point five I recently learned the FreeRTOS operating system and found that although the official English notes are very detailed, many places are not UTF-8...
Posted by phpprog on Tue, 15 Feb 2022 21:44:13 +1030