From dd08bda5f59cc1482d143ee117093825dec90e8f Mon Sep 17 00:00:00 2001 From: WKJay <1931048074@qq.com> Date: Tue, 15 Oct 2019 10:51:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4port=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E7=9A=84=E9=BB=98=E8=AE=A4=E5=8A=A0=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SConscript | 2 -- readme.md | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/SConscript b/SConscript index 71a5b95..e43e11d 100644 --- a/SConscript +++ b/SConscript @@ -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'): diff --git a/readme.md b/readme.md index bd0d887..030c835 100644 --- a/readme.md +++ b/readme.md @@ -14,7 +14,7 @@ ## 一、软件包使用说明 -在使用软件包之前, 需要把 **src** 目录下的所有源文件加入工程,将 **inc** 添加到头文件目录,并且参照 **port** 路径下的 **dlt645_port.c** 源文件实现基于用户使用的硬件平台的底层硬件操作的移植。(详细的移植方法会在下文进行描述) +在使用软件包之前, 需要把 **src** 目录下的所有源文件加入工程,将 **inc** 添加到头文件目录,并且参照 **port** 路径下的 **dlt645_port.c** 源文件实现基于用户使用的硬件平台的底层硬件操作的移植。scons现在默认不会将port文件加入到工程中,使用时需在工程的其他目录下手动加入。(详细的移植方法会在下文进行描述) 当完成硬件接口移植后,可以参照以下步骤进行对软件包的使用: