diff --git a/.drone.yml b/.drone.yml index 240b52f..37cd62d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,6 +8,11 @@ steps: - apt-get -y install libusb-1.0 - make + - name: check + image: neszt/cppcheck-docker + commands: + cppcheck *.c + - name: docs image: corentinaltepe/doxygen commands: diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..b6c7a9f --- /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": "gnu17", + "cppStandard": "gnu++14", + "intelliSenseMode": "linux-gcc-x64" + } + ], + "version": 4 +} \ No newline at end of file