Introduction to Linux kernel development tools

For embedded Linux product development, it is often necessary to tailor and customize the kernel to meet the functional and performance requirements of embedded products. This article describes several tools and methods for reading the Linux kernel source code.

The term "Linux kernel development" as used herein refers only to the development of kernel and driver related development in embedded Linux product development, which is quite different from the kernel development of the kernel development team led by Linux.

As the saying goes, "If you want to do something good, you must first sharpen your tools." In the face of hundreds of megabytes of Linux kernel code, you should read, view, or search for the code. Most developers who first come into contact with the Linux kernel code have There is no feeling of starting. Several source code reading and indexing tools are recommended below to provide some convenience for subsequent kernel development.

1. Source Insight

Source Insight is a highly popular source code reading and editing tool for the Windows platform. Many Linux developers are still accustomed to source code editing under Windows, and even view and edit the Linux kernel source code, still in Source Insight.

Description: Source Insight is a copyrighted software that needs to resolve copyright issues on its own.

After installing the Source Insight software, create a new project, name it, and specify the data storage location, as shown in Figure 1.1.

Figure 1.1 New Project


Figure 1.2 Project Settings

Click the OK button to enter the project settings interface, as shown in Figure 1.2.

Then add the source code. After browsing the Linux kernel source folder, click the "Add Tree" button to add all the files in the kernel source tree to the project, as shown in Figure 1.3.

Figure 1.3 Adding the kernel source

Once added, you can read and edit the source code in Source Insight, as shown in Figure 1.4.

Figure 1.4 Reading source code in Source Insight

Linear Stepper Motor

Linear Stepper Motor,Linear Actuator Motor,Nema Stepper Motor,Linear Drive Motor

Changzhou Sherry International Trading Co., Ltd. , https://www.sherry-motor.com

This entry was posted in on