remove .vscode
This commit is contained in:
23
.vscode/c_cpp_properties.json
vendored
23
.vscode/c_cpp_properties.json
vendored
@@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"name": "ESP-IDF",
|
|
||||||
"compilerPath": "${config:idf.toolsPath}/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc",
|
|
||||||
"compileCommands": "${config:idf.buildPath}/compile_commands.json",
|
|
||||||
"includePath": [
|
|
||||||
"${config:idf.espIdfPath}/components/**",
|
|
||||||
"${config:idf.espIdfPathWin}/components/**",
|
|
||||||
"${workspaceFolder}/**"
|
|
||||||
],
|
|
||||||
"browse": {
|
|
||||||
"path": [
|
|
||||||
"${config:idf.espIdfPath}/components",
|
|
||||||
"${config:idf.espIdfPathWin}/components",
|
|
||||||
"${workspaceFolder}"
|
|
||||||
],
|
|
||||||
"limitSymbolsToIncludedHeaders": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"version": 4
|
|
||||||
}
|
|
||||||
15
.vscode/launch.json
vendored
15
.vscode/launch.json
vendored
@@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"version": "0.2.0",
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"type": "gdbtarget",
|
|
||||||
"request": "attach",
|
|
||||||
"name": "Eclipse CDT GDB Adapter"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "espidf",
|
|
||||||
"name": "Launch",
|
|
||||||
"request": "launch"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
31
.vscode/settings.json
vendored
31
.vscode/settings.json
vendored
@@ -1,31 +0,0 @@
|
|||||||
{
|
|
||||||
"C_Cpp.intelliSenseEngine": "default",
|
|
||||||
"idf.adapterTargetName": "esp32",
|
|
||||||
"idf.customExtraPaths": "/home/zaske/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin:/home/zaske/.espressif/tools/riscv32-esp-elf-gdb/12.1_20231023/riscv32-esp-elf-gdb/bin:/home/zaske/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin:/home/zaske/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin:/home/zaske/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/home/zaske/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin:/home/zaske/.espressif/tools/esp-rom-elfs/20230320",
|
|
||||||
"idf.customExtraVars": {
|
|
||||||
"OPENOCD_SCRIPTS": "/home/zaske/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts",
|
|
||||||
"ESP_ROM_ELF_DIR": "/home/zaske/.espressif/tools/esp-rom-elfs/20230320/"
|
|
||||||
},
|
|
||||||
"idf.espIdfPath": "/home/zaske/esp/esp-idf",
|
|
||||||
"idf.openOcdConfigs": [
|
|
||||||
"board/esp32-wrover-kit-3.3v.cfg"
|
|
||||||
],
|
|
||||||
"idf.port": "/dev/ttyUSB0",
|
|
||||||
"idf.pythonBinPath": "/home/zaske/.espressif/python_env/idf5.3_py3.12_env/bin/python",
|
|
||||||
"idf.toolsPath": "/home/zaske/.espressif",
|
|
||||||
"idf.flashType": "UART",
|
|
||||||
"files.associations": {
|
|
||||||
"sdkconfig.h": "c",
|
|
||||||
"my_component.h": "c",
|
|
||||||
"freertos.h": "c",
|
|
||||||
"ledc.h": "c",
|
|
||||||
"gpio.h": "c",
|
|
||||||
"task.h": "c",
|
|
||||||
"ssd1306.h": "c",
|
|
||||||
"stdio.h": "c",
|
|
||||||
"compare": "c",
|
|
||||||
"cstdint": "c",
|
|
||||||
"string.h": "c",
|
|
||||||
"functions.h": "c"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
259
.vscode/tasks.json
vendored
259
.vscode/tasks.json
vendored
@@ -1,259 +0,0 @@
|
|||||||
{
|
|
||||||
"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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user