Initial commit (template)

This commit is contained in:
2026-01-18 21:26:29 -03:00
commit 8aa9604d1a
8 changed files with 422 additions and 0 deletions

76
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,76 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug on ARM",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/${input:project_name}",
"preLaunchTask": "Deploy and Start GDB Server",
"cwd": "${workspaceFolder}",
"MIMode": "gdb",
"externalConsole": false,
"logging": {
"engineLogging": false
},
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"stopAtEntry": true,
"miDebuggerServerAddress": "${input:target_ip}:2345",
"miDebuggerPath": "${input:buildroot_path}/output/host/bin/arm-linux-gdb",
"targetArchitecture": "arm"
}
],
"inputs": [
{
"id": "target_ip",
"type": "command",
"command": "shellCommand.execute",
"args": {
"command": ". ${workspaceFolder}/.env && echo $TARGET_IP",
"useFirstResult": true
}
},
{
"id": "target_user",
"type": "command",
"command": "shellCommand.execute",
"args": {
"command": ". ${workspaceFolder}/.env && echo $TARGET_USER",
"useFirstResult": true
}
},
{
"id": "target_dir",
"type": "command",
"command": "shellCommand.execute",
"args": {
"command": ". ${workspaceFolder}/.env && echo $TARGET_DIR",
"useFirstResult": true
}
},
{
"id": "buildroot_path",
"type": "command",
"command": "shellCommand.execute",
"args": {
"command": ". ${workspaceFolder}/.env && echo $BUILDROOT_PATH",
"useFirstResult": true
}
},
{
"id": "project_name",
"type": "command",
"command": "shellCommand.execute",
"args": {
"command": ". ${workspaceFolder}/.env && echo $PROJECT_NAME",
"useFirstResult": true
}
}
]
}