1 Star 0 Fork 0

hunt/cellular_device

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
SConscript 822 Bytes
一键复制 编辑 原始数据 按行查看 历史
chuckie 提交于 2021-08-28 21:49 +08:00 . 1. 优化完善休眠框架
Import('RTT_ROOT')
Import('rtconfig')
from building import *
cwd = GetCurrentDir()
# add the general drivers.
src = Glob('src/*.c')
path = [cwd+'/inc']
if GetDepend(['CELLULAR_USING_CMUX']):
src += Glob('cmux/*.c')
path += [cwd+'/cmux']
if GetDepend(['CELLULAR_USING_SMS']):
src += Glob('sms/*.c')
path += [cwd+'/sms']
if GetDepend(['CELLULAR_USING_SLM750']):
src += [cwd+'/vendor/slm750.c']
if GetDepend(['CELLULAR_USING_QUECTEL_EC20']):
src += [cwd+'/vendor/EC20.c']
if GetDepend(['CELLULAR_USING_QUECTEL_EC600S']):
src += [cwd+'/vendor/EC600S.c']
if GetDepend(['CELLULAR_USING_SAMPLE']):
src += [cwd+'/sample/dial_sample.c']
path += [cwd+'/sample']
group = DefineGroup('libs/cellular_device', src, depend = ['RT_USING_CELLULAR_DEVICE'], CPPPATH = path)
Return('group')
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/code_hunter/cellular_device.git
git@gitee.com:code_hunter/cellular_device.git
code_hunter
cellular_device
cellular_device
master

搜索帮助