Ai
6 Star 12 Fork 11

QuecPython/microPython

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
gen.sh 534 Bytes
一键复制 编辑 原始数据 按行查看 历史
chenchi 提交于 2021-06-03 16:44 +08:00 . first commit
#!/bin/sh
py_ver=$(python --version 2> /dev/null | sed -n '/Python 3/p')
py3_ver=$(python3 --version 2> /dev/null | sed -n '/Python 3/p')
if [ ! -n "$py_ver" ]; then
if [ ! -n "$py3_ver" ]; then
echo "! No Python3.x found in system environment."
else
py_cmd=python3
fi
else
py_cmd=python
fi
if [ "$1" = "clean" ]; then
make -C ports/quectel/core --no-print-directory -f Makefile clean PYTHON=$py_cmd
else
make -C ports/quectel/core --no-print-directory -f Makefile all V=1 PYTHON=$py_cmd
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/quecpython/microPython.git
git@gitee.com:quecpython/microPython.git
quecpython
microPython
microPython
master

搜索帮助