1
0
Fork 0
Commit graph

202 commits

Author SHA1 Message Date
temi54c1l8
b2294a65ab CO_SDOserver: static analysis: argument 1 of type 'uint8_t *' (aka 'unsigned char *') is not compatible with argument 2 of type 'uint32_t *' (aka 'unsigned int *') in call to function 'memcpy' 2024-06-13 13:09:34 +02:00
temi54c1l8
460441f972 CO_SDOserve: static analysis: increment/decrement operation combined with other operation with side-effects [MISRA 2012 Rule 13.3, advisory] 2024-06-13 12:29:43 +02:00
temi54c1l8
f8d10390bc CO_SDOserver: static analysis: missing unconditional break from final switch case [MISRA 2012 Rule 16.1, required], [MISRA 2012 Rule 16.3, required] 2024-06-13 12:27:50 +02:00
temi54c1l8
32c1086ac1 CO_PDO: static analysis: last value assigned to 'odRet' not used [MISRA 2012 Rule 2.2, required] 2024-06-13 12:23:38 +02:00
temi54c1l8
d9d24ffe82 CO_PDO: static analysis: unsigned integer literal without a 'U' suffix [MISRA 2012 Rule 7.2, required] 2024-06-13 12:17:28 +02:00
temi54c1l8
fe1709c42a CO_PDO: static analysis: argument 1 of type 'uint8_t [4]' is not compatible with argument 2 of type 'const void *' in call to function 'memcpy' 2024-06-13 12:05:39 +02:00
temi54c1l8
6f6936c9cc CO_PDO: static analysis: cannot assign 'enum' to different essential type 'unsigned8' [MISRA 2012 Rule 10.3, required] 2024-06-13 12:03:21 +02:00
temi54c1l8
fd8cf681a3 CO_PDO: static analisys: result of assignment operator used in right operand to '=' operator [MISRA 2012 Rule 13.4, advisory] 2024-06-13 11:58:04 +02:00
temi54c1l8
808ad99b58 CO_ODinterface: static analysis: missing unconditional break from final switch case [MISRA 2012 Rule 16.1, required], [MISRA 2012 Rule 16.3, required] 2024-06-13 11:52:05 +02:00
temi54c1l8
d0a4b22963 CO_ODinterface: static analysis: argument 1 of type 'void *' is not compatible with argument 2 of type 'const uint8_t *' (aka 'const unsigned char *') in call to function 'memcpy' 2024-06-13 11:49:08 +02:00
temi54c1l8
52ad9f5758 CO_Node_Guarding: static analysis: body should be a compound statement [MISRA 2012 Rule 15.6, required] 2024-06-13 11:43:26 +02:00
temi54c1l8
78944be8f2 CO_Node_Guarding: static analysis: no 'else' at end of 'if ... else if' chain [MISRA 2012 Rule 15.7, required] 2024-06-13 11:41:03 +02:00
temi54c1l8
6eaf6b09f7 CO_NMT_Heartbeat: static analysis: both sides have side effects [MISRA 2012 Rule 1.3, required] 2024-06-13 11:35:09 +02:00
temi54c1l8
e11ffc1bc3 CO_NMT_Heartbeat: static analysis: statement or comment should appear in default case [MISRA 2012 Rule 16.1, required], [MISRA 2012 Rule 16.4, required] 2024-06-13 11:27:42 +02:00
temi54c1l8
1da8f44821 CO_NMT_Heartbeat: static analysis: cannot assign 'signed32' to different essential type 'unsigned32' [MISRA 2012 Rule 10.3, required] 2024-06-13 11:24:14 +02:00
temi54c1l8
c25fec2176 CO_NMT_Heartbeat: static analysis: enum constant 'CO_NMT_NO_COMMAND' not used within default switch 2024-06-13 11:22:20 +02:00
temi54c1l8
9c89ecf26e CO_HBconsumer: static analisys: the name 'time' is reserved to the compiler [MISRA 2012 Rule 21.2, required] 2024-06-13 11:15:29 +02:00
temi54c1l8
061237d413 CO_HBconsumer: static analysis: cannot assign variable to narrower essential type [MISRA 2012 Rule 10.3, required] 2024-06-13 11:12:33 +02:00
temi54c1l8
f48d5058e6 CO_Emergency: static analysis: increment/decrement operation combined with other operation with side-effects [MISRA 2012 Rule 13.3, advisory] 2024-06-13 11:05:14 +02:00
temi54c1l8
9bffb7d789 CO_Emergency: static analysis: argument 1 of type 'uint8_t [8]' is not compatible with argument 2 of type 'uint32_t *' (aka 'unsigned int *') in call to function 'memcpy' 2024-06-13 11:02:22 +02:00
temi54c1l8
be2a4690d6 CO_Emergency: static analysis: a signed value is not an appropriate [MISRA 2012 Rule 10.1, required] 2024-06-13 10:56:17 +02:00
temi54c1l8
266f77df42 CO_Emergency: static analysis: cannot assign 'unsigned32' to narrower essential type 'unsigned16' [MISRA 2012 Rule 10.3, required] 2024-06-13 10:45:25 +02:00
temi54c1l8
cff7a6f962 CO_Emergency: static analysis: cannot assign a composite expression of type 'unsigned8' to an object of wider type 'unsigned32' [MISRA 2012 Rule 10.6, required] 2024-06-13 10:43:49 +02:00
temi54c1l8
cff7a3cf5a static analysis: refactoring changed enum with define to be able to use bitwise operators on user space 2024-06-12 14:35:37 +02:00
temi54c1l8
686ab04ee9 static analysis: enumerator 'CO_CAN_ID_EMERGENCY' reuses the constant value '128' previously used by enumerator 'CO_CAN_ID_SYNC'
refactoring changed enum with define
2024-06-12 14:26:51 +02:00
temi54c1l8
691728f71a static analysis: essential type of condition of 'if' statement is in not correct [MISRA 2012 Rule 14.4, required] 2024-06-12 13:57:42 +02:00
temi54c1l8
7855d35bae static analysis: refactoring changed enum with define to be able to use bitwise operators 2024-06-12 13:41:13 +02:00
temi54c1l8
6e009c0893 static analysis: cannot assign 'signed8' to different essential type 'boolean' [MISRA 2012 Rule 10.3, required] 2024-06-12 10:42:40 +02:00
temi54c1l8
9e8ceb4dfa static analysis: ignoring return value of functions [MISRA 2012 Directive 4.7, required] 2024-06-12 10:13:45 +02:00
temi54c1l8
b2de7f4cbe static analysis: integer null pointer constant is not the NULL macro [MISRA 2012 Rule 11.9, required] 2024-06-12 09:46:34 +02:00
temi54c1l8
e720f497d1 static analisys: cannot assign 'unsigned32' to narrower essential type 'unsigned8' [MISRA 2012 Rule 10.3, required] 2024-06-12 09:43:41 +02:00
temi54c1l8
fbe4d307d9 static analysis: argument is not compatible with other argument in call to function 'memmove' 2024-06-12 09:42:19 +02:00
temi54c1l8
d4e7214f4d static analysis: conditional of #if does not evaluate to 0 or 1 [MISRA 2012 Rule 20.8, required] 2024-06-12 09:09:12 +02:00
temi54c1l8
7399d31447 static analysis: ignoring return value of function 'OD_extension_init' [MISRA 2012 Directive 4.7, required], [MISRA 2012 Rule 17.7, required]
ignores the return because it was checked on the function argument
2024-06-11 15:09:49 +02:00
temi54c1l8
0142f41857 static analysis: an enum value is not an appropriate left operand [MISRA 2012 Rule 10.1, required] 2024-06-10 17:59:05 +02:00
temi54c1l8
446925be63 static analysis: add 'U' of unsigned [MISRA 2012 Rule 10.4, required] 2024-06-10 17:57:42 +02:00
temi54c1l8
dc10900ad5 static analysis: Aggiunte parentesi per la dipendenza posta sulla precedenza dell'operatore [MISRA 2012 Rule 12.1, advisory] 2024-06-10 14:39:05 +02:00
temi54c1l8
a17b9fa209 static analysis: Ignoring return value of functions: CO_setUint8, CO_setUint16, CO_setUint32 [MISRA 2012 Directive 4.7, required] 2024-06-10 12:07:41 +02:00
temi54c1l8
187650d073 static analysis: Ignoring return value of function 'memmove' [MISRA 2012 Directive 4.7, required] 2024-06-10 11:58:55 +02:00
temi54c1l8
e3206f2c7f static analysis: Ignoring return value of function 'memset' [MISRA 2012 Directive 4.7, required] 2024-06-10 11:56:47 +02:00
temi54c1l8
ddaa8974f1 static analysis: Ignoring return value of function 'memcpy' [MISRA 2012 Directive 4.7, required] 2024-06-10 10:30:59 +02:00
Janez
6a0df55b01 Overrun not correctly reported in CO_Emergency.c, by H-Grobben #466 2024-06-04 19:54:00 +02:00
Janez
f054501d0e SRDO updated to current CANopenNode 2024-05-31 01:47:28 +02:00
Janez
39fc9212e6 Fixed Compiler warnings, issue #512 2024-04-25 16:51:37 +02:00
Brian Linari
a52db428f6
Misra (#501)
Make MISRA compliant for:
MISRA C 2004 rule 14.10
MISRA C 2004 rule 14.9
MISRA C 2004 rule 13.1
MISRA C 2004 rule 15.3

MISRA style guild update
2024-03-13 17:20:42 +01:00
Janez
1204042a1f OD_extension, callback function: add information about the OD index. 2024-03-13 16:56:21 +01:00
Janez
9d2a65cda7 Fix CO_storageEeprom. CO_LOCK_OD must not be used, as it is used inside SDO server already. 2024-03-13 12:23:10 +01:00
Janez
a4b4e6df66 Node guarding disable, if heartbeat is used. 2023-10-19 12:16:37 +02:00
Janez
b0b0724c6f Node guarding added 2023-09-07 16:58:04 +02:00
ZDH
361080da87 uint32_t fix for 16bit mcu's. 2023-03-28 19:38:03 +02:00