+++ /dev/null
-{
- "configurations": [
- {
- "name": "ESP-IDF",
- "compilerPath": "C:\\Users\\forss\\.espressif\\tools\\xtensa-esp32-elf\\esp-2020r3-8.4.0\\xtensa-esp32-elf\\bin\\xtensa-esp32-elf-gcc.exe",
- "cStandard": "c11",
- "cppStandard": "c++17",
- "includePath": [
- "${config:idf.espIdfPath}/components/**",
- "${config:idf.espIdfPathWin}/components/**",
- "${config:idf.espAdfPath}/components/**",
- "${config:idf.espAdfPathWin}/components/**",
- "${workspaceFolder}/**"
- ],
- "browse": {
- "path": [
- "${config:idf.espIdfPath}/components",
- "${config:idf.espIdfPathWin}/components",
- "${config:idf.espAdfPath}/components/**",
- "${config:idf.espAdfPathWin}/components/**",
- "${workspaceFolder}"
- ],
- "limitSymbolsToIncludedHeaders": false
- }
- //"compileCommands": "${workspaceFolder}/build/compile_commands.json"
- }
- ],
- "version": 4
-}
\ No newline at end of file
+++ /dev/null
-{
- "C_Cpp.intelliSenseEngine": "Tag Parser",
- "idf.adapterTargetName": "esp32",
- "idf.customExtraPaths": "C:\\Users\\forss\\.espressif\\tools\\xtensa-esp32-elf\\esp-2020r3-8.4.0\\xtensa-esp32-elf\\bin;C:\\Users\\forss\\.espressif\\tools\\xtensa-esp32s2-elf\\esp-2020r3-8.4.0\\xtensa-esp32s2-elf\\bin;C:\\Users\\forss\\.espressif\\tools\\esp32ulp-elf\\2.28.51-esp-20191205\\esp32ulp-elf-binutils\\bin;C:\\Users\\forss\\.espressif\\tools\\esp32s2ulp-elf\\2.28.51-esp-20191205\\esp32s2ulp-elf-binutils\\bin;C:\\Users\\forss\\.espressif\\tools\\cmake\\3.16.4\\bin;C:\\Users\\forss\\.espressif\\tools\\openocd-esp32\\v0.10.0-esp32-20200709\\openocd-esp32\\bin;C:\\Users\\forss\\.espressif\\tools\\ninja\\1.10.0;C:\\Users\\forss\\.espressif\\tools\\idf-exe\\1.0.1;C:\\Users\\forss\\.espressif\\tools\\ccache\\3.7;C:\\Users\\forss\\.espressif\\tools\\dfu-util\\0.9\\dfu-util-0.9-win64",
- "idf.customExtraVars": "{\"OPENOCD_SCRIPTS\":\"C:\\\\Users\\\\forss\\\\.espressif\\\\tools\\\\openocd-esp32\\\\v0.10.0-esp32-20200709/openocd-esp32/share/openocd/scripts\",\"IDF_CCACHE_ENABLE\":\"1\"}",
- "idf.espIdfPathWin": "C:\\Users\\forss\\esp\\esp-idf",
- "idf.espAdfPathWin": "",
- "idf.espMdfPathWin": "",
- "idf.portWin": "COM7",
- "idf.pythonBinPathWin": "C:\\Users\\forss\\.espressif\\python_env\\idf4.2_py3.9_env\\Scripts\\python.exe",
- "idf.toolsPathWin": "C:\\Users\\forss\\.espressif",
- "idf.flashType": "UART",
- "files.associations": {
- "chrono": "cpp",
- "random": "cpp",
- "limits": "cpp",
- "bt_font.c": "cpp"
- }
-}
+++ /dev/null
-{
- "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": [
- "relative",
- "${workspaceFolder}"
- ],
- "pattern": {
- "regexp": "^\\.\\.(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
- "file": 1,
- "line": 2,
- "column": 3,
- "severity": 4,
- "message": 5
- }
- },
- {
- "owner": "cpp",
- "fileLocation": "absolute",
- "pattern": {
- "regexp": "^[^\\.](.*):(\\d+):(\\d+):\\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": "absolute",
- "pattern": {
- "regexp": "^(.*):(//d+):(//d+)://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": [
- "relative",
- "${workspaceFolder}"
- ],
- "pattern": {
- "regexp": "^\\.\\.(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
- "file": 1,
- "line": 2,
- "column": 3,
- "severity": 4,
- "message": 5
- }
- },
- {
- "owner": "cpp",
- "fileLocation": "absolute",
- "pattern": {
- "regexp": "^[^\\.](.*):(\\d+):(\\d+):\\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": [
- "relative",
- "${workspaceFolder}"
- ],
- "pattern": {
- "regexp": "^\\.\\.(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
- "file": 1,
- "line": 2,
- "column": 3,
- "severity": 4,
- "message": 5
- }
- },
- {
- "owner": "cpp",
- "fileLocation": "absolute",
- "pattern": {
- "regexp": "^[^\\.](.*):(\\d+):(\\d+):\\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": [
- "relative",
- "${workspaceFolder}"
- ],
- "pattern": {
- "regexp": "^\\.\\.(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
- "file": 1,
- "line": 2,
- "column": 3,
- "severity": 4,
- "message": 5
- }
- },
- {
- "owner": "cpp",
- "fileLocation": "absolute",
- "pattern": {
- "regexp": "^[^\\.](.*):(\\d+):(\\d+):\\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": "absolute",
- "pattern": {
- "regexp": "^(.*):(\\d+):(\\d+):\\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",
- "${command:espIdf.getOpenOcdScriptValue}",
- "-ip",
- "localhost",
- "-dn",
- "${config:idf.adapterTargetName}",
- "-om",
- "connect_to_instance"
- ],
- "windows": {
- "command": "${config:idf.pythonBinPathWin}",
- "options": {
- "env": {
- "PATH": "${env:PATH};${config:idf.customExtraPaths}",
- "PYTHONPATH": "${command:espIdf.getExtensionPath}/esp_debug_adapter/debug_adapter"
- }
- }
- }
- }
- ]
-}
\ No newline at end of file