Scheduling Strategies for Single-Core and Multi-Core FreeRTOS

Scheduling Strategies for Single-Core and Multi-Core FreeRTOS

FreeRTOS has dominated the RTOS market due to its early open-source and free commercial use (under the MIT open-source license). With the popularity of multi-core MCUs, FreeRTOS has also kept up with the trend and supports multi-core scheduling. Today, I will share the scheduling strategies for single-core and multi-core FreeRTOS. Single-Core Scheduling Strategy Single-core scheduling … Read more

Understanding FreeRTOS Stack Management: A Comprehensive Guide

Understanding FreeRTOS Stack Management: A Comprehensive Guide

Previous Article: Understanding FreeRTOS Application Scenarios In this article, the term “stack” refers to the memory area accessed by the computer (including MCU) processor through the stack pointer register. Common access methods include Push/Pop, as well as indirect addressing based on the stack pointer register. Let’s first review how local variables are stored in C … Read more

Understanding Dynamic Memory Allocation in FreeRTOS

Understanding Dynamic Memory Allocation in FreeRTOS

Follow+Star Public Account Number, don’t miss wonderful content Author | strongerHuang WeChat Public Account | Embedded Column You may wonder: Can FreeRTOS create tasks and delete tasks, is it dynamically allocated memory? xTaskCreate(LED_Task, "LED_Task", 128, NULL, 6, NULL); If this question is to be elaborated, it involves many knowledge points, below I will pick a … Read more

Understanding FreeRTOS Source Code: A Comprehensive Guide

Understanding FreeRTOS Source Code: A Comprehensive Guide

“Understanding FreeRTOS Source Code and Application Development: Based on STM32” is one of the classic tutorials from ZhiDian YuanZi’s STM32 series, supplemented with numerous examples, thoroughly explaining the principles of FreeRTOS and its source code. The main content includes task management, task scheduling, system trimming and configuration, time management, queues, semaphores, software timers, event flag … Read more

Performance Boost of Up to 1400%: Comparison Test Between 32-bit and 64-bit Raspberry Pi Systems

Performance Boost of Up to 1400%: Comparison Test Between 32-bit and 64-bit Raspberry Pi Systems

文 | Travis 出品 | OSC开源社区(ID:oschina2013) The Raspberry Pi has released the long-awaited 64-bit Raspberry Pi OS. Theoretically, a 64-bit operating system can better utilize the advantages brought by a 64-bit processor (newer versions of Raspberry Pi have adopted 64-bit processors), support more than 4GB of memory (Raspberry Pi 4B is equipped with a maximum … Read more

Choosing the Right Raspberry Pi and Installing Its Operating System for Beginners

Choosing the Right Raspberry Pi and Installing Its Operating System for Beginners

Background: Playing with microcontrollers seems too limited nowadays, this article discusses the Raspberry Pi. This article has two goals: 1. Which Raspberry Pi should beginners choose in 2020; 2. Which operating system to install on the Raspberry Pi and how to do it. Difference Between Raspberry Pi and Microcontrollers Let’s discuss the differences from the … Read more

Unveiling the Tricks of Fraudsters: DIY ‘Malicious Power Bank’ Experiment with Raspberry Pi

Unveiling the Tricks of Fraudsters: DIY 'Malicious Power Bank' Experiment with Raspberry Pi

* This article is originally authored by: Cybersecurity Tong, and is part of the FreeBuf original reward program. Unauthorized reproduction is prohibited. Revisiting this year’s 315 Gala. After watching, one can only curse the fraudsters! The gala revealed a way to control a user’s phone through charging. As modern people who feel like they’ve lost … Read more

Raspberry Pi 32-bit vs 64-bit System Comparison Test

Raspberry Pi 32-bit vs 64-bit System Comparison Test

Author | Travis Produced by | OSC Open Source Community (ID: oschina2013) Recently, Raspberry Pi released the long-awaited 64-bit Raspberry Pi OS. Theoretically, a 64-bit operating system can better utilize the advantages provided by a 64-bit processor (newer versions of Raspberry Pi have adopted 64-bit processors), support more than 4GB of memory (Raspberry Pi 4B … Read more

Using a Raspberry Pi 4 for a Day: A MacBook Pro Replacement Experience

Using a Raspberry Pi 4 for a Day: A MacBook Pro Replacement Experience

Click on the top “Rookie Learns Python” to select the “Star” public account Super invincible dry goods pushed to you at the first time!!! This article is authorized to be reproduced by Machine Heart (WeChat public account: almosthuman2014), and secondary reproduction is prohibited. Participants: Zhang Qian, Dan Jiang, Xiao Zhou Organized by Machine Heart About … Read more

Introduction to Raspberry Pi: Course 0 Overview | Linux China

Introduction to Raspberry Pi: Course 0 Overview | Linux China

This course overview does not include practical content, but it explains the basic concepts of an operating system, assembly code, and other important fundamental principles. — Robert Mullins Acknowledgments Translated from | cl.cam.ac.uk Author | Robert MullinsTranslator | LCTT / qhwdw This course overview does not include practical content, but it explains the basic concepts … Read more