1 Star 0 Fork 1

zxcv7063/rtthread-nrf52840bsp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
SConstruct 915 Bytes
一键复制 编辑 原始数据 按行查看 历史
'''
Description:
Author: yuqingli
Date: 2021-02-09 18:06:51
LastEditTime: 2021-03-07 21:23:48
LastEditors: yuqingli
'''
import os
import sys
import rtconfig
from rtconfig import RTT_ROOT
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
from building import *
TARGET = 'rtthread.' + rtconfig.TARGET_EXT
DefaultEnvironment(tools=[])
env = Environment(tools = ['mingw'],
AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS,
CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS,
CXX = rtconfig.CC, CXXFLAGS = rtconfig.CXXFLAGS,
AR = rtconfig.AR, ARFLAGS = '-rc',
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
Export('RTT_ROOT')
Export('rtconfig')
# prepare building environment
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=True)
# for path in env['CPPPATH']:
# print(path)
# print(env['CCFLAGS'])
# make a building
DoBuilding(TARGET, objs)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/zxcv7063/rtthread-nrf52840bsp.git
git@gitee.com:zxcv7063/rtthread-nrf52840bsp.git
zxcv7063
rtthread-nrf52840bsp
rtthread-nrf52840bsp
master

搜索帮助