FreeRTOS Operating System: A Comprehensive Guide

FreeRTOS Operating System: A Comprehensive Guide

The manual porting process is complex and tedious. First, use cubemx for quick configuration: First, print a message to the serial port: /* USER CODE BEGIN 2 */ printf("hello shxi\r\n"); /* USER CODE END 2 */ /* Call init function for freertos objects (in freertos.c) */ MX_FREERTOS_Init(); OK proves that the configuration is correct! Tasks … Read more

Getting Started with FreeRTOS: A Guide to Writing Doubly Linked Lists

Getting Started with FreeRTOS: A Guide to Writing Doubly Linked Lists

Abstract: A few days ago, I talked about single linked lists, today I will discuss doubly linked lists in conjunction with the FreeRTOS linked list source code. Note: A linked list item is a node, and a node is a linked list item, they refer to the same thing, it doesn’t matter what you call … Read more

A Comprehensive Guide to FreeRTOS Programming Methods

A Comprehensive Guide to FreeRTOS Programming Methods

Click on the blue text above to follow us. If you are interested, please check out the detailed FreeRTOS series column articles on CSDN. Among the current RTOS, there are mainly two popular programming methods. Next, I will explain these two programming methods through pseudo-code. 1 Initialize hardware and RTOS in the main function, create … Read more

Implementing Hardware and Software Watchdog Monitoring for Multitasking with STM32 and FreeRTOS

Implementing Hardware and Software Watchdog Monitoring for Multitasking with STM32 and FreeRTOS

Follow+Public Account Star, don’t miss wonderful content Author | strongerHuang WeChat Public Account | Embedded Column This is an old article, someone in the technical group was discussing this issue, so I am here to share it today. We all know the purpose of the hardware watchdog:it is used to monitor the system, prevent system … Read more

ESP32/8266 vs Raspberry Pi: Which One to Choose for Your IoT Projects?

ESP32/8266 vs Raspberry Pi: Which One to Choose for Your IoT Projects?

The Internet of Things and embedded systems are booming, providing developers with a wealth of choices. Among them, the ESP32/8266 and Raspberry Pi are two highly popular development boards that are often compared. They are both known for their low cost but have significant differences in performance, functionality, and application scenarios. This article will help … Read more

Reverse Engineering STM32 Firmware: A Comprehensive Guide

Reverse Engineering STM32 Firmware: A Comprehensive Guide

This article is a highlight from the KX forum, authored by KX forum user ID: Lpwn 1 Overview Using an old project on fan control as an experiment. It utilized external interrupts, timer interrupts, and PWM. The MCU is STM32F103ZET6. In the Keil settings, you can see the starting address of the firmware, which is … Read more

Understanding Memory Alignment of C Structs in Embedded Systems

Understanding Memory Alignment of C Structs in Embedded Systems

Today, I bring you a classic and commonly mistaken question about memory alignment of C language structures: Calculate the number of bytes occupied by the following structure in a 32-bit environment: typedef struct test_struct { char a; short b; char c; int d; char e; }test_struct; Please provide your answer: Let’s take a look at … Read more

Step-by-Step Guide to Porting LVGL to the T113-i Industrial Development Board

Step-by-Step Guide to Porting LVGL to the T113-i Industrial Development Board

There are many embedded GUI libraries available on the market, including open-source GUI libraries such as LVGL and EmWin, and closed-source GUI libraries like TouchGFX and Persimmon GUI. The testing board for this development tutorial comes from Tronlong Technology’s TLT113-EVM industrial evaluation board, which is based on the Allwinner Technology T113-i dual-core ARM Cortex-A7 + … Read more

Exploring the Python Library python-pi4j: A Pioneer in IoT Development!

Exploring the Python Library python-pi4j: A Pioneer in IoT Development!

python-pi4j – A Pioneer in IoT Development! Hello everyone! Today we are going to learn about a very interesting Python library – python-pi4j. If you are interested in IoT development, hardware programming, or Raspberry Pi, then this library will definitely open your eyes! It provides us with the ability to interact with various electronic components, … Read more

Comprehensive Guide to ARM GICv3

Comprehensive Guide to ARM GICv3

1 You must have learned about it. Some say it can interrupt the CPU’s sequential execution, which is the essence of microcontroller learning. Others say it helps the CPU achieve asynchronous multitasking, thereby improving CPU efficiency. Some also say it effectively manages various system resources and coordinates relationships between multiple CPUs. The knowledge I am … Read more