View source insert using the Linux kernel source code

  Configure the next source insert software that can support various types of files when you add a project file

  “ Options ” --> “ Preferences ” ---> “ Languages ” --->  “ C Languages ”  ---> “ Doc Types... ” ---> “ file filter ” -->“ *.c;*.h;*.S;*.lds;*.dts;*.dtsi;*config;*Makefile;

 

    

 

 

1. Open source insert software  "Project" -> "New Project ..."

 

 

 

2. Select the location to store the project file, " the Browse ... "; " New Project name names," the new project and then click " the OK "

 

3. In the " New Project Setting in" of " the Configuration " select " Project has the ITS own ConfigurationFile " (the project has its own separate configuration file), and then click " the ok ."

 

4. 之后弹出“Add and Remove Project Files” 添加 内核源码路径如果 直接 close 掉了 在project 中找

 

 在此之前需要linux系统中把内核的目录制作网络驱动器到Windows中

 6. 菜单栏中“Project”中的“Add and Remove Project Files...”在File Name中输入内核路径(此处是内核源码的存放路径,不是创建的工程路径) “ctrl+回车” 就会显示所有的文件 然后点击“Add All” 然后两项全选中点击“OK”然后会提示有多少个文件添加进来 , 添加完成之后点击“Close

 

在 “File Name " 中输入 内核源码的路径 按ctrl +回车 如下提示点击 "Add"

 

之后会提示,添加文件

添加文件过程

 文件添加完直接关闭窗口 “close”

 

 7. 要想快速的找到函数原型要同步选择对话框中“R”左边的书本按钮然后点击“”。

提示点击 是

等一会

 

创建完工程后,配置显示行号

 

Guess you like

Origin www.cnblogs.com/electronic/p/10976201.html