source Insight工程的简单使用

本文以管理虚拟机里面的uboot为例:

1、选择project->New project->选择工程路径,假设为D:\uboot;->project has its own configuration file->ok->默认->ok.

2、现在建立好的工程还未管理任何源代码,先close掉,待会儿加入源代码。

3、将u-boot在虚拟机Linux下解压,同时在windows下通过samba找到uboot源代码路径。

4、现在添加源代码;project->add and remove project files->找到uboot源码->add all->注意要选择recursively add lower sub-directories->成功后,选择close。此时是没有加入.s 与.S文件的。

5、下面添加.s与.S文件。options->Document options->Document file:C Source file->File:*.c;*.h;*.s;*.S,关闭。下面重新找到源码目录并按照上面重新添加源码。

6、完成之后要点击书一样的图标,意为同步。

posted on 2016-05-11 16:53  gary_123  阅读(497)  评论(0编辑  收藏  举报

导航