1 Star 0 Fork 86

TUO/luatos-soc-2022

forked from 合宙Luat/LuatOS-SoC-2022 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.bat 927 Bytes
一键复制 编辑 原始数据 按行查看 历史
@echo off
set PROJECT_NAME=example
set LSPD_MODE=disable
rem you can set your gcc path
rem set GCC_PATH=E:\gcc_mcu
set ROOT_PATH = %cd:\=/%
if not "%1"=="" (
set PROJECT_NAME=%1
) ELSE (
@echo PROJECT not set
)
if not "%2"=="" (
set LSPD_MODE=%2
) ELSE (
if "%1" == "luatos" (
set LSPD_MODE=enable
) ELSE (
@echo LSPD_MODE not set
)
)
rem check csdk rndis
set RNDIS_MARK="csdk_rndis"
if exist %RNDIS_MARK% (
@echo This is CSDK with RNDIS
set EC618_RNDIS=enable
set LSPD_MODE=disable
) else (
set EC618_RNDIS=disable
)
@echo "=============================="
@echo "AirM2M https://openluat.com"
@echo "=============================="
@echo PROJECT : %PROJECT_NAME%
@echo LSPD_MODE : %LSPD_MODE%
@echo RNDIS : %EC618_RNDIS%
@echo "=============================="
if not exist xmake.lua (
echo xmake.lua not exist
goto end
)
if "%3"=="-v" (
call xmake -v
) ELSE (
call xmake -w
)
:end
echo end
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wang-wenzhong1/luatos-soc-2022.git
git@gitee.com:wang-wenzhong1/luatos-soc-2022.git
wang-wenzhong1
luatos-soc-2022
luatos-soc-2022
master

搜索帮助