summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a272d18)
raw | patch | inline | side by side (parent: a272d18)
author | Jingting Zhou <zhoujt@ti.com> | |
Thu, 6 Sep 2012 16:22:09 +0000 (12:22 -0400) | ||
committer | Jingting Zhou <zhoujt@ti.com> | |
Thu, 6 Sep 2012 16:22:09 +0000 (12:22 -0400) |
program_evm/program_evm.js | patch | blob | history |
index 3bc06d2b2f54c8699e7891959e918f1ca3464ae0..b5d6d52d11f8bd287b922cec02c58c4b6ec33e57 100644 (file)
var script_binaries = nandwriter_dir+"/binaries/";
var targetConfig = "";
var writeAll = false;
+var writerImages = "";
var big_endian = false;
var targetFlag = "unknown";
var targetConfig = "unknown";
var emul560 = false;
var xds200 = false;
+var emulation_spec = "onboard XDS100";
testEnv.cioFile = null;
if (java.lang.System.getProperty("os.name").match(/Linux/i))
if (board_spec.match(/lx?e$/))
{
emul560 = true;
+ emulation_spec = "XDS560 mezzanine";
board_spec = board_spec.replace(/e$/, "");
}
- if (board_spec.match(/ls$/))
+ if (board_spec.match(/ls$/))
{
xds200 = true;
+ emulation_spec = "XDS200 emulator";
board_spec = board_spec.replace(/ls$/, "l");
- }
-
- var emulation_spec = emul560 ? "XDS560 mezzanine" : "onboard XDS100";
-
- emulation_spec = xds200 ? "XDS200 emulator" : "onboard XDS100";
+ }
// for now, use the same software for lx and l variants
board_spec = board_spec.replace(/lx$/, "l");
}
if(arguments[1])
- var writerImages = arguments[1];
+ writerImages = arguments[1];
else
writeAll = true;
}