11 Star 36 Fork 11

乐鑫开源 / esp-adf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
export.sh 835 Bytes
一键复制 编辑 原始数据 按行查看 历史
Gao Wei 提交于 2023-12-20 21:00 . tools: Add install and export scripts
#!/bin/bash
if [ -z "$ADF_PATH" ]; then
basedir=$(dirname "$0")
export ADF_PATH=$(cd "${basedir}"; pwd)
fi
if [ -z "$IDF_PATH" ]; then
export IDF_PATH=$ADF_PATH/esp-idf
fi
echo "ADF_PATH: $ADF_PATH"
echo "IDF_PATH: $IDF_PATH"
source ${IDF_PATH}/export.sh || return $?
source "${IDF_PATH}/tools/detect_python.sh"
"${ESP_PYTHON}" "${ADF_PATH}/tools/adf_install_patches.py" apply-patch
echo -e "\nThe following command can be executed now to view detailed usage:"
echo -e ""
echo -e " idf.py --help"
echo -e "\nCompilation example (The commands highlighted in yellow below are optional: Configure the chip and project settings separately)"
echo -e ""
echo -e " cd $ADF_PATH/examples/cli"
echo -e " \033[33midf.py set-target esp32\033[0m"
echo -e " \033[33midf.py menuconfig\033[0m"
echo -e " idf.py build"
echo -e ""
C
1
https://gitee.com/EspressifSystems/esp-adf.git
git@gitee.com:EspressifSystems/esp-adf.git
EspressifSystems
esp-adf
esp-adf
master

搜索帮助