1 Star 0 Fork 32

TheTravels/hpm_sdk

forked from hpmicro/hpm_sdk 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
env.sh 576 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ryan QIAN 提交于 2022-05-31 19:39 . Initial commit
#
# Copyright (c) 2021 hpmicro
#
# SPDX-License-Identifier: BSD-3-Clause
#
if [ "X$MSYSTEM" "==" "X" ]; then
if [ "X$name" "==" "Xenv.sh" ]; then
echo "Please source this file, rather than executing it."
exit
fi
env_name=$0
else
env_name=$1
fi
script=$(cd -P -- "$(dirname -- "$env_name")" && printf '%s\n' "$(pwd -P)/$(basename -- "$env_name")")
if [ "X$MSYSTEM" "==" "X" ]; then
export HPM_SDK_BASE=$(dirname "$script")
else
export HPM_SDK_BASE=$script
fi
echo $HPM_SDK_BASE
export OPENOCD_SCRIPTS=${HPM_SDK_BASE}/boards/openocd
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/TheTravels/hpm_sdk.git
git@gitee.com:TheTravels/hpm_sdk.git
TheTravels
hpm_sdk
hpm_sdk
main

搜索帮助