commitc6fd825e39Author: AlexanderHD27 <alexander@hal> Date: Wed Nov 6 23:14:14 2024 +0100 Moved CAN Interface code to comment libary folder with symlink commite7a0035041Author: AlexanderHD27 <alexander@hal> Date: Wed Nov 6 22:01:28 2024 +0100 Got MCP2521 to work commit4bfb1f533eAuthor: AlexanderHD27 <alexander@hal> Date: Wed Oct 16 21:29:35 2024 +0200 Did something to YGantryMount. It works. trust me commit5683168a47Author: AlexanderHD27 <alexander@hal> Date: Wed Oct 16 21:28:36 2024 +0200 Implemented Command-Level Interaction with CAN Interface commit9c0c676be8Author: AlexanderHD27 <alexander@hal> Date: Mon Oct 14 09:20:37 2024 +0200 Added Vscode Profile file commitb150a905a3Author: AlexanderHD27 <alexander@hal> Date: Mon Oct 14 09:19:00 2024 +0200 Implemented Low Level Compunications commit7eebf619aeAuthor: AlexanderHD27 <alexander@hal> Date: Mon Oct 7 14:46:15 2024 +0200 Created Head Pipe Mount commit93c40e1805Author: AlexanderHD27 <alexander@hal> Date: Mon Oct 7 14:44:11 2024 +0200 First Revision of YGantryMount commit91c2125458Author: AlexanderHD27 <alexander@hal> Date: Thu Oct 3 19:52:37 2024 +0200 Added Kicad Backups 2 gitignore commit096a6c18d6Author: AlexanderHD27 <alexander@hal> Date: Thu Oct 3 19:49:21 2024 +0200 Created ESP-IDF for can-interface commit48fded7981Author: AlexanderHD27 <alexander@hal> Date: Sat Sep 28 19:54:29 2024 +0200 Added files from Pico sdk to gitignore commitec5e5cbf13Author: AlexanderHD27 <alexander@hal> Date: Sat Sep 14 21:09:50 2024 +0200 Create Marker for position Calibration commit58d31964b2Author: AlexanderHD27 <alexander@hal> Date: Wed Sep 11 23:32:55 2024 +0200 Upgrade to pico SDK 2.0.0
259 lines
7.1 KiB
JSON
259 lines
7.1 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Build - Build project",
|
|
"type": "shell",
|
|
"command": "${config:idf.pythonBinPath} ${config:idf.espIdfPath}/tools/idf.py build",
|
|
"windows": {
|
|
"command": "${config:idf.pythonBinPathWin} ${config:idf.espIdfPathWin}\\tools\\idf.py build",
|
|
"options": {
|
|
"env": {
|
|
"PATH": "${env:PATH};${config:idf.customExtraPaths}"
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"env": {
|
|
"PATH": "${env:PATH}:${config:idf.customExtraPaths}"
|
|
}
|
|
},
|
|
"problemMatcher": [
|
|
{
|
|
"owner": "cpp",
|
|
"fileLocation": [
|
|
"autoDetect",
|
|
"${workspaceFolder}"
|
|
],
|
|
"pattern": {
|
|
"regexp": "^(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"severity": 4,
|
|
"message": 5
|
|
}
|
|
}
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Set ESP-IDF Target",
|
|
"type": "shell",
|
|
"command": "${command:espIdf.setTarget}",
|
|
"problemMatcher": {
|
|
"owner": "cpp",
|
|
"fileLocation": [
|
|
"autoDetect",
|
|
"${workspaceFolder}"
|
|
],
|
|
"pattern": {
|
|
"regexp": "^(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"severity": 4,
|
|
"message": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"label": "Clean - Clean the project",
|
|
"type": "shell",
|
|
"command": "${config:idf.pythonBinPath} ${config:idf.espIdfPath}/tools/idf.py fullclean",
|
|
"windows": {
|
|
"command": "${config:idf.pythonBinPathWin} ${config:idf.espIdfPathWin}\\tools\\idf.py fullclean",
|
|
"options": {
|
|
"env": {
|
|
"PATH": "${env:PATH};${config:idf.customExtraPaths}"
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"env": {
|
|
"PATH": "${env:PATH}:${config:idf.customExtraPaths}"
|
|
}
|
|
},
|
|
"problemMatcher": [
|
|
{
|
|
"owner": "cpp",
|
|
"fileLocation": [
|
|
"autoDetect",
|
|
"${workspaceFolder}"
|
|
],
|
|
"pattern": {
|
|
"regexp": "^(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"severity": 4,
|
|
"message": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": "Flash - Flash the device",
|
|
"type": "shell",
|
|
"command": "${config:idf.pythonBinPath} ${config:idf.espIdfPath}/tools/idf.py -p ${config:idf.port} -b ${config:idf.flashBaudRate} flash",
|
|
"windows": {
|
|
"command": "${config:idf.pythonBinPathWin} ${config:idf.espIdfPathWin}\\tools\\idf.py flash -p ${config:idf.portWin} -b ${config:idf.flashBaudRate}",
|
|
"options": {
|
|
"env": {
|
|
"PATH": "${env:PATH};${config:idf.customExtraPaths}"
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"env": {
|
|
"PATH": "${env:PATH}:${config:idf.customExtraPaths}"
|
|
}
|
|
},
|
|
"problemMatcher": [
|
|
{
|
|
"owner": "cpp",
|
|
"fileLocation": [
|
|
"autoDetect",
|
|
"${workspaceFolder}"
|
|
],
|
|
"pattern": {
|
|
"regexp": "^(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"severity": 4,
|
|
"message": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": "Monitor: Start the monitor",
|
|
"type": "shell",
|
|
"command": "${config:idf.pythonBinPath} ${config:idf.espIdfPath}/tools/idf.py -p ${config:idf.port} monitor",
|
|
"windows": {
|
|
"command": "${config:idf.pythonBinPathWin} ${config:idf.espIdfPathWin}\\tools\\idf.py -p ${config:idf.portWin} monitor",
|
|
"options": {
|
|
"env": {
|
|
"PATH": "${env:PATH};${config:idf.customExtraPaths}"
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"env": {
|
|
"PATH": "${env:PATH}:${config:idf.customExtraPaths}"
|
|
}
|
|
},
|
|
"problemMatcher": [
|
|
{
|
|
"owner": "cpp",
|
|
"fileLocation": [
|
|
"autoDetect",
|
|
"${workspaceFolder}"
|
|
],
|
|
"pattern": {
|
|
"regexp": "^(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"severity": 4,
|
|
"message": 5
|
|
}
|
|
}
|
|
],
|
|
"dependsOn": "Flash - Flash the device"
|
|
},
|
|
{
|
|
"label": "OpenOCD: Start openOCD",
|
|
"type": "shell",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "never",
|
|
"focus": false,
|
|
"panel": "new"
|
|
},
|
|
"command": "openocd -s ${command:espIdf.getOpenOcdScriptValue} ${command:espIdf.getOpenOcdConfigs}",
|
|
"windows": {
|
|
"command": "openocd.exe -s ${command:espIdf.getOpenOcdScriptValue} ${command:espIdf.getOpenOcdConfigs}",
|
|
"options": {
|
|
"env": {
|
|
"PATH": "${env:PATH};${config:idf.customExtraPaths}"
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"env": {
|
|
"PATH": "${env:PATH}:${config:idf.customExtraPaths}"
|
|
}
|
|
},
|
|
"problemMatcher": {
|
|
"owner": "cpp",
|
|
"fileLocation": [
|
|
"autoDetect",
|
|
"${workspaceFolder}"
|
|
],
|
|
"pattern": {
|
|
"regexp": "^(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"severity": 4,
|
|
"message": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"label": "adapter",
|
|
"type": "shell",
|
|
"command": "${config:idf.pythonBinPath}",
|
|
"isBackground": true,
|
|
"options": {
|
|
"env": {
|
|
"PATH": "${env:PATH}:${config:idf.customExtraPaths}",
|
|
"PYTHONPATH": "${command:espIdf.getExtensionPath}/esp_debug_adapter/debug_adapter"
|
|
}
|
|
},
|
|
"problemMatcher": {
|
|
"background": {
|
|
"beginsPattern": "\bDEBUG_ADAPTER_STARTED\b",
|
|
"endsPattern": "DEBUG_ADAPTER_READY2CONNECT",
|
|
"activeOnStart": true
|
|
},
|
|
"pattern": {
|
|
"regexp": "(\\d+)-(\\d+)-(\\d+)\\s(\\d+):(\\d+):(\\d+),(\\d+)\\s-(.+)\\s(ERROR)",
|
|
"file": 8,
|
|
"line": 2,
|
|
"column": 3,
|
|
"severity": 4,
|
|
"message": 9
|
|
}
|
|
},
|
|
"args": [
|
|
"${command:espIdf.getExtensionPath}/esp_debug_adapter/debug_adapter_main.py",
|
|
"-e",
|
|
"${workspaceFolder}/build/${command:espIdf.getProjectName}.elf",
|
|
"-s",
|
|
"$OPENOCD_SCRIPTS",
|
|
"-dn",
|
|
"esp32",
|
|
"-om",
|
|
"connect_to_instance",
|
|
"-t",
|
|
"xtensa-esp32-elf-"
|
|
|
|
],
|
|
"windows": {
|
|
"command": "${config:idf.pythonBinPathWin}",
|
|
"options": {
|
|
"env": {
|
|
"PATH": "${env:PATH};${config:idf.customExtraPaths}",
|
|
"PYTHONPATH": "${command:espIdf.getExtensionPath}/esp_debug_adapter/debug_adapter"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |