diff --git a/.gitignore b/.gitignore index be2b66a40d2a33f40fe1f36d31844828bfb0daf3..f3d6549d836622181a9d050a803b132fb753c32b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -/build/ -/.vscode \ No newline at end of file +/build/ \ No newline at end of file diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000000000000000000000000000000000000..4ace5d5b3405c4d1c56366b4220b66bb813637d7 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,17 @@ +{ + "configurations": [ + { + "name": "Linux", + "includePath": [ + "${workspaceFolder}/**", + "/usr/include/libusb-1.0" + ], + "defines": [], + "compilerPath": "/usr/bin/gcc", + "cStandard": "c17", + "cppStandard": "gnu++17", + "intelliSenseMode": "linux-gcc-x64" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json index c6d3c59961d49829b5dc1c6524f72b16b2076a96..be5fa7ea8939102c116e721c02d14ae79ff2266d 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -6,8 +6,8 @@ "type": "cppdbg", "preLaunchTask": "Configure and Build HighBlueParsers", "request": "launch", - "program": "/usr/local/bin/jasonrec", // adjust if different - "args": ["3", "1", "256000", "debug_audio_file.wav", "--imu", "debug_imu_file.csv"], // replace with real args + "program": "${workspaceFolder}/build/src/jasonrec", + "args": ["3", "1", "256000", "debug_audio_file_%Y%m%d_%H%M%S.wav", "--imu", "debug_imu_file_%Y%m%d_%H%M%S.csv"], // replace with real args "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [], diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 52b16c1ce017ffc584e51d91174b490916be7dba..4bd97533ef7fc8c647f5631b71a90241d5d224b6 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -7,7 +7,7 @@ "command": "cmake", "args": [ "..", - "-DCMAKE_BUILD_TYPE=Release" + "-DCMAKE_BUILD_TYPE=Debug" ], "options": { "cwd": "${workspaceFolder}/build" @@ -28,7 +28,7 @@ { "label": "Install", "type": "shell", - "command": "sudo make install/strip", + "command": "sudo make install", "options": { "cwd": "${workspaceFolder}/build" }, @@ -41,7 +41,7 @@ }, { "label": "Configure and Build HighBlueParsers", - "dependsOn": ["Build with CMake", "Make", "Install"], + "dependsOn": ["Build with CMake", "Make"], "dependsOrder": "sequence", "problemMatcher": [], "group": {