-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
426 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"recommendations": [ | ||
"ziglang.vscode-zig", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,211 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Local AMD64", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/x86_64/debug/__change__", | ||
"args": [], | ||
"stopAtEntry": false, | ||
"cwd": "${workspaceRoot}", | ||
"environment": [], | ||
"externalConsole": false, | ||
"MIMode": "gdb", | ||
"miDebuggerPath": "/usr/bin/gdb", | ||
"setupCommands": [ | ||
{ | ||
"description": "Enable pretty-printing for gdb", | ||
"text": "-enable-pretty-printing", | ||
"ignoreFailures": true | ||
}, | ||
{ | ||
"description": "Set Disassembly Flavor to Intel", | ||
"text": "-gdb-set disassembly-flavor intel", | ||
"ignoreFailures": true | ||
} | ||
], | ||
"preLaunchTask": "build-debug-amd64-local" | ||
}, | ||
{ | ||
"name": "Torizon riscv64", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "~/app/__change__", | ||
"args": [], | ||
"stopAtEntry": false, | ||
"cwd": "~/app", | ||
"environment": [], | ||
"externalConsole": false, | ||
"sourceFileMap": { | ||
"/app": "${workspaceFolder}" | ||
}, | ||
"pipeTransport": { | ||
"debuggerPath": "/usr/bin/gdb", | ||
"pipeProgram": "ssh", | ||
"pipeArgs": [ | ||
"-T", | ||
"-q", | ||
"-p", | ||
"${config:torizon_debug_ssh_port}", | ||
"-i", | ||
"${workspaceFolder}/.conf/id_rsa", // ssh key path | ||
"-o", | ||
"StrictHostKeyChecking=no", | ||
"-o", | ||
"UserKnownHostsFile /dev/null", | ||
"${config:torizon_run_as}@${config:torizon_ip}" // user@device | ||
] | ||
}, | ||
"MIMode": "gdb", | ||
"setupCommands": [ | ||
{ | ||
"description": "Enable pretty-printing for gdb", | ||
"text": "-enable-pretty-printing", | ||
"ignoreFailures": true | ||
}, | ||
{ | ||
"description": "Set Disassembly Flavor to Intel", | ||
"text": "-gdb-set disassembly-flavor intel", | ||
"ignoreFailures": true | ||
} | ||
], | ||
"preLaunchTask": "deploy-torizon-riscv64" | ||
}, | ||
{ | ||
"name": "Torizon AMD64", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "~/app/__change__", | ||
"args": [], | ||
"stopAtEntry": false, | ||
"cwd": "~/app", | ||
"environment": [], | ||
"externalConsole": false, | ||
"sourceFileMap": { | ||
"/app": "${workspaceFolder}" | ||
}, | ||
"pipeTransport": { | ||
"debuggerPath": "/usr/bin/gdb", | ||
"pipeProgram": "ssh", | ||
"pipeArgs": [ | ||
"-T", | ||
"-q", | ||
"-p", | ||
"${config:torizon_debug_ssh_port}", | ||
"-i", | ||
"${workspaceFolder}/.conf/id_rsa", // ssh key path | ||
"-o", | ||
"StrictHostKeyChecking=no", | ||
"-o", | ||
"UserKnownHostsFile /dev/null", | ||
"${config:torizon_run_as}@${config:torizon_ip}" // user@device | ||
] | ||
}, | ||
"MIMode": "gdb", | ||
"setupCommands": [ | ||
{ | ||
"description": "Enable pretty-printing for gdb", | ||
"text": "-enable-pretty-printing", | ||
"ignoreFailures": true | ||
}, | ||
{ | ||
"description": "Set Disassembly Flavor to Intel", | ||
"text": "-gdb-set disassembly-flavor intel", | ||
"ignoreFailures": true | ||
} | ||
], | ||
"preLaunchTask": "deploy-torizon-amd64" | ||
}, | ||
{ | ||
"name": "Torizon ARMv7", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "~/app/__change__", | ||
"args": [], | ||
"stopAtEntry": false, | ||
"cwd": "~/app", | ||
"environment": [], | ||
"externalConsole": false, | ||
"sourceFileMap": { | ||
"/app": "${workspaceFolder}" | ||
}, | ||
"pipeTransport": { | ||
"debuggerPath": "/usr/bin/gdb", | ||
"pipeProgram": "ssh", | ||
"pipeArgs": [ | ||
"-T", | ||
"-q", | ||
"-p", | ||
"${config:torizon_debug_ssh_port}", | ||
"-i", | ||
"${workspaceFolder}/.conf/id_rsa", // ssh key path | ||
"-o", | ||
"StrictHostKeyChecking=no", | ||
"-o", | ||
"UserKnownHostsFile /dev/null", | ||
"${config:torizon_run_as}@${config:torizon_ip}" // user@device | ||
] | ||
}, | ||
"MIMode": "gdb", | ||
"setupCommands": [ | ||
{ | ||
"description": "Enable pretty-printing for gdb", | ||
"text": "-enable-pretty-printing", | ||
"ignoreFailures": true | ||
}, | ||
{ | ||
"description": "Set Disassembly Flavor to Intel", | ||
"text": "-gdb-set disassembly-flavor intel", | ||
"ignoreFailures": true | ||
} | ||
], | ||
"preLaunchTask": "deploy-torizon-arm" | ||
}, | ||
{ | ||
"name": "Torizon ARMv8", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "~/app/__change__", | ||
"args": [], | ||
"stopAtEntry": false, | ||
"cwd": "~/app", | ||
"environment": [], | ||
"externalConsole": false, | ||
"sourceFileMap": { | ||
"/app": "${workspaceFolder}" | ||
}, | ||
"pipeTransport": { | ||
"debuggerPath": "/usr/bin/gdb", | ||
"pipeProgram": "ssh", | ||
"pipeArgs": [ | ||
"-T", | ||
"-q", | ||
"-p", | ||
"${config:torizon_debug_ssh_port}", | ||
"-i", | ||
"${workspaceFolder}/.conf/id_rsa", // ssh key path | ||
"-o", | ||
"StrictHostKeyChecking=no", | ||
"-o", | ||
"UserKnownHostsFile /dev/null", | ||
"${config:torizon_run_as}@${config:torizon_ip}" // user@device | ||
] | ||
}, | ||
"MIMode": "gdb", | ||
"setupCommands": [ | ||
{ | ||
"description": "Enable pretty-printing for gdb", | ||
"text": "-enable-pretty-printing", | ||
"ignoreFailures": true | ||
}, | ||
{ | ||
"description": "Set Disassembly Flavor to Intel", | ||
"text": "-gdb-set disassembly-flavor intel", | ||
"ignoreFailures": true | ||
} | ||
], | ||
"preLaunchTask": "deploy-torizon-arm64" | ||
}, | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"torizon_psswd": "", | ||
"torizon_login": "", | ||
"torizon_ip": "", | ||
"host_ip": "", | ||
"torizon_workspace": "${workspaceFolder}", | ||
"torizon_debug_port": "", | ||
"torizon_debug_ssh_port": "2320", | ||
"torizon_debug_port2": "", | ||
"torizon_debug_port3": "", | ||
"torizon_gpu": "", | ||
"torizon_arch": "", | ||
"wait_sync": "1", | ||
"torizon_run_as": "torizon", | ||
"torizon_app_root": "/home/torizon", | ||
"tcb.packageName": "__change__", | ||
"tcb.version": "early-access" | ||
} |
Oops, something went wrong.