diff --git a/.gitignore b/.gitignore index ca0bf62..a5217f8 100644 --- a/.gitignore +++ b/.gitignore @@ -68,7 +68,7 @@ coverage_report/ test_multi_heap_host # VS Code Settings -.vscode/ +# .vscode/ # VIM files *.swp diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..7182d4a --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,23 @@ +{ + "configurations": [ + { + "name": "ESP-IDF", + "compilerPath": "${config:idf.toolsPath}/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/riscv32-esp-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 +} diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..2511a38 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "gdbtarget", + "request": "attach", + "name": "Eclipse CDT GDB Adapter" + }, + { + "type": "espidf", + "name": "Launch", + "request": "launch" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index f19cc63..b53318f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,23 +1,3 @@ { - "files.associations": { - "relay_chn.h": "c", - "stdlib.h": "c", - "cstdint": "c", - "relay_chn_run_info.h": "c", - "esp_err.h": "c", - "relay_chn_output.h": "c", - "relay_chn_core.h": "c", - "relay_chn_ctl.h": "c", - "relay_chn_tilt.h": "c", - "relay_chn_defs.h": "c", - "esp_check.h": "c", - "esp_event_base.h": "c", - "esp_event.h": "c", - "queue.h": "c", - "relay_chn_priv_types.h": "c", - "relay_chn_adapter.h": "c", - "relay_chn_types.h": "c" - }, - "idf.port": "/dev/ttyUSB0", - "idf.pythonInstallPath": "/usr/bin/python" + "C_Cpp.intelliSenseEngine": "default" } \ No newline at end of file diff --git a/test_apps/.vscode/settings.json b/test_apps/.vscode/settings.json new file mode 100644 index 0000000..0bb915a --- /dev/null +++ b/test_apps/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "C_Cpp.intelliSenseEngine": "default" +}