@connectedyard/node-jlink
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -8,2 +8,6 @@ ( function(){ | ||
exports.setJlinkEXECommand = function( command ){ | ||
jlinkexe.JLinkExe = command; | ||
}; | ||
exports.setJLinkEXEOptions = function( optionsString ){ | ||
@@ -10,0 +14,0 @@ jlinkexe.JLinkExeOptions = optionsString; |
@@ -10,3 +10,11 @@ ( function(){ | ||
exports.JLinkExe = "JLinkExe"; | ||
exports.defaultJLinkEXEForPlatform = function(){ | ||
if( process.platform.indexOf("win") === 0 ){ | ||
return "jlink"; | ||
} else return "jlinkexe"; | ||
}; | ||
exports.JLinkExe = exports.defaultJLinkEXEForPlatform(); | ||
exports.JLinkExeOptions = "-device nrf51822 -if swd -speed 4000".split(" "); | ||
@@ -13,0 +21,0 @@ |
{ | ||
"name": "@connectedyard/node-jlink", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "jLinkexe driver for nodejs", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57213
286