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
bfa773da05
CO_GFC: static analysis: cannot assign 'signed8' to different essential type 'boolean' [MISRA 2012 Rule 10.3, required]
2024-06-11 14:49:48 +02:00
temi54c1l8
7cabf33d35
CO_GFC: static analysis: Added parentheses for dependency on operator precedence [MISRA 2012 Rule 12.1, advisory]
2024-06-11 14:48:50 +02:00
temi54c1l8
3533d4498a
CO_GFC: static analysis: add 'U' of unsigned [MISRA 2012 Rule 10.4, required]
2024-06-11 14:45:15 +02:00
temi54c1l8
e58c5de976
CO_GFC: 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 14:43:05 +02:00
temi54c1l8
59e0c3b07b
CO_SRDO: static analysis: the name '_configurationValid' matches a pattern reserved to the compiler [MISRA 2012 Rule 21.2, required]
2024-06-11 09:21:47 +02:00
temi54c1l8
88e437b525
static analysis: minor fix
2024-06-11 09:14:58 +02:00
temi54c1l8
5a31668c3e
CO_SRDO: static analysis: loss of precision (assignment) from 32 bits to 8 bits
...
when: SRDO->dataLength = srdoDataLength[0];
2024-06-11 09:12:42 +02:00
temi54c1l8
c4c4f98e2c
CO_SRDO: static analysis result of assignment operator used in right operand to '=' operator [MISRA 2012 Rule 13.4, advisory]
2024-06-11 09:10:15 +02:00
temi54c1l8
fa774c75fa
CO_SRDO: static analysis: variables are potentially uninitialized [MISRA 2012 Rule 9.1, mandatory]
2024-06-11 09:07:21 +02:00
temi54c1l8
68daa1f526
CO_SRDO: static analysis: cannot assign 'unsigned32' to narrower essential type 'unsigned16' [MISRA 2012 Rule 10.3, required]
2024-06-11 09:04:52 +02:00
temi54c1l8
9632958e3d
CO_SRDO: static analysis: cannot assign 'signed8' to different essential type 'boolean' [MISRA 2012 Rule 10.3, required]
2024-06-11 09:03:19 +02:00
temi54c1l8
70fc66046b
CO_SRDO: static analysis: no 'else' at end of 'if ... else if' chain [MISRA 2012 Rule 15.7, required]
2024-06-11 09:00:18 +02:00
temi54c1l8
ae2f75b7a6
CO_SRDO: static analysis: warning 578: declaration of 'ret' hides a local variable [MISRA 2012 Rule 5.3, required]
...
variable already declared at the beginning of the function
2024-06-11 07:48:57 +02:00
temi54c1l8
e87959d86c
CO_SRDO: 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 07:44:43 +02:00
temi54c1l8
46dcd05251
CO_SRDO: static analysis: function 'OD_not_write_same_value' defined without a prototype in scope [MISRA 2012 Rule 8.4, required]
2024-06-11 07:39:23 +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
temi54c1l8
1b63929837
Only if the configuration is valid, the private variable is activated (otherwise CO_SRDO_process will generate errors)
2024-06-07 20:29:01 +02:00
Janez
6a0df55b01
Overrun not correctly reported in CO_Emergency.c, by H-Grobben #466
2024-06-04 19:54:00 +02:00
temi54c1l8
f407bc6d05
Fixed txErrors variable name
2024-06-04 19:28:42 +02:00
Janez
0dd1a08118
remove SRDO warning
2024-06-04 19:26:13 +02:00
Janez
61ff70e997
Merge branch 'temi54c1l8-fix_srdo_three_part'
2024-06-04 19:16:56 +02:00
Janez
3fe59fed4b
Use CO_CONFORMANCE_TEST_TOOL_ADAPTATION macro to make code optional.
2024-06-04 19:16:00 +02:00
temi54c1l8
39c2d7a897
Implemented "elegant" solution to avoid problems with conformance test tool
2024-06-04 14:16:19 +02:00
Janez
83b358abb5
Another cast data after bitwise
2024-06-03 17:11:41 +02:00
Janez
2d1ecce21e
Merge pull request #517 from temi54c1l8/fix_srdo_second_part
...
Fix srdo
2024-06-03 17:04:49 +02:00
temi54c1l8
520981b48c
The number of objects in the mapping are mappedObjectsCount (not CO_SRDO_MAX_MAPPED_ENTRIES)
2024-06-03 14:58:30 +02:00
temi54c1l8
2a43af4424
Cast data after bitwise, for non-8bit CPU compatibility
2024-06-03 14:51:20 +02:00
temi54c1l8
c8f161cb42
fix variable lowestState assignment
2024-06-03 10:27:09 +02:00
temi54c1l8
aa119f5ca2
Fixed control verifyLength with CO_SRDO_MAX_SIZE divided in two for straight and inverted data
2024-06-03 10:26:03 +02:00
temi54c1l8
359cda28e8
Fixed out of memory !!!
2024-06-03 10:24:37 +02:00
Janez
f054501d0e
SRDO updated to current CANopenNode
2024-05-31 01:47:28 +02:00
Janez
57ce72e6a2
.clang-format file changed to the same from ' https://github.com/MaJerle/c-code-style '
...
Auto formatted the file 'codingStyle'
2024-05-31 01:39:38 +02:00
Janez
39fc9212e6
Fixed Compiler warnings, issue #512
2024-04-25 16:51:37 +02:00
temi54c1l8
f96ffb2526
Porting SRDO to v4.0 ( #505 )
...
* Renamed structure from CO_SDO_t to CO_SDOserver_t
* Porting SRDOGuard
* Porting SRDO
* Porting SRDO on CANopen.c with new parameters
* Misra for SRDO
* Fix extension read and write control count
* Remove pointer to configurationValid and CRC and connect to OD
* Remove dependencies from CO_SDOserver.h and CO_NMT_Heartbeat.h
* Replaced CO_driver.h with CO_ODinterface.h
2024-04-09 11:56:43 +02:00