chore: ignore vscode dir.
This commit is contained in:
parent
a869036d34
commit
58d0cc55ae
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
build/
|
build/
|
||||||
sdkconfig
|
sdkconfig
|
||||||
sdkconfig.old
|
sdkconfig.old
|
||||||
|
.vscode/
|
||||||
|
30
.vscode/c_cpp_properties.json
vendored
30
.vscode/c_cpp_properties.json
vendored
@ -1,30 +0,0 @@
|
|||||||
{
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"name": "ESP-IDF",
|
|
||||||
"compilerPath": "/Users/ivan/.espressif/tools/riscv32-esp-elf/esp-2021r2-patch5-8.4.0/riscv32-esp-elf/bin/riscv32-esp-elf-gcc",
|
|
||||||
"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": [
|
|
||||||
"/Users/ivan/esp/esp-idf/components",
|
|
||||||
"${config:idf.espIdfPathWin}/components",
|
|
||||||
"/Users/ivan/esp/esp-idf/components/**",
|
|
||||||
"${config:idf.espAdfPathWin}/components/**",
|
|
||||||
"${workspaceFolder}"
|
|
||||||
],
|
|
||||||
"limitSymbolsToIncludedHeaders": false
|
|
||||||
},
|
|
||||||
"compileCommands": "${workspaceFolder}/build/compile_commands.json",
|
|
||||||
"configurationProvider": "ms-vscode.cmake-tools"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"version": 4
|
|
||||||
}
|
|
10
.vscode/launch.json
vendored
10
.vscode/launch.json
vendored
@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"version": "0.2.0",
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"type": "espidf",
|
|
||||||
"name": "Launch",
|
|
||||||
"request": "launch"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
59
.vscode/settings.json
vendored
59
.vscode/settings.json
vendored
@ -1,59 +0,0 @@
|
|||||||
{
|
|
||||||
"C_Cpp.intelliSenseEngine": "Tag Parser",
|
|
||||||
"idf.adapterTargetName": "esp32c3",
|
|
||||||
"idf.customExtraPaths": "/Users/ivan/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin:/Users/ivan/.espressif/tools/xtensa-esp32s2-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s2-elf/bin:/Users/ivan/.espressif/tools/xtensa-esp32s3-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32s3-elf/bin:/Users/ivan/.espressif/tools/riscv32-esp-elf/esp-2021r2-patch5-8.4.0/riscv32-esp-elf/bin:/Users/ivan/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/Users/ivan/.espressif/tools/cmake/3.23.1/CMake.app/Contents/bin:/Users/ivan/.espressif/tools/openocd-esp32/v0.11.0-esp32-20220706/openocd-esp32/bin:/Users/ivan/.espressif/tools/ninja/1.10.2",
|
|
||||||
"idf.customExtraVars": "{\"OPENOCD_SCRIPTS\":\"/Users/ivan/.espressif/tools/openocd-esp32/v0.11.0-esp32-20220706/openocd-esp32/share/openocd/scripts\"}",
|
|
||||||
"idf.espIdfPath": "/Users/ivan/esp/esp-idf",
|
|
||||||
"idf.openOcdConfigs": [
|
|
||||||
"board/esp32c3-builtin.cfg"
|
|
||||||
],
|
|
||||||
"idf.port": "/dev/cu.usbmodem14A01",
|
|
||||||
"idf.pythonBinPath": "/Users/ivan/.espressif/python_env/idf4.4_py3.8_env/bin/python",
|
|
||||||
"idf.toolsPath": "/Users/ivan/.espressif",
|
|
||||||
"idf.gitPath": "/usr/bin/git",
|
|
||||||
"idf.flashType": "UART",
|
|
||||||
"files.associations": {
|
|
||||||
"*.ejs": "html",
|
|
||||||
"css": "postcss",
|
|
||||||
"scss": "postcss",
|
|
||||||
"*.cjson": "jsonc",
|
|
||||||
"*.wxss": "css",
|
|
||||||
"*.wxs": "javascript",
|
|
||||||
"*.inc": "c",
|
|
||||||
"*.tcc": "c",
|
|
||||||
"*.ipp": "c",
|
|
||||||
"cstring": "cpp",
|
|
||||||
"system_error": "c",
|
|
||||||
"chrono": "c",
|
|
||||||
"random": "c",
|
|
||||||
"limits": "c",
|
|
||||||
"array": "c",
|
|
||||||
"string": "c",
|
|
||||||
"string_view": "c",
|
|
||||||
"esp_bit_defs.h": "c",
|
|
||||||
"bitset": "c",
|
|
||||||
"initializer_list": "c",
|
|
||||||
"regex": "c",
|
|
||||||
"utility": "c",
|
|
||||||
"deque": "c",
|
|
||||||
"list": "c",
|
|
||||||
"unordered_map": "c",
|
|
||||||
"unordered_set": "c",
|
|
||||||
"vector": "c",
|
|
||||||
"freertos.h": "c",
|
|
||||||
"task.h": "c",
|
|
||||||
"led_strip.h": "c",
|
|
||||||
"esp_event.h": "c",
|
|
||||||
"string.h": "c",
|
|
||||||
"i2c.h": "c",
|
|
||||||
"esp_log.h": "c",
|
|
||||||
"queue.h": "c",
|
|
||||||
"optional": "c",
|
|
||||||
"istream": "c",
|
|
||||||
"ostream": "c",
|
|
||||||
"ratio": "c",
|
|
||||||
"functional": "c",
|
|
||||||
"tuple": "c",
|
|
||||||
"type_traits": "c"
|
|
||||||
}
|
|
||||||
}
|
|
300
.vscode/tasks.json
vendored
300
.vscode/tasks.json
vendored
@ -1,300 +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": [
|
|
||||||
"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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user