⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sconscript

📁 MANTIS是由科罗拉多大学开发的传感器网络嵌入式操作系统。 这是mantis的0.9.5版本的源码。
💻
字号:
import globimport osfrom scripts.build_support import *Import ('*')if env['plat'] != 'linux':    env.Exit('Error: Tools must be build on the linux platform')else:    file_list = ['shell.c',                 'flash.c',                 'load.c',                 'run.c',                 'mos_shell.c'                 ]        envcopy = env.Copy ()    add_include_path (envcopy['CPPPATH'], '#src/tools/shell')    envcopy['PROGSUFFIX'] = ''    mos_shell = envcopy.Program ('mos_shell', file_list)    envcopy.Install('/usr/local/bin', mos_shell)    envcopy.Alias('install', '/usr/local/bin')        Return ('mos_shell')

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -