]> rtime.felk.cvut.cz Git - jenkicar/rpp-simulink.git/commitdiff
Try to run program after loading
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 26 Aug 2013 14:24:38 +0000 (16:24 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 26 Aug 2013 14:24:38 +0000 (16:24 +0200)
The necessary line is leaved commented out, because the load script
correctly runs the program but does never finish.

rpp/loadti/main.js

index a559e80301098463194fde4bee8f15daaa8a076f..783e151199d69f391a048ddda990deb38fb5f229 100644 (file)
@@ -204,6 +204,10 @@ function run()
 
     debugSession.options.setString("FlashEraseSelection", "Necessary Sectors Only (for Program Load)");
 
+    // Do not place breakpoint on main - runs the program after
+    // loading, but the whole script somehow hangs.
+    //debugSession.options.setString("AutoRunToLabelName", "");
+
        // Load and run each program provided.
        java.lang.System.out.println("testEnv.outFiles: " + testEnv.outFiles);
        var st = new java.util.StringTokenizer(testEnv.outFiles, "+");