1
0
Fork 0
Commit graph

773 commits

Author SHA1 Message Date
Sl-Alex
039827c7a2 Mention that *_OD_IO_ACCESS is mandatory for bitwise PDO mapping 2025-04-04 15:13:21 +02:00
Sl-Alex
38c329e87d Check the maximum mapped objects for the PDO 2025-04-04 15:13:21 +02:00
Sl-Alex
006e3e3503 Use PDO bitwise mapping with *_OD_IO_ACCESS 2025-04-04 15:13:21 +02:00
Sl-Alex
cdc8cb872a Add a config option for PDO bitwise mapping 2025-04-04 15:13:21 +02:00
temi54c1l8
f454a3d82d
change for static analysis for CO_RPDO_process function (#564) 2025-03-01 16:54:38 +01:00
temi54c1l8
a9e2b3c2b0
add conformance test adaptation for obj: 13FEh and 13FFh (#563) 2025-03-01 16:54:23 +01:00
Hannu Korhonen
6ef8956ff9
Fixed LSS master message byteswapping for big endian system (#554) 2024-11-13 08:36:17 +01:00
Janez
fbd42d46a2 Make OD_requestTPDO() more clear, remove OD_getFlagsPDO(). 2024-10-19 12:42:36 +02:00
Vincent Chatelain
9e9aaf5f8d
CO_ODinterface: fix unreachable statement (#548)
Using a `break` after a `return` triggers warning 111 of Arm Compiler 5. To fix this warning while respecting MISRA rules, the return mechanism of OD_getSub() function was changed to only exit at the end.
2024-10-19 00:51:48 +02:00
Janez
29c5b64131 Fix example/CO_storageBlank.c.
CO_LOCK_OD(CANmodule) must not be used, because lock is already
applied by SDO server.
2024-10-10 16:08:54 +02:00
Janez
58012aae34 Fix links 2024-08-14 16:49:01 +02:00
Janez
05931a6b76 Fix and update doxygen documentation. 2024-08-07 00:17:39 +02:00
Janez
076557a485
Update README.md
Description for Object Dictionary Editor - binaries
2024-08-05 22:35:06 +02:00
Janez
835bae5664 CO_SYNC: bugfix, if CO_CONFIG_FLAG_OD_DYNAMIC is disabled. 2024-07-13 15:29:58 +02:00
Janez
e85410e923 CO_PDO.c: additional safety check. 2024-07-12 15:56:19 +02:00
Janez
0554268182
Merge pull request #528 from CANopenNode/code_reformatting
Code reformatting
2024-07-12 15:10:18 +02:00
Janez
f41bfdcb5d Format comments in the .h files. 2024-07-09 00:17:15 +02:00
Janez
f46f1e2733 clang-format: ReflowComments: true 2024-07-07 01:05:10 +02:00
Janez
b87fad2195 Format the .h files using clang-format v15. 2024-07-06 21:54:59 +02:00
Janez
82c95a2bc9 Format comments in the .c files. 2024-07-06 21:48:21 +02:00
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