1
0
Fork 0
Commit graph

182 commits

Author SHA1 Message Date
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
Janez
8f2a59f478
CO_ODinterface, fixed typo in ODR_t, #372 2023-03-28 16:44:37 +02:00
Janez
1191979f57 Issue #426 update: SDO Client block transfer has incorrect handling of early server acknowledgments. 2023-03-18 11:42:50 +01:00
Janez
e79a364983 Fixed issue #426: SDO Client block transfer has incorrect handling of early server acknowledgments. 2023-03-17 22:40:40 +01:00
mlout
4ab0bd10c1 Always call OD lock macros on SDO operations 2023-03-17 17:42:35 +01:00
mlout
900ab00a79 Rename CO_CONFIG_FLAG_ALWAYS_LOCK_OD to CO_CONFIG_FLAG_SDO_ALWAYS_LOCK_OD 2023-03-16 14:19:07 +01:00
mlout
d8a637dbc5 Add CO_CONFIG_FLAG_ALWAYS_LOCK_OD to always lock OD
Add CO_CONFIG_FLAG_ALWAYS_LOCK_OD which can be used to lock the OD for
every SDO read/write operation.
Modify the code in CO_SDOserver.c and CO_SDOclient.c to check this
config flag.
2023-03-16 14:09:01 +01:00
ankit.chudasama1
4c86a61342 Fix variable name and use of pointer for big endian system
1. Variable name update in CO_PDO.c file
2. Correct use of pointer in the CO_SDOserver.c file
2023-02-16 19:36:49 +05:30
Janez
1128bbbaf9
Wrong conditional compilation #420, fixed 2022-12-03 00:08:13 +01:00
Blazej1994
7249ea6acd
TPDO inhibitTime_us / evnetTime_us calculation fix
Added inhibiTime and eventTime casting to uint32_t
2022-07-14 11:48:08 +02:00
gotocoffee
18bac27516
fixed typo in sdo client
SDO_C instead of SDO
2021-08-31 15:53:30 +02:00
Janez
f1e39ccabb
Update CO_PDO.c 2021-08-24 08:20:37 +02:00
Tilen Majerle
88bc36da27
Add conditional compile statement for unused vars 2021-08-14 12:00:08 +02:00
Janez
9d1e99f66e Use enumerators in CO_NMT_t, #327 2021-08-13 19:07:19 +02:00
Janez
b1b091a463 Add option for logical devices to have more than four PDOS with pre-defined CAN_IDs. 2021-08-10 16:34:20 +02:00
Janez
2117fb6149 Add example for basic SDO client usage, #276 2021-08-10 10:17:46 +02:00
Janez
fe3777b781 Verify for restricted CAN-IDs in SYNC, TIME, EMCY, PDO and SDO COB-ID configuration. 2021-08-09 14:12:19 +02:00
Janez
5338f110e1 Synchronous TPDO: send first in the middle between sync messages. 2021-08-09 14:08:31 +02:00
Janez
3ff84e21ff Fix some SDO abort messages. 2021-08-09 14:06:08 +02:00
Janez
bb74ed2cf5 SDO server: send abort on wrong block size 2021-08-09 14:00:45 +02:00
Janez
20f7af361f Fixed Heartbeat consumer
Receive buffer was not disabled, if monitored node has been unconfigured.
2021-08-09 13:59:03 +02:00