-
Notifications
You must be signed in to change notification settings - Fork 8
Nrf52 win #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Nrf52 win #58
Changes from all commits
4621934
5c19d8b
182ab51
02f655d
6e3056e
c8ccec2
ece1d0e
975892a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2110,13 +2110,30 @@ module.exports = function(RED) { | |
| case "pico": | ||
| case "gecko": | ||
| case "qca4020": | ||
| /* Not tested! */ | ||
|
|
||
| case "nrf52": | ||
| case "sim": | ||
|
|
||
| bcmds.push(`runthis ${cmd}`); | ||
| break; | ||
|
|
||
| case "nrf52": | ||
| if (os.platform() === "win32") { | ||
| if (fs.existsSync(`${process.env["ProgramFiles"]}\\Microsoft Visual Studio\\18`)) { | ||
| bcmds = [ | ||
| `CALL "${process.env["ProgramFiles"]}\\Microsoft Visual Studio\\18\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat"`, | ||
| `@echo ${cmd}`, | ||
| `${cmd}`, | ||
| ] | ||
|
||
| } else { | ||
| bcmds = [ | ||
| `CALL "${process.env["ProgramFiles"]}\\Microsoft Visual Studio\\2022\\Community\\VC\\Auxiliary\\Build\\vcvars${x_win}.bat"`, | ||
| `@echo ${cmd}`, | ||
| `${cmd}`, | ||
| ] | ||
|
||
| } | ||
| } else { | ||
| bcmds.push(`runthis ${cmd}`); | ||
| } | ||
| break; | ||
|
|
||
| case "esp": | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.