Understanding Hooks in RTOS Kernels

Understanding Hooks in RTOS Kernels

Follow+Star Public Number, don’t miss the wonderful content Author | strongerHuang WeChat Public Account | strongerHuang Most operating systems on the market have a type of API function interface: HOOK functions (also known as hook functions). HOOK functions can be found in desktop operating systems like Windows, Linux, as well as real-time operating systems like … Read more

Methods for RTOS Multi-Task Access to the Same UART

Methods for RTOS Multi-Task Access to the Same UART

Author | strongerHuang WeChat Official Account | Embedded Column In RTOS multi-task programming, it is common for multiple tasks to access the same hardware (such as UART, I2C, etc.). If not handled properly, it can lead to a “chaotic” situation. There are many methods to handle the “chaotic” situation. Below, based on FreeRTOS, I will … Read more

Understanding RTOS Priority Preemptive Scheduling

Understanding RTOS Priority Preemptive Scheduling

Follow+Star Public Number, don’t miss wonderful content Source | McuLover666 1. Knowledge Point Consolidation 1.1. Knowledge Point Consolidation The three major elements of a task: task control block, task stack, task entry function, here you can refer to the article: How to write RTOS tasks? 1.2. Doubly Circular Linked List A doubly linked list is … Read more

Exploring the Air780E Low Power 4G Module: Watchdog Timer (WDT) Example

Exploring the Air780E Low Power 4G Module: Watchdog Timer (WDT) Example

Read the latest documentation,Participate in: 【Find Errors in Documentation and Win Prizes】 Activity The latest documentation content can be found at:https://docs.openluat.com/air780e/luatos/app/service/wdt 1. Introduction to Watchdog Circuit The Watchdog Timer (WDT) is a monitoring circuit primarily used in embedded systems to enhance the reliability and stability of the system. With the help of the watchdog circuit, … Read more

Controlling LED and Button with C# NanoFramework on ESP32

Controlling LED and Button with C# NanoFramework on ESP32

Originally, I planned to do something big over the weekend, like WIFI and web pages. However, after two days of work and discussions with foreign friends, I realized that there was a problem with the firmware. After communicating with a senior expert at night, I found out that the official firmware for the ESP32S has … Read more

Getting Started with NanoFramework for Embedded Systems

Getting Started with NanoFramework for Embedded Systems

If you are unfamiliar with NanoFramework, you can check out the following examples ![im https://cshark-hub.github.io/mako-iot/posts/waste-bins-calendar/ A very cool high-tech trash can project Introduction to NanoFramework NanoFramework is an open-source, cross-platform version of .NET, specifically designed for embedded systems and Internet of Things (IoT) devices. It allows developers to build embedded applications using .NET languages such … Read more

Getting Started with ESP32: Phase One Course Launch

Getting Started with ESP32: Phase One Course Launch

ESP32 Phase One Course is now live, here are some explanations and introductions to this course: 1. This tutorial is the first phase of the ESP32 course, covering mainly ESP32 introduction, environment installation, GPIO interface, external interrupts, UART communication, ADC, DAC, timers, IIC bus, SPI bus, and IIS bus. Since the core feature of the … Read more

Choosing Between ESP32 and STM32: A Comprehensive Guide

Choosing Between ESP32 and STM32: A Comprehensive Guide

Advantages of ESP32 Before discussing this issue, we first need to outline the advantages of ESP32 compared to STM32. The ESP32 features a dual-core 240MHz processor, built-in WiFi and Bluetooth including low power Bluetooth, while most STM32 chips lack built-in wireless capabilities and rely on external devices for wireless communication, which is the main advantage … Read more

Interview with the Project Creator: Porting Linux to ESP32

Interview with the Project Creator: Porting Linux to ESP32

Hello everyone, I am a basketball enthusiast who writes code. Recently, I came across a very interesting project online where an expert has successfully ported the Linux kernel to the ESP32 and got it running. On foreign websites, many people are discussing this matter. https://hackaday.com/2021/07/21/its-linux-but-on-an-esp32/ The ESP32 is a chip launched by Espressif for smart … Read more

Multithreading with FreeRTOS on ESP32

Multithreading with FreeRTOS on ESP32

LingShun Lab (lingshunlab.com) mainly introduces how to use multithreading with FreeRTOS on the ESP32. What is Multithreading? It refers to the technology of implementing multiple threads to execute concurrently from software or hardware. Computers with multithreading capabilities can execute more than one thread at the same time due to hardware support, thereby improving overall processing … Read more