]> rtime.felk.cvut.cz Git - pes-rpp/rpp-simulink.git/commitdiff
Another fix for Windows download script
authorMichal Horn <hornmich@fel.cvut.cz>
Wed, 19 Nov 2014 16:09:07 +0000 (17:09 +0100)
committerMichal Horn <hornmich@fel.cvut.cz>
Wed, 19 Nov 2014 16:09:07 +0000 (17:09 +0100)
Resolves invalid path to debug server error.

rpp/loadti/loadti.bat
rpp/rpp/rpp_download.m

index b041326178c6b34bde4c0b5f6232c4ceb28e00ff..9cd408f422020dee39e7598ac4c067d923ad64d9 100644 (file)
@@ -12,7 +12,7 @@ REM Do not edit the lines below.
 REM ===========================================================================
 
 REM Set the DSS and DebugServer Root.
-set DEBUGSERVER_ROOT=%CCS_SCRIPTING%
+set DEBUGSERVER_ROOT=!CCS_SCRIPTING!
 set DSS_ROOT=!DEBUGSERVER_ROOT!\..
 
 REM add path to Windows 32-bit on Windows 64-bit (WOW64) folder for 64bit Windows to use the 32bit applications.
index 3cd96eb600737aa0b1f1ec874b414a9a29960d6c..19843901c0722cd61617cd0cefb9184a3ad1a007 100644 (file)
@@ -91,7 +91,7 @@ function rpp_download(modelName, buildDirectory, use_openocd, use_sdram)
                                % -r,   --reset                 Reset target before run
                                % -c,   --cfg-file=CONFIG_FILE  Target setup config file
                                command = [...
-                                       'set CCS_SCRIPTING="' CCSRoot '\ccs_base\DebugServer" && ' ...
+                                       'set CCS_SCRIPTING="' CCSRoot '\ccs_base\DebugServer"&' ...
                                        '"' RppLibRoot '\..\loadti\loadti.bat" -r ' ...
                                        '-c "', RppLibRoot, '\rpp\TMS570LS3137.ccxml" ', ...
                                        '"', outfile];