summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 090b817)
raw | patch | inline | side by side (parent: 090b817)
author | Jingting Zhou <zhoujt@ti.com> | |
Fri, 24 Aug 2012 17:54:50 +0000 (13:54 -0400) | ||
committer | Jingting Zhou <zhoujt@ti.com> | |
Fri, 24 Aug 2012 17:54:50 +0000 (13:54 -0400) |
program_evm/program_evm.js | patch | blob | history |
index 959a3b64f99ea9e60dbf415438583a9b6973be41..e5b903936054ceee3bcdbda8de3e148344913bb2 100644 (file)
var targetFlag = "unknown";
var targetConfig = "unknown";
var emul560 = false;
+var xds200 = false;
testEnv.cioFile = null;
if (java.lang.System.getProperty("os.name").match(/Linux/i))
emul560 = true;
board_spec = board_spec.replace(/e$/, "");
}
-
+
+ if (board_spec.match(/ls$/))
+ {
+ xds200 = true;
+ 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");
board_binaries = script_binaries + targetFlag + endian_spec + "/";
targetConfig = java.lang.System.getenv("PROGRAM_EVM_TARGET_CONFIG_FILE");
if (!targetConfig)
- targetConfig = script_configs + targetFlag + "/" + targetFlag + (emul560 ? "e" : "") + host_os + ".ccxml";
+ targetConfig = script_configs + targetFlag + "/" + targetFlag + (emul560 ? "e" : "") + (xds200 ? "s" : "") + host_os + ".ccxml";
print("board: " + targetFlag);
print("endian: " + (big_endian ? "Big" : "Little"));
- print("emulation: " + (emul560 ? "XDS560 mezzanine" : "onboard XDS100"));
+ print("emulation: " + emulation_spec);
print("binaries: " + board_binaries);
print("ccxml: " + targetConfig);