mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-20 14:38:18 +08:00
Implement CppCheck linting via flylint extension
This commit is contained in:
@@ -11,6 +11,26 @@
|
||||
}
|
||||
],
|
||||
"settings": {
|
||||
"c-cpp-flylint.cppcheck.includePaths": [
|
||||
"${workspaceRoot}",
|
||||
"${workspaceRoot}/fibre/cpp/include/fibre",
|
||||
"${workspaceRoot}/MotorControl",
|
||||
"${workspaceRoot}/Drivers/DRV8301",
|
||||
"${workspaceRoot}/communication"
|
||||
],
|
||||
"c-cpp-flylint.cppcheck.language": "c++",
|
||||
"c-cpp-flylint.cppcheck.standard": ["c99","c++14"],
|
||||
"c-cpp-flylint.cppcheck.defines": [
|
||||
"STM32F405xx",
|
||||
"USE_HAL_DRIVER",
|
||||
"HW_VERSION_MAJOR=3",
|
||||
"HW_VERSION_MINOR=5",
|
||||
"HW_VERSION_VOLTAGE=24",
|
||||
"USB_PROTOCOL_NATIVE",
|
||||
"__weak=\"__attribute__((weak))\"",
|
||||
"__packed=\"__attribute__((__packed__))\"",
|
||||
"__GNUC__"
|
||||
],
|
||||
"files.associations": {
|
||||
"memory": "cpp",
|
||||
"utility": "cpp",
|
||||
|
||||
Reference in New Issue
Block a user