System analysis of deleting irrelevant codes and their configuration in uboot

The first hurdle in learning embedded linux is uboot. Many friends feel helpless about this slightly complex MCU program. This is mainly because there will be many folders after extracting a uboot compressed package, which contains a lot of code. In addition, there are makefile, Kconfig, device tree and so on. I don't know where to start. If ...

Posted by rebelo on Sun, 30 Jan 2022 12:38:43 +0100

pthread_ Problems and solutions of deadlock caused by canceling exiting thread

There are two kinds of thread termination in Posix: normal termination and abnormal termination. Thread actively calls pthread_exit() or return from the thread function will make the thread exit normally, which is a predictable exit method; Abnormal termination means that a thread exits under the intervention of other threads or due to its own ...

Posted by james_holden on Sun, 30 Jan 2022 01:47:42 +0100

While my roommate was playing the peak game, I quietly learned the SysTick timer of STM32

CSDN blog home page ID : Eterlove One by one, record my study and life! Standing on the shoulders of giants of Giants! This article is original, please indicate the source and author! preface We often use delay to complete some project requirements, and often use the software delay achieved by CPU empty cycle to realize it. Its method has t ...

Posted by turtlefox on Sun, 30 Jan 2022 01:45:51 +0100

Project 2 eight storey elevator based on single chip microcomputer

The author wants to help some children's shoes and lovers build projects, but his self-knowledge ability is limited, he doesn't like to talk about it, it's not easy to create, don't spray. The system adopts the elevator analog control system based on STC89C52 chip, and designs and simulates the basic functions of the elevator control system. T ...

Posted by dourvas on Sat, 29 Jan 2022 09:56:41 +0100

Linux multithreaded programming

linux multithreaded programming 1, Advantages of multithreading As a multitasking and concurrent working mode, multithreaded program has the following advantages: Improve application response. This is especially meaningful for the program of graphical interface. When an operation takes a long time, the whole system will wait for the operat ...

Posted by MCrosbie on Fri, 28 Jan 2022 01:45:13 +0100

Implementation and intuitive understanding of insertion and deletion of freertos bidirectional loop chain table

main.c After debug, look at the observation window, and the results are as follows. The purpose of this experiment is to establish a root node, a chain table of three common nodes, and the three common nodes are sorted in ascending order according to the xitemValue value. Main. Inside C First, look at the type of node: the chain table ...

Posted by allinurl on Thu, 27 Jan 2022 14:47:34 +0100

ESP32S2 small project FM network clock / radio Arduino development environment

ESP32S2 small project, FM, network clock / radio, Arduino development environment Effect display @ Boot animation: Network clock: FM module: Network radio: hardware platform ESP32 is a domestic WiFi chip of Lexin. ESP32-S2-MINI-1 adopts PCB on-board antenna, the module is equipped with 4MB SPI flash, 32-bit LX7 single core processor, and t ...

Posted by LarsLai on Thu, 27 Jan 2022 09:51:04 +0100

STM32 porting modbus communication protocol concise tutorial

  catalogue 1, Content discussed in this paper 2, Tools and source code 3, Modbus overview 4, Modbus RTU communication protocol 5, Complete Modbus I / O code 6, Complete Modbus logic function 7, Testing and verification 1, Content discussed in this paper This paper briefly introduces the Modbus communication protocol, realizes t ...

Posted by cidesign on Thu, 27 Jan 2022 08:45:09 +0100

Summary of assembly language used in freertos

Multiple memory access exclamatory mark! Indicates the value of the base register Rd to be incremented or decremented. The timing is before or after each access. Increase / decrease in words (4 bytes). Ldr R1,=0x10000000 //Starting address of transmitted data 0x10000000 LDMIA R1!,{R0,R4-R6} //Load from left to ...

Posted by karikamiya on Wed, 26 Jan 2022 11:51:53 +0100

STM32F103 five minute entry series SysTick tick timer + SysTick interrupt to realize the running lamp

Learning board: STM32F103ZET6 Push series: STM32F103 five minute introduction series (I) running lamp (library function + register) + Plus programming template + GPIO summary STM32F103 five minute entry series (II) seven registers of GPIO + GPIOx_LCKR function and configuration STM32F103 five minute introduction series (III) summary of commo ...

Posted by jlryan on Mon, 24 Jan 2022 18:34:36 +0100