10, Linux development board controls LED light equipment

Control LED light equipment Driver Essence: create corresponding device node files for hardware devices When creating equipment files, specify the use of equipment files. application program Control the hardware according to the device file usage specified by the driver Control hardware equipment steps 1. Find the device node file corres ...

Added by Grimloch on Sat, 26 Feb 2022 13:11:19 +0200

STM32 LCD (ILI9341) simulates 8080 timing

LCD with 8080 timing There are four control lines of 8080: RD write enable, WR read enable, DC data / command and CS chip selection 8080 bus has many interfaces: 8 / 9 / 16 / 18 bit interface 8080 general timing Read timing LCD_CS = 0; //Film selection LCD_DC = 1; //Read data LCD_WR = 1; //No writing LCD_RD = 0; //Start readin ...

Added by Kazlaaz on Sat, 26 Feb 2022 12:59:07 +0200

RT smart OS for executing RT thread on bare metal machine of Quanzhi D1 Nezha

preface I got the Nezha development board in advance. When I was excited, I began to study how to run my bare metal program, which is called operating system Unlike mcu, sbc level cpu is much more complex to run, but fortunately, in the field of system level, the division of labor of different software is clear. Our bare metal program, as the ...

Added by rskandarpa on Wed, 23 Feb 2022 04:21:53 +0200

Struct input under Linux_ Detailed explanation of event structure (refer to Guangdong embedded data)

4.4 touch screen application interface 4.4.1 introduction to input subsystem There can be more than one input device connected to the operating system, perhaps a standard PS/2 keyboard, perhaps a USB mouse, or a touch screen, or even a game console joystick. When dealing with these complex and different input devices, Linux still uses the mid ...

Added by justinwhite93 on Sun, 20 Feb 2022 13:13:07 +0200

Linux file input / output stream

File open, file write, file read, file close, file cursor lseek, file create The general process of a file is to open or create a document - edit the document - save the document - close the document. The api (Application Programming Interface) provided by liunx file operation includes open, write, read, close, lseek, create, etc. File op ...

Added by danielholmes85 on Sun, 20 Feb 2022 09:19:05 +0200

Linux driven device tree

14. Device tree 1. What is a device tree? Device tree is a data structure that describes hardware resources. It transmits hardware resources to the kernel through bootloader, making the description of kernel and hardware resources relatively independent. 2. Origin of device tree To understand why there is a device tree and how it comes from ...

Added by Gorillas on Sat, 19 Feb 2022 15:13:39 +0200

u-boot sets tftp boot kernel and nfs root file system

First of all, the server needs to be configured with nfs and tftp, which have a lot of information on the Internet and are omitted here. In this example, my server address is 192.168.88.18, and the nfs and file system directory is: / home/ubuntu/disk-2/nfs_rootfs, tftp directory is: / home/ubuntu/disk-2/tftpboot. Kernel zImage and device tree f ...

Added by Whetto on Sat, 19 Feb 2022 04:20:30 +0200

linux kernel asynchronous notification

1. Introduction to asynchronous notification 1) Interrupt is an asynchronous mechanism provided by the processor. After configuring the interrupt, the processor can handle other things. When the interrupt occurs, it will trigger the interrupt service function set in advance and do specific processing in the interrupt service function. 2) ...

Added by always_confused on Sat, 19 Feb 2022 03:50:30 +0200

Alios things 3.3.0: a2sa component introduction

summary A2SA is the abbreviation of advanced AliOS Things sound architecture. It is the service framework of AliOS Things audio system, including audio driver layer, audio service interface layer and audio plug-in management. Some design concepts draw lessons from the design ideas of Linux ALSA, such as supporting VFS device driver mount acc ...

Added by drawmack on Fri, 18 Feb 2022 07:49:22 +0200

Alios things 3.3.0: http component introduction

summary HTTP(HyperText Transfer Protocol) is an application layer protocol used to transfer hypertext. The network protocol stack of AliOS Things includes HTTP components and provides HTTP client standard capabilities. Developers can quickly realize data interaction with the server through HTTP GET, POST and other methods on the device side ...

Added by Toxinhead on Thu, 17 Feb 2022 20:45:43 +0200