rtt-f030/bsp/stm32h743-nucleo/auto_rebuild.bat

26 lines
657 B
Batchfile
Raw Normal View History

::clean output files
del *.log /s
del *.dblite /s
del project.* /s
del *.scvd /s
rd /s /q .\build
rd /s /q .\settings
rd /s /q .\DebugConfig
::start cmd window and do the command
::start cmd.exe /c "scons --target=mdk5 -s"
start cmd.exe /c "scons --target=iar -s&&scons --target=mdk5 -s"
::start <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>Ӧ<EFBFBD><D3A6>
::cmd /k <20><>ʾcmd<6D><64><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4><EFBFBD><EFBFBD><EFBFBD>󲻹رմ<D8B1><D5B4>ڡ<EFBFBD>
::<3A><><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA>ִ<EFBFBD><D6B4><EFBFBD><EFBFBD><EFBFBD>ɺ<EFBFBD><C9BA>رմ<D8B1><D5B4>ڿ<EFBFBD><DABF><EFBFBD><EFBFBD><EFBFBD>/c <20><>
::<3A><>ϸ<EFBFBD><CFB8>ʹ<EFBFBD><CAB9>cmd/?<3F>
::"<22><><EFBFBD><EFBFBD>1&&<26><><EFBFBD><EFBFBD>2&&.."
::<3A><>Ҫִ<D2AA>еĶ<D0B5><C4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȫ<EFBFBD><C8AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>&&<26>ָ<EFBFBD><D6B8><EFBFBD>
::<3A><><EFBFBD><EFBFBD>ֻ<EFBFBD><D6BB>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҳ<EFBFBD><D2B2><EFBFBD>ԡ<EFBFBD>
::<3A>
::@echo off
::start cmd /k "cd/d E:\&&echo hello&&pause&&ping www.163.com"