1
0
Fork 0
Commit graph

753 commits

Author SHA1 Message Date
Janez
95c1705e76 Format the .c files using clang-format v15. 2024-07-06 19:57:06 +02:00
Janez
0d016a0019 Remove /*********...*/ comment delimiters. 2024-07-06 18:53:40 +02:00
Janez
2857d749be .clang-format: do not SortIncludes 2024-07-06 13:05:43 +02:00
Janez
f064eeaa40 Format the license information in files. 2024-07-06 13:03:00 +02:00
Janez
fcd89f87de Remove comments from arguments in CO_CANrxBufferInit and CO_CANtxBufferInit 2024-07-05 18:38:01 +02:00
Janez
7db21c1f91 CO_SDO_server.c fix missing "bufShifted" 2024-07-05 11:14:37 +02:00
Janez
371e89d30d
Merge pull request #522 from temi54c1l8/static_analysis
Static analysis
2024-07-05 10:47:12 +02:00
temi54c1l8
cf6885b23e
Merge pull request #2 from temi54c1l8/fix_srdo_verified_on_operational_change
Fix SRDO problem with PCL Codesys on configuration runtime without reset
2024-07-04 13:53:13 +02:00
temi54c1l8
07a978aec6
Merge pull request #1 from temi54c1l8/fix_srdo_frame_time
Fix timing message, cycleTimer is only managed by the normal message …
2024-07-04 13:52:25 +02:00
temi54c1l8
28d3c1f372 Fix SRDO problem with PCL Codesys on configuration runtime without reset 2024-07-04 09:55:39 +02:00
temi54c1l8
240dd588fc Fix timing message, cycleTimer is only managed by the normal message to avoid mail loop losses 2024-07-01 11:40:44 +02:00
temi54c1l8
94022f51f0 CO_storageEeprom: static analysis: an unsigned value and a signed value cannot be used together [MISRA 2012 Rule 10.4, required] 2024-07-01 08:53:03 +02:00
Janez
f36345dbab
CO_storageEeprom.h: Change to fixed sized array 2024-06-27 17:25:48 +02:00
Janez
586c81937d
Update CO_storageEeprom.c
Change to fixed sized array
2024-06-27 17:24:55 +02:00
temi54c1l8
4a59d6eb0e static analysis: add recommendation use CO_USE_GLOBALS 2024-06-27 17:16:28 +02:00
temi54c1l8
b0ae30aeba static analysis: Excluded the CO_gateway_ascii and CO_fifo 2024-06-27 17:06:26 +02:00
temi54c1l8
675d11a33d CO_fifo: static analysis: format '%02X' specifies type 'unsigned int' which is nominally inconsistent with argument no. 3 of promoted type 'int' 2024-06-27 16:54:42 +02:00
temi54c1l8
86a5064e2f CO_fifo: static analisys: use of modifier or type outside of a typedef [MISRA 2012 Directive 4.6, advisory] 2024-06-27 16:43:00 +02:00
temi54c1l8
36f01f3893 CO_gateway_ascii: static analysis: format specifies is nominally inconsistent with argument 2024-06-27 16:27:09 +02:00
temi54c1l8
3e51408861 static analysis: Add exception 9059, C comment contains C++ comment 2024-06-27 14:53:17 +02:00
temi54c1l8
5a2f24bc4b static analysis: ANSI/ISO minimum translation limit of 31 'significant characters in an external identifier' exceeded, processing is unaffected 2024-06-27 14:49:37 +02:00
temi54c1l8
dad273b656 CANopen: static analysis: expected end of line in preprocessor expression 2024-06-27 14:26:09 +02:00
temi54c1l8
b17182d962 CANopen: static analysis: an unsigned value and a signed value cannot be used together as operands [MISRA 2012 Rule 10.4, required] 2024-06-27 14:21:22 +02:00
temi54c1l8
d35a5b6834 CO_storageEeprom: static analysis: dependence placed on operator precedence [MISRA 2012 Rule 12.1, advisory] 2024-06-27 14:07:26 +02:00
temi54c1l8
2e4b8890ad CO_storageEeprom: static analysis: declaration of 'i' hides a local variable (multiple declaration) [MISRA 2012 Rule 5.3, required] 2024-06-27 14:06:14 +02:00
temi54c1l8
1c4a5f6877 CO_fifo: static analysis: multiple loop exits [MISRA 2012 Rule 15.4, advisory] 2024-06-27 13:31:08 +02:00
temi54c1l8
6fef978b69 CO_PDO: static analysis: dependence placed on operator precedence [MISRA 2012 Rule 12.1, advisory] 2024-06-27 13:21:43 +02:00
temi54c1l8
823dcb3427 CANopen: static analysis: essential type of condition of 'if' statement is 'enum (CO_ReturnError_t)' but should be boolean [MISRA 2012 Rule 14.4, required] 2024-06-27 13:09:48 +02:00
temi54c1l8
d4c69b2ca4 CANopen: staatic analysis: an unsigned value and a signed value cannot be used together as operands to == [MISRA 2012 Rule 10.4, required] 2024-06-27 13:07:55 +02:00
temi54c1l8
ff3299918e CANopen: static analysis: increment/decrement operation combined with other operation with side-effects [MISRA 2012 Rule 13.3, advisory] 2024-06-27 13:06:39 +02:00
temi54c1l8
f6a4718428 CANopen: static analysis: an unsigned value and a signed value cannot be used together as operands to > [MISRA 2012 Rule 10.4, required] 2024-06-27 13:05:00 +02:00
temi54c1l8
4ae66f9839 CO_SYNC: static analysis: ignoring return value of function 'CO_SYNCsend' [MISRA 2012 Directive 4.7, required], [MISRA 2012 Rule 17.7, required] 2024-06-27 12:58:54 +02:00
temi54c1l8
995fed609d CO_SYNC: static analysis: an unsigned value and a signed value cannot be used together [MISRA 2012 Rule 10.4, required] 2024-06-27 12:58:02 +02:00
temi54c1l8
d6b3163311 CO_SYNC: static analysis: dependence placed on operator precedence [MISRA 2012 Rule 12.1, advisory] 2024-06-27 12:53:30 +02:00
temi54c1l8
f684b34a03 CO_SYNC: static analysis: no 'else' at end of 'if ... else if' chain [MISRA 2012 Rule 15.7, required] 2024-06-27 12:51:06 +02:00
temi54c1l8
baa9e4e2b2 CO_Emergency: static analysis: argument 1 of type 'void *' is not compatible with argument 2 of type 'uint8_t *' (aka 'unsigned char *') in call to function 'memcpy' 2024-06-27 12:27:01 +02:00
temi54c1l8
a501f961d4 CO_Emergency: ignoring return value of functions [MISRA 2012 Directive 4.7, required], [MISRA 2012 Rule 17.7, required] 2024-06-27 12:24:20 +02:00
temi54c1l8
d9d9044221 CO_Emergency: static analysis: right operand to == is a composite expression of type 'unsigned8' which is smaller than the left operand of type 'unsigned16' [MISRA 2012 Rule 10.7, required] 2024-06-27 12:22:43 +02:00
temi54c1l8
58606174a2 CO_Emergency: static analysis: side effects on right hand of logical operator, '&&' [MISRA 2012 Rule 13.5, required] 2024-06-27 12:21:24 +02:00
temi54c1l8
42c39a2b51 CO_Emergency: static analysis: an unsigned value and a signed value cannot be used together as operands [MISRA 2012 Rule 10.4, required] 2024-06-27 12:19:07 +02:00
temi54c1l8
ce405b1e27 CO_Emergency: static analysis: body should be a compound statement [MISRA 2012 Rule 15.6, required] 2024-06-27 12:12:57 +02:00
temi54c1l8
7bf5065e41 CO_Emergency: static analysis: no 'else' at end of 'if ... else if' chain [MISRA 2012 Rule 15.7, required] 2024-06-27 12:11:19 +02:00
temi54c1l8
ca968aa160 CO_Emergency: static analysis: conditional of #if does not evaluate to 0 or 1 [MISRA 2012 Rule 20.8, required] 2024-06-27 12:08:42 +02:00
temi54c1l8
d76aeb178f CO_Emergency: static analysis: unsigned integer literal without a 'U' suffix [MISRA 2012 Rule 7.2, required] 2024-06-27 12:07:42 +02:00
temi54c1l8
071f6d7935 CO_Emergency: static analysis: dependence placed on operator precedence [MISRA 2012 Rule 12.1, advisory] 2024-06-27 12:06:07 +02:00
temi54c1l8
2e703328d8 CO_NMT_Heartbeat: static analysis: other minor change 2024-06-27 11:23:27 +02:00
temi54c1l8
6440f8b6b6 CO_gateway_ascii: static analysis: side effects on right hand of logical operator [MISRA 2012 Rule 13.5, required] 2024-06-27 11:03:40 +02:00
temi54c1l8
c5160499f8 CO_gateway_ascii: static analysis: both sides have side effects [MISRA 2012 Rule 1.3, required] 2024-06-27 10:57:24 +02:00
temi54c1l8
0c70d40105 CO_gateway_ascii: static analysis: operator '-' followed by operator '-' could be confusing without parentheses 2024-06-27 10:20:16 +02:00
temi54c1l8
b02b7424f0 CANopenNode\309\CO_gateway_ascii.c(32,0): warning 537: repeated include file 'string.h' 2024-06-27 10:17:29 +02:00