47 Star 112 Fork 82

合宙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 "-------------------------"
1
https://gitee.com/openLuat/luatos-soc-2022.git
git@gitee.com:openLuat/luatos-soc-2022.git
openLuat
luatos-soc-2022
luatos-soc-2022
master

搜索帮助