]> rtime.felk.cvut.cz Git - pes-rpp/rpp-simulink.git/commitdiff
Revert change merged by mistake
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 8 Jul 2015 21:35:24 +0000 (23:35 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 8 Jul 2015 21:35:24 +0000 (23:35 +0200)
rpp/rpp/rpp_download.m

index e47d3a1163b5c48c8d433f9e262ddd01c7014655..e47f3fddf4393a5048fb9ea147d747e51abbcfdc 100644 (file)
@@ -43,7 +43,7 @@
 %     Readme file in <cssroot>/ccs_base/scripting/examples/loadti/readme.txt
 %     OpenOCD wiki at https://rtime.felk.cvut.cz/hw/index.php/TMS570LS3137#OpenOCD_setup_and_Flashing
 
-function rpp_download(modelName, buildDirectory, use_openocd, use_sdram, ccxml_filename)
+function rpp_download(modelName, buildDirectory, use_openocd, use_sdram)
        RppLibRoot = getpref('rpp', 'RppLibRoot');
        CCSRoot    = getpref('rpp', 'CCSRoot');
        
@@ -80,7 +80,6 @@ function rpp_download(modelName, buildDirectory, use_openocd, use_sdram, ccxml_f
             disp(['### Downloading ', modelName, ' to RPP board...']);
                        ccxml_filename = ccxml_read(RppLibRoot);
                        if isunix
-                               ccxml_filename = strcat(RppLibRoot, '/../loadti/', strrep(char(ccxml_filename), '"', ''));
                                % -r,   --reset                 Reset target before run
                                % -c,   --cfg-file=CONFIG_FILE  Target setup config file
                                command = [...
@@ -90,7 +89,6 @@ function rpp_download(modelName, buildDirectory, use_openocd, use_sdram, ccxml_f
                                        '"', outfile, ...
                                        '" 2> "', downloadLog, '"'];
                        else
-                               ccxml_filename = strcat(RppLibRoot, '\..\loadti\', strrep(char(ccxml_filename), '"', ''));
                                % -r,   --reset                 Reset target before run
                                % -c,   --cfg-file=CONFIG_FILE  Target setup config file
                                command = [...