From 9fa7e354a21abcf09aeb81098138c58389676895 Mon Sep 17 00:00:00 2001 From: 4712 Date: Sat, 14 Apr 2012 01:43:07 +0300 Subject: [PATCH] Minor Fixes to MakeHexfiles.bat (added "/Q" option; removed unwanted spaces in hex file names) --- SiLabs/MakeHexfiles.bat | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/SiLabs/MakeHexfiles.bat b/SiLabs/MakeHexfiles.bat index 08a7cf91..f6fab2d0 100644 --- a/SiLabs/MakeHexfiles.bat +++ b/SiLabs/MakeHexfiles.bat @@ -2,9 +2,9 @@ rem ***** Batch file for BlHeli (from 4712) **** rem ***** adapt settings to your enviroment **** -DEL Output\Hex\*.* +DEL Output\Hex\*.* /Q RMDIR Output\Hex -DEL Output\*.* +DEL Output\*.* /Q RMDIR Output MKDIR Output MKDIR Output\Hex @@ -90,7 +90,7 @@ copy "Output\%BESCTYPE%.HEX" "Output\Hex\*.*" del "Output\%BESCTYPE%.HEX" -SET BESCTYPE=XP_3A_TAIL +SET BESCTYPE=XP_3A_TAIL SET BESC=8 %RaisonancePath%\Ride\bin\ma51.exe "BLHeli.asm" SET(BESC=%BESC%) OBJECT(Output\%BESCTYPE%.OBJ) DEBUG EP QUIET PIN(%SilabsPath%\MCU\Inc;%RaisonancePath%\Ride\inc;%RaisonancePath%\Ride\inc\51) @@ -99,7 +99,7 @@ SET BESC=8 copy "Output\%BESCTYPE%.HEX" "Output\Hex\*.*" del "Output\%BESCTYPE%.HEX" -SET BESCTYPE=XP_7A_MAIN +SET BESCTYPE=XP_7A_MAIN SET BESC=9 %RaisonancePath%\Ride\bin\ma51.exe "BLHeli.asm" SET(BESC=%BESC%) OBJECT(Output\%BESCTYPE%.OBJ) DEBUG EP QUIET PIN(%SilabsPath%\MCU\Inc;%RaisonancePath%\Ride\inc;%RaisonancePath%\Ride\inc\51) @@ -108,7 +108,7 @@ SET BESC=9 copy "Output\%BESCTYPE%.HEX" "Output\Hex\*.*" del "Output\%BESCTYPE%.HEX" -SET BESCTYPE=XP_7A_TAIL +SET BESCTYPE=XP_7A_TAIL SET BESC=10 %RaisonancePath%\Ride\bin\ma51.exe "BLHeli.asm" SET(BESC=%BESC%) OBJECT(Output\%BESCTYPE%.OBJ) DEBUG EP QUIET PIN(%SilabsPath%\MCU\Inc;%RaisonancePath%\Ride\inc;%RaisonancePath%\Ride\inc\51) @@ -117,7 +117,7 @@ SET BESC=10 copy "Output\%BESCTYPE%.HEX" "Output\Hex\*.*" del "Output\%BESCTYPE%.HEX" -SET BESCTYPE=XP_12A_MAIN +SET BESCTYPE=XP_12A_MAIN SET BESC=11 %RaisonancePath%\Ride\bin\ma51.exe "BLHeli.asm" SET(BESC=%BESC%) OBJECT(Output\%BESCTYPE%.OBJ) DEBUG EP QUIET PIN(%SilabsPath%\MCU\Inc;%RaisonancePath%\Ride\inc;%RaisonancePath%\Ride\inc\51) @@ -126,7 +126,7 @@ SET BESC=11 copy "Output\%BESCTYPE%.HEX" "Output\Hex\*.*" del "Output\%BESCTYPE%.HEX" -SET BESCTYPE=XP_12A_TAIL +SET BESCTYPE=XP_12A_TAIL SET BESC=12 %RaisonancePath%\Ride\bin\ma51.exe "BLHeli.asm" SET(BESC=%BESC%) OBJECT(Output\%BESCTYPE%.OBJ) DEBUG EP QUIET PIN(%SilabsPath%\MCU\Inc;%RaisonancePath%\Ride\inc;%RaisonancePath%\Ride\inc\51)