11 Star 36 Fork 11

乐鑫开源 / esp-adf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
export.bat 845 Bytes
一键复制 编辑 原始数据 按行查看 历史
Gao Wei 提交于 2023-12-20 21:00 . tools: Add install and export scripts
@echo off
set "ORIG_PATH=%cd%"
set ADF_PATH=%~dp0
set ADF_PATH=%ADF_PATH:~0,-1%
:: Check IDF_PATH
if not defined IDF_PATH (
set IDF_PATH=%ADF_PATH%\esp-idf
)
echo ADF_PATH: %ADF_PATH%
echo IDF_PATH: %IDF_PATH%
call %IDF_PATH%\export.bat
if %errorlevel% neq 0 (goto :ErrorHandling)
python.exe "%ADF_PATH%\tools\adf_install_patches.py" apply-patch
if %errorlevel% neq 0 (goto :ErrorHandling)
echo.
echo The following command can be executed now to view detailed usage:
echo.
echo idf.py --help
echo.
echo Compilation example (The commands highlighted in yellow below are optional: Configure the chip and project settings separately)
echo.
echo cd %ADF_PATH%\examples\cli
echo idf.py set-target esp32
echo idf.py menuconfig
echo idf.py build
echo.
:ErrorHandling
echo The script encountered an error.
goto :eof
C
1
https://gitee.com/EspressifSystems/esp-adf.git
git@gitee.com:EspressifSystems/esp-adf.git
EspressifSystems
esp-adf
esp-adf
master

搜索帮助