1 Star 0 Fork 86

jerry-weng/luatos-soc-2022

forked from 合宙Luat/LuatOS-SoC-2022 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.sh 959 Bytes
一键复制 编辑 原始数据 按行查看 历史
Wendal 提交于 2023-05-31 16:11 . add: 添加宏LUAT_GPIO_1415_ALT0
export PROJECT_NAME=example
export LSPD_MODE=disable
#rem you can set your gcc path
# export GCC_PATH=/opt/gcc_mcu
export ROOT_PATH=`pwd`
if test "$1" != ""; then
export PROJECT_NAME=$1
else
echo "PROJECT not set"
fi
if test "$2" != "" ;then
export LSPD_MODE=$2
else
if test "$1" = "luatos"; then
export LSPD_MODE=enable
else
echo "LSPD_MODE not set"
fi
fi
# check csdk rndis
export RNDIS_MARK="csdk_rndis"
if [[ -f "$FILE" ]]; then
# @echo This is CSDK with RNDIS
export EC618_RNDIS=enable
export LSPD_MODE=disable
fi
echo "=============================="
echo "AirM2M https://openluat.com"
echo "=============================="
echo "PROJECT : $PROJECT_NAME "
echo "LSPD_MODE : $LSPD_MODE "
echo "RNDIS : $EC618_RNDIS"
echo "=============================="
if test "$3" = "-v"; then
xmake --root -v
else
xmake --root -w
fi
echo "-------------------------"
echo "--------DONE-------------"
echo "-------------------------"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jerry-weng/luatos-soc-2022.git
git@gitee.com:jerry-weng/luatos-soc-2022.git
jerry-weng
luatos-soc-2022
luatos-soc-2022
master

搜索帮助