Skip to content

Commit

Permalink
去除port文件的默认加入
Browse files Browse the repository at this point in the history
  • Loading branch information
WKJay committed Oct 15, 2019
1 parent 54f4238 commit dd08bda
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ from building import *

cwd = GetCurrentDir()
src = Glob("src/*")
src += Glob('port/dlt645_port.c')


# add dlt645 sample
if GetDepend('DLT645_USING_SAMPLE'):
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

## 一、软件包使用说明

在使用软件包之前, 需要把 **src** 目录下的所有源文件加入工程,将 **inc** 添加到头文件目录,并且参照 **port** 路径下的 **dlt645_port.c** 源文件实现基于用户使用的硬件平台的底层硬件操作的移植。(详细的移植方法会在下文进行描述)
在使用软件包之前, 需要把 **src** 目录下的所有源文件加入工程,将 **inc** 添加到头文件目录,并且参照 **port** 路径下的 **dlt645_port.c** 源文件实现基于用户使用的硬件平台的底层硬件操作的移植。scons现在默认不会将port文件加入到工程中,使用时需在工程的其他目录下手动加入。(详细的移植方法会在下文进行描述)

当完成硬件接口移植后,可以参照以下步骤进行对软件包的使用:

Expand Down

0 comments on commit dd08bda

Please sign in to comment.