Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Output of running platformio check against the marlin code base with various tools
> Executing task: platformio check --environment STM32F103RE_btt <
Checking STM32F103RE_btt > cppcheck (platform: ststm32@~12.1; board: genericSTM32F103RE; framework: arduino)
-------------------------------------------------------------------------------------------------------------------------------------
Marlin/src/HAL/shared/backtrace/unwarm.cpp:56: [low:style] The function 'UnwInitState' is never used. [unusedFunction]
Marlin/src/HAL/shared/backtrace/unwarm.cpp:160: [low:style] The function 'UnwMemReadRegister' is never used. [unusedFunction]
Marlin/src/HAL/shared/backtrace/unwarm.cpp:141: [low:style] The function 'UnwMemWriteRegister' is never used. [unusedFunction]
Marlin/src/HAL/shared/backtrace/unwarm.cpp:91: [low:style] The function 'UnwReportRetAddr' is never used. [unusedFunction]
Marlin/src/HAL/shared/backtrace/unwarm_arm.cpp:45: [low:style] The function 'UnwStartArm' is never used. [unusedFunction]
Marlin/src/HAL/shared/backtrace/unwarm_thumb.cpp:32: [low:style] The function 'UnwStartThumb' is never used. [unusedFunction]
Marlin/src/HAL/shared/backtrace/unwarmbytab.cpp:297: [low:style] Local variable 'index' shadows outer function [shadowFunction]
Marlin/src/HAL/shared/backtrace/unwarmbytab.cpp:411: [low:style] Local variable 'index' shadows outer function [shadowFunction]
Marlin/src/HAL/shared/backtrace/unwarmbytab.cpp:393: [low:style] The function 'UnwindByTableStart' is never used. [unusedFunction]
Marlin/src/HAL/shared/backtrace/unwarmbytab.cpp:26: [low:style] The function '__aeabi_unwind_cpp_pr0' is never used. [unusedFunction]
Marlin/src/HAL/shared/backtrace/unwarmbytab.cpp:27: [low:style] The function '__aeabi_unwind_cpp_pr1' is never used. [unusedFunction]
Marlin/src/HAL/shared/backtrace/unwarmbytab.cpp:28: [low:style] The function '__aeabi_unwind_cpp_pr2' is never used. [unusedFunction]
Marlin/src/HAL/shared/backtrace/unwarmmem.cpp:92: [low:style] The function 'UnwMemHashGC' is never used. [unusedFunction]
Marlin/src/HAL/shared/backtrace/unwarmmem.cpp:55: [low:style] The function 'UnwMemHashRead' is never used. [unusedFunction]
Marlin/src/HAL/shared/backtrace/unwarmmem.cpp:70: [low:style] The function 'UnwMemHashWrite' is never used. [unusedFunction]
Marlin/src/HAL/shared/backtrace/unwinder.cpp:32: [high:error] Subtracting pointers that point to different objects [comparePointers]
Marlin/src/HAL/shared/backtrace/unwinder.cpp:35: [low:style] The function 'UnwindStart' is never used. [unusedFunction]
Marlin/src/HAL/shared/cpu_exception/exception_hook.cpp:26: [low:style] The function 'hook_get_busfault_vector_address' is never used. [unusedFunction]
Marlin/src/HAL/shared/cpu_exception/exception_hook.cpp:24: [low:style] The function 'hook_get_hardfault_vector_address' is never used. [unusedFunction]
Marlin/src/HAL/shared/cpu_exception/exception_hook.cpp:25: [low:style] The function 'hook_get_memfault_vector_address' is never used. [unusedFunction]
Marlin/src/HAL/shared/cpu_exception/exception_hook.cpp:27: [low:style] The function 'hook_get_usagefault_vector_address' is never used. [unusedFunction]
Marlin/src/HAL/shared/cpu_exception/exception_hook.cpp:28: [low:style] The function 'hook_last_resort_func' is never used. [unusedFunction]
Marlin/src/HAL/STM32/MarlinSPI.h:55: [medium:warning] Member variable 'MarlinSPI::_dmaTx' is not initialized in the constructor. [uninitMemberVar]
Marlin/src/HAL/STM32/MarlinSPI.h:55: [medium:warning] Member variable 'MarlinSPI::_dmaRx' is not initialized in the constructor. [uninitMemberVar]
Marlin/src/HAL/STM32/MarlinSPI.h:57: [medium:warning] Member variable 'MarlinSPI::_dmaTx' is not initialized in the constructor. [uninitMemberVar]
Marlin/src/HAL/STM32/MarlinSPI.h:57: [medium:warning] Member variable 'MarlinSPI::_dmaRx' is not initialized in the constructor. [uninitMemberVar]
Marlin/src/HAL/STM32/MarlinSPI.h:62: [low:style] Variable '_dataSize' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList]
Marlin/src/core/serial_base.h:42: [low:style] Struct 'serial_index_t' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
Marlin/src/core/serial_base.h:81: [low:style] Struct 'EnsureDouble' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
Marlin/src/core/serial_base.h:82: [low:style] Struct 'EnsureDouble' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
Marlin/src/core/serial_hook.h:45: [low:style] Class 'SerialMask' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
Marlin/src/core/serial_hook.h:191: [low:style] Struct 'RuntimeSerial' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
Marlin/src/core/serial_hook.h:79: [low:style] Struct 'BaseSerial < MarlinSerial >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
Marlin/src/core/serial_base.h:94: [low:style] Struct 'SerialBase < ForwardSerial < decltype ( SerialUSB ) > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
Marlin/src/core/serial_base.h:94: [low:style] Struct 'SerialBase < BaseSerial < MarlinSerial > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
Marlin/src/HAL/STM32/MarlinSPI.cpp:139: [low:style] The if condition is the same as the previous if condition [duplicateCondition]
Marlin/src/HAL/STM32/MarlinSPI.cpp:81: [high:error] C-style pointer casting [cstyleCast]
Marlin/src/HAL/STM32/MarlinSPI.cpp:93: [low:style] C-style pointer casting [cstyleCast]
Marlin/src/HAL/STM32/MarlinSPI.cpp:156: [low:style] The function 'dmaSend' is never used. [unusedFunction]
Marlin/src/HAL/STM32/MarlinSPI.cpp:114: [low:style] The function 'dmaTransfer' is never used. [unusedFunction]
Marlin/src/HAL/STM32/usb_serial.cpp:48: [medium:warning] The function 'USB_Hook_init' is never used. [unusedFunction]
(penv) ⬢[core@toolbox Marlin]$ platformio check --environment STM32F103RE_btt
Checking STM32F103RE_btt > pvs-studio (platform: ststm32@~12.1; board: genericSTM32F103RE; framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------
Tool Manager: Installing platformio/tool-pvs-studio @ ~7.11.0
Downloading [####################################] 100%
Tool Manager: tool-pvs-studio @ 7.11.44138 has been installed!
Marlin/src/core/macros.h:129: [high:error] The body of the 'if' statement should be enclosed in braces. [MISRA C++ 6-4-1] [V2507]
Marlin/src/core/macros.h:132: [high:error] The body of the 'if' statement should be enclosed in braces. [MISRA C++ 6-4-1] [V2507]
Marlin/src/core/macros.h:136: [high:error] The body of the 'if' statement should be enclosed in braces. [MISRA C++ 6-4-1] [V2507]
Marlin/src/core/macros.h:136: [high:error] The 'if' ... 'else if' construct should be terminated with an 'else' statement. [MISRA C++ 6-4-2] [V2516]
Marlin/src/core/macros.h:135: [high:error] The body of the 'if' statement should be enclosed in braces. [MISRA C++ 6-4-1] [V2507]
Marlin/src/core/macros.h:368: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_MIN' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:371: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_MAX' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:374: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_MIN' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:375: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_MAX' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:427: [high:error] Array indexing should be the only form of pointer arithmetic and it should be applied only to objects defined as an array type. [MISRA C++ 5-0-15] [V2563]
Marlin/src/core/macros.h:432: [high:error] Array indexing should be the only form of pointer arithmetic and it should be applied only to objects defined as an array type. [MISRA C++ 5-0-15] [V2563]
Marlin/src/core/macros.h:436: [high:error] Array indexing should be the only form of pointer arithmetic and it should be applied only to objects defined as an array type. [MISRA C++ 5-0-15] [V2563]
Marlin/src/core/macros.h:447: [high:error] Array indexing should be the only form of pointer arithmetic and it should be applied only to objects defined as an array type. [MISRA C++ 5-0-15] [V2563]
Marlin/src/core/macros.h:451: [high:error] Array indexing should be the only form of pointer arithmetic and it should be applied only to objects defined as an array type. [MISRA C++ 5-0-15] [V2563]
Marlin/src/inc/MarlinConfigPre.h:25: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '__MARLIN_FIRMWARE__' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:25: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '__has_include' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:34: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_AXIS' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:36: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_XMIN_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:37: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_YMIN_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:38: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_ZMIN_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:39: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_IMIN_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:40: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_JMIN_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:41: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_KMIN_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:42: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_XMAX_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:43: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_YMAX_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:44: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_ZMAX_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:45: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_IMAX_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:46: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_JMAX_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:47: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_KMAX_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:48: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_XDIAG_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:49: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_YDIAG_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:50: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_ZDIAG_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:51: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_IDIAG_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:52: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_JDIAG_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:53: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_KDIAG_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:54: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_E0DIAG_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:55: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_E1DIAG_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:56: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_E2DIAG_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:57: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_E3DIAG_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:58: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_E4DIAG_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:59: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_E5DIAG_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:60: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_E6DIAG_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:61: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_E7DIAG_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:63: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_FORCE_INLINE_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:66: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_UNUSED' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:67: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_O0' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:68: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_Os' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:69: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_O1' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:70: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_O2' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:71: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_O3' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:96: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_BV' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:106: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_BV32' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:164: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_DO_1' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:165: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_DO_2' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:166: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_DO_3' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:167: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_DO_4' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:168: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_DO_5' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:169: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_DO_6' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:170: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_DO_7' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:171: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_DO_8' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:172: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_DO_9' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:173: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_DO_10' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:174: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_DO_11' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:175: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_DO_12' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:176: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_DO_13' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:177: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_DO_14' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:178: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_DO_15' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:179: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '__DO_N' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:180: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_DO_N' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:184: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_CAT' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:187: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_ISENA_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:188: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_ISENA_1' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:189: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_ISENA_0x1' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:190: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_ISENA_true' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:191: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_ISENA' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:193: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_ENA_1' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:194: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_DIS_1' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:203: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TERN' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:204: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '__TERN' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:205: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '___TERN' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:207: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_OPTARG' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:209: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_OPTCODE' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:231: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_PINEX_1' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:236: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_BTNEX_1' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:263: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_CODE_N' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:282: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_GANG_N' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:305: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_LIST_N' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:311: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_JOIN_1' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:353: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_NUM_ARGS' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:357: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TWO_ARGS' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:363: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_MINMAX_H_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:470: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '__MIN_N' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:471: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_MIN_N' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:472: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_MIN_N_REF' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:473: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_MIN' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:477: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '__MAX_N' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:478: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_MAX_N' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:479: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_MAX_N_REF' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:480: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_MAX' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:583: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_NOT_0' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:585: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_BOOL' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:588: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_IF_ELSE' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:590: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_IF_1' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:591: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_IF_0' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:593: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_IF_1_ELSE' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:594: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_IF_0_ELSE' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:597: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_END_OF_ARGUMENTS_' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:610: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_REPEAT' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:615: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '__REPEAT' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:618: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_REPEAT2' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:623: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '__REPEAT2' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:635: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_RREPEAT' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:640: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '__RREPEAT' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:641: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_RREPEAT2' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/macros.h:646: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '__RREPEAT2' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/boards.h:431: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_MB_1' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:29: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_A4988' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:30: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_A5984' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:31: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_DRV8825' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:32: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_LV8729' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:33: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_L6470' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:34: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_L6474' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:35: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_L6480' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:36: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_POWERSTEP01' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:37: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TB6560' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:38: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TB6600' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:39: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TMC2100' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:40: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TMC2130' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:41: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TMC2130_STANDALONE' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:42: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TMC2160' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:43: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TMC2160_STANDALONE' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:44: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TMC2208' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:45: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TMC2208_STANDALONE' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:46: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TMC2209' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:47: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TMC2209_STANDALONE' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:48: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TMC26X' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:49: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TMC26X_STANDALONE' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:50: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TMC2660' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:51: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TMC2660_STANDALONE' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:52: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TMC5130' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:53: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TMC5130_STANDALONE' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:54: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TMC5160' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:55: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_TMC5160_STANDALONE' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:57: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_DRIVER_ID' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:58: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_AXIS_DRIVER_TYPE' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:85: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_OR_ADTE' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/core/drivers.h:157: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_OR_EAH' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/inc/Conditionals_adv.h:135: [high:error] Each parameter of the macro should be surrounded by parentheses. Consider inspecting the 'n' parameter of the 'ANY_TEMP_SENSOR_IS' macro. [MISRA C++ 16-0-6] [V2546]
Marlin/src/inc/Conditionals_adv.h:135: [low:note] The macro 'ANY_TEMP_SENSOR_IS' is a dangerous expression. The parameter 'n' must be surrounded by parentheses. [V1003]
Marlin/src/inc/Conditionals_adv.h:148: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_HEATER_ID' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/inc/Conditionals_adv.h:653: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_CUTTER_POWER_PWM255' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/inc/Conditionals_adv.h:654: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_CUTTER_POWER_PERCENT' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/inc/Conditionals_adv.h:655: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_CUTTER_POWER_RPM' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/inc/Conditionals_adv.h:656: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_CUTTER_POWER' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/inc/Conditionals_adv.h:930: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_SDCARD_LCD' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/inc/Conditionals_adv.h:931: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_SDCARD_ONBOARD' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/inc/Conditionals_adv.h:932: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_SDCARD_CUSTOM_CABLE' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/inc/Conditionals_adv.h:933: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_SDCARD_ID' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/inc/Conditionals_adv.h:972: [high:error] Identifiers that contain '__' or start with '_[A-Z]' are reserved. Consider inspecting the '_HAS_1' identifier. [MISRA C++ 17-0-1] [V2573]
Marlin/src/lcd/extui/example/example.cpp:9: [high:error] This file is marked with copyleft license, which requires you to open the derived source code. [V1042]
:1: [high:error] Diagnostics from the 64-bit rule set are not entirely accurate without the appropriate 64-bit compiler. Consider utilizing 64-bit compiler if possible. [V004]
========================================================== [FAILED] Took 632.00 seconds ==========================================================
Component HIGH MEDIUM LOW
---------------------------- ------ -------- -----
2 0 0
Marlin/src/core 292 0 0
Marlin/src/inc 24 0 2
Marlin/src/lcd/extui/example 2 0 0
Total 320 0 2
Environment Tool Status Duration
------------------------------------- ---------- -------- ------------
include_tree cppcheck IGNORED
mega2560 cppcheck IGNORED
mega2560ext cppcheck IGNORED
mega1280 cppcheck IGNORED
MightyBoard1280 cppcheck IGNORED
MightyBoard2560 cppcheck IGNORED
rambo cppcheck IGNORED
FYSETC_F6 cppcheck IGNORED
sanguino644p cppcheck IGNORED
sanguino1284p cppcheck IGNORED
melzi cppcheck IGNORED
sanguino1284p_optimized cppcheck IGNORED
melzi_optimized cppcheck IGNORED
melzi_optiboot cppcheck IGNORED
melzi_optiboot_optimized cppcheck IGNORED
at90usb1286_cdc cppcheck IGNORED
at90usb1286_dfu cppcheck IGNORED
DUE cppcheck IGNORED
DUE_USB cppcheck IGNORED
DUE_archim cppcheck IGNORED
esp32 cppcheck IGNORED
FYSETC_E4 cppcheck IGNORED
LPC1768 cppcheck IGNORED
LPC1769 cppcheck IGNORED
linux_native cppcheck IGNORED
simulator_linux_debug cppcheck IGNORED
simulator_linux_release cppcheck IGNORED
simulator_macos_debug cppcheck IGNORED
simulator_macos_release cppcheck IGNORED
simulator_windows cppcheck IGNORED
SAMD51_grandcentral_m4 cppcheck IGNORED
STM32F070RB_malyan cppcheck IGNORED
STM32F070CB_malyan cppcheck IGNORED
malyan_M300 cppcheck IGNORED
STM32F103RC_meeb cppcheck IGNORED
STM32F103RC_fysetc_maple cppcheck IGNORED
STM32F103RC_btt_maple cppcheck IGNORED
STM32F103RC_btt_USB_maple cppcheck IGNORED
STM32F103RE_maple cppcheck IGNORED
STM32F103RET6_creality_maple cppcheck IGNORED
STM32F103RE_btt_maple cppcheck IGNORED
STM32F103RE_btt_USB_maple cppcheck IGNORED
STM32F103VE_GTM32 cppcheck IGNORED
STM32F103VE_longer_maple cppcheck IGNORED
mks_robin_mini_maple cppcheck IGNORED
mks_robin_nano35_maple cppcheck IGNORED
mks_robin_maple cppcheck IGNORED
mks_robin_pro_maple cppcheck IGNORED
trigorilla_pro_maple cppcheck IGNORED
mks_robin_e3_maple cppcheck IGNORED
mks_robin_e3p_maple cppcheck IGNORED
mks_robin_lite_maple cppcheck IGNORED
mks_robin_lite3_maple cppcheck IGNORED
jgaurora_a5s_a1_maple cppcheck IGNORED
STM32F103CB_malyan_maple cppcheck IGNORED
chitu_f103_maple cppcheck IGNORED
chitu_v5_gpio_init_maple cppcheck IGNORED
FLY_MINI_maple cppcheck IGNORED
STM32F103RE cppcheck IGNORED
STM32F103VE cppcheck IGNORED
STM32F103ZE cppcheck IGNORED
STM32F103RC_btt cppcheck IGNORED
STM32F103RC_btt_USB cppcheck IGNORED
mks_robin cppcheck IGNORED
mks_robin_e3 cppcheck IGNORED
STM32F103RET6_creality cppcheck IGNORED
STM32F103RE_btt pvs-studio FAILED 00:10:32.003
STM32F103RE_btt_USB pvs-studio IGNORED
flsun_hispeedv1 cppcheck IGNORED
mks_robin_nano35 cppcheck IGNORED
mingda_mpx_arm_mini cppcheck IGNORED
STM32F103CB_malyan cppcheck IGNORED
FLY_MINI cppcheck IGNORED
mks_robin_mini cppcheck IGNORED
mks_robin_lite cppcheck IGNORED
mks_robin_lite3 cppcheck IGNORED
mks_robin_pro cppcheck IGNORED
mks_robin_e3p cppcheck IGNORED
jgaurora_a5s_a1 cppcheck IGNORED
STM32F103RC_fysetc cppcheck IGNORED
STM32F103VE_longer cppcheck IGNORED
trigorilla_pro cppcheck IGNORED
chitu_f103 cppcheck IGNORED
chitu_v5_gpio_init cppcheck IGNORED
ARMED cppcheck IGNORED
STM32F401VE_STEVAL cppcheck IGNORED
FYSETC_CHEETAH_V20 cppcheck IGNORED
FLYF407ZG cppcheck IGNORED
FYSETC_S6 cppcheck IGNORED
FYSETC_S6_8000 cppcheck IGNORED
STM32F407VE_black cppcheck IGNORED
Anet_ET4_OpenBLT cppcheck IGNORED
BIGTREE_SKR_PRO cppcheck IGNORED
BIGTREE_SKR_PRO_usb_flash_drive cppcheck IGNORED
BIGTREE_E3_RRF cppcheck IGNORED
BIGTREE_GTR_V1_0 cppcheck IGNORED
BIGTREE_GTR_V1_0_usb_flash_drive cppcheck IGNORED
BIGTREE_BTT002 cppcheck IGNORED
BIGTREE_SKR_2 cppcheck IGNORED
BIGTREE_SKR_2_USB cppcheck IGNORED
BIGTREE_OCTOPUS_V1 cppcheck IGNORED
BIGTREE_OCTOPUS_V1_USB cppcheck IGNORED
LERDGEX cppcheck IGNORED
LERDGEX_usb_flash_drive cppcheck IGNORED
LERDGES cppcheck IGNORED
LERDGES_usb_flash_drive cppcheck IGNORED
LERDGEK cppcheck IGNORED
LERDGEK_usb_flash_drive cppcheck IGNORED
rumba32 cppcheck IGNORED
mks_robin_pro2 cppcheck IGNORED
mks_robin_nano_v3 cppcheck IGNORED
mks_robin_nano_v3_usb_flash_drive cppcheck IGNORED
mks_robin_nano_v3_usb_flash_drive_msc cppcheck IGNORED
NUCLEO_F767ZI cppcheck IGNORED
REMRAM_V1 cppcheck IGNORED
BTT_SKR_SE_BX cppcheck IGNORED
teensy20 cppcheck IGNORED
teensy31 cppcheck IGNORED
teensy35 cppcheck IGNORED
teensy36 cppcheck IGNORED
teensy41 cppcheck IGNORED
====================================================== 1 failed, 0 succeeded in 00:10:32.003 ======================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment