Fetch the repository succeeded.
This action will force synchronization from 启明智显/zx-rtt-sdk, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
@echo off
rem SPDX-License-Identifier: GPL-2.0+
rem
ver | find "Windows" > NUL || goto end
if "%CD%"=="C:\Windows\system32" (
echo Current user is administrator, need change path to ZX-RTT ...
cd /d %~dp0
)
set PYTHONIOENCODING=UTF-8
set SDK_PRJ_TOP_DIR=%cd%
set PATH=%SDK_PRJ_TOP_DIR%\tools\env\tools\bin;%PATH%
set PATH=%SDK_PRJ_TOP_DIR%\tools\env\tools\Python27\Scripts;%PATH%
set PATH=%SDK_PRJ_TOP_DIR%\tools\env\tools\Python39;%PATH%
set PATH=%SDK_PRJ_TOP_DIR%\tools\scripts\onestep;%PATH%
set ENV_ROOT=%SDK_PRJ_TOP_DIR%\tools\env
set PKGS_ROOT=%ENV_ROOT%\packages
set RTT_ROOT=%SDK_PRJ_TOP_DIR%\kernel\rt-thread
rem OneStep command
doskey list=scons --list-def -C %SDK_PRJ_TOP_DIR%
doskey m=scons -C %SDK_PRJ_TOP_DIR% -j 8
doskey c=scons -c -C %SDK_PRJ_TOP_DIR%
doskey i=scons --info -C %SDK_PRJ_TOP_DIR%
doskey croot=cd /d %SDK_PRJ_TOP_DIR%
doskey cr=cd /d %SDK_PRJ_TOP_DIR%
doskey cb=cbuild
doskey co=cout
doskey ct=ctarget
chcp 65001 > nul
echo ZX-RTT command for Windows
echo.
cmd.exe
end:
echo "Current OS is not Windows!"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。