Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
556 commits
Select commit Hold shift + click to select a range
88e437b
static analysis: minor fix
temi54c1l8 Jun 11, 2024
59e0c3b
CO_SRDO: static analysis: the name '_configurationValid' matches a pa…
temi54c1l8 Jun 11, 2024
e58c5de
CO_GFC: static analysis: ignoring return value of function 'OD_extens…
temi54c1l8 Jun 11, 2024
3533d44
CO_GFC: static analysis: add 'U' of unsigned [MISRA 2012 Rule 10.4, …
temi54c1l8 Jun 11, 2024
7cabf33
CO_GFC: static analysis: Added parentheses for dependency on operator…
temi54c1l8 Jun 11, 2024
bfa773d
CO_GFC: static analysis: cannot assign 'signed8' to different essenti…
temi54c1l8 Jun 11, 2024
7399d31
static analysis: ignoring return value of function 'OD_extension_init…
temi54c1l8 Jun 11, 2024
d4e7214
static analysis: conditional of #if does not evaluate to 0 or 1 [MISR…
temi54c1l8 Jun 12, 2024
fbe4d30
static analysis: argument is not compatible with other argument in ca…
temi54c1l8 Jun 12, 2024
e720f49
static analisys: cannot assign 'unsigned32' to narrower essential typ…
temi54c1l8 Jun 12, 2024
b2de7f4
static analysis: integer null pointer constant is not the NULL macro …
temi54c1l8 Jun 12, 2024
9e8ceb4
static analysis: ignoring return value of functions [MISRA 2012 Direc…
temi54c1l8 Jun 12, 2024
6e009c0
static analysis: cannot assign 'signed8' to different essential type …
temi54c1l8 Jun 12, 2024
7855d35
static analysis: refactoring changed enum with define to be able to u…
temi54c1l8 Jun 12, 2024
691728f
static analysis: essential type of condition of 'if' statement is in …
temi54c1l8 Jun 12, 2024
686ab04
static analysis: enumerator 'CO_CAN_ID_EMERGENCY' reuses the constant…
temi54c1l8 Jun 12, 2024
cff7a3c
static analysis: refactoring changed enum with define to be able to u…
temi54c1l8 Jun 12, 2024
20fa24a
CANopen: static analysis: locals not referenced [MISRA 2012 Rule 2.5,…
temi54c1l8 Jun 12, 2024
73a65db
Revert "CANopen: static analysis: locals not referenced [MISRA 2012 R…
temi54c1l8 Jun 12, 2024
8c06bec
CANopen: static analysis increment operation combined with other oper…
temi54c1l8 Jun 12, 2024
704bc17
CANopen:static analysis possible loss of precision (assignment)
temi54c1l8 Jun 12, 2024
0f06b10
CANopen:static analysis: right operand to + is a composite expression…
temi54c1l8 Jun 12, 2024
24065d5
CANopen: static analysis: cannot assign 'unsigned16' to narrower esse…
temi54c1l8 Jun 12, 2024
308f32e
CANopen: static analysis: both sides have side effects [MISRA 2012 Ru…
temi54c1l8 Jun 12, 2024
4cee088
CANopen: static analysis: named parameter 'OD_statusBits' of 'non-vir…
temi54c1l8 Jun 12, 2024
926dc62
CANopen: static analysis: side effects on right hand of logical opera…
temi54c1l8 Jun 12, 2024
cff7a6f
CO_Emergency: static analysis: cannot assign a composite expression o…
temi54c1l8 Jun 13, 2024
266f77d
CO_Emergency: static analysis: cannot assign 'unsigned32' to narrower…
temi54c1l8 Jun 13, 2024
be2a469
CO_Emergency: static analysis: a signed value is not an appropriate […
temi54c1l8 Jun 13, 2024
9bffb7d
CO_Emergency: static analysis: argument 1 of type 'uint8_t [8]' is no…
temi54c1l8 Jun 13, 2024
f48d505
CO_Emergency: static analysis: increment/decrement operation combined…
temi54c1l8 Jun 13, 2024
061237d
CO_HBconsumer: static analysis: cannot assign variable to narrower es…
temi54c1l8 Jun 13, 2024
9c89ecf
CO_HBconsumer: static analisys: the name 'time' is reserved to the co…
temi54c1l8 Jun 13, 2024
c25fec2
CO_NMT_Heartbeat: static analysis: enum constant 'CO_NMT_NO_COMMAND' …
temi54c1l8 Jun 13, 2024
1da8f44
CO_NMT_Heartbeat: static analysis: cannot assign 'signed32' to differ…
temi54c1l8 Jun 13, 2024
e11ffc1
CO_NMT_Heartbeat: static analysis: statement or comment should appear…
temi54c1l8 Jun 13, 2024
6eaf6b0
CO_NMT_Heartbeat: static analysis: both sides have side effects [MISR…
temi54c1l8 Jun 13, 2024
78944be
CO_Node_Guarding: static analysis: no 'else' at end of 'if ... else i…
temi54c1l8 Jun 13, 2024
52ad9f5
CO_Node_Guarding: static analysis: body should be a compound statemen…
temi54c1l8 Jun 13, 2024
d0a4b22
CO_ODinterface: static analysis: argument 1 of type 'void *' is not c…
temi54c1l8 Jun 13, 2024
808ad99
CO_ODinterface: static analysis: missing unconditional break from fin…
temi54c1l8 Jun 13, 2024
fd8cf68
CO_PDO: static analisys: result of assignment operator used in right …
temi54c1l8 Jun 13, 2024
6f6936c
CO_PDO: static analysis: cannot assign 'enum' to different essential …
temi54c1l8 Jun 13, 2024
fe1709c
CO_PDO: static analysis: argument 1 of type 'uint8_t [4]' is not comp…
temi54c1l8 Jun 13, 2024
d9d24ff
CO_PDO: static analysis: unsigned integer literal without a 'U' suffi…
temi54c1l8 Jun 13, 2024
32c1086
CO_PDO: static analysis: last value assigned to 'odRet' not used [MIS…
temi54c1l8 Jun 13, 2024
f8d1039
CO_SDOserver: static analysis: missing unconditional break from final…
temi54c1l8 Jun 13, 2024
460441f
CO_SDOserve: static analysis: increment/decrement operation combined …
temi54c1l8 Jun 13, 2024
b2294a6
CO_SDOserver: static analysis: argument 1 of type 'uint8_t *' (aka 'u…
temi54c1l8 Jun 13, 2024
a4fb95e
CO_SDOserver: static analysis: statement or comment should appear in …
temi54c1l8 Jun 13, 2024
404ebca
CO_SDOserver: static analysis: cannot assign a composite expression o…
temi54c1l8 Jun 13, 2024
00f8961
CO_SDOserver: static analysis: loss of precision (assignment) from 32…
temi54c1l8 Jun 13, 2024
e82c942
Fix previous static analysis
temi54c1l8 Jun 13, 2024
99b56d1
CO_SDOserver: static analysis: unexpected lack of indentation
temi54c1l8 Jun 13, 2024
64934d7
CO_SYNC: static analysis: cannot assign 'unsigned32' to narrower esse…
temi54c1l8 Jun 13, 2024
860a36c
CO_SYNC: static analysis: unsigned integer literal without a 'U' suff…
temi54c1l8 Jun 13, 2024
9c79067
CO_TIME: static analysis: cannot assign 'unsigned32' to narrower esse…
temi54c1l8 Jun 13, 2024
bc92055
CO_TIME: static analysis: unexpected lack of indentation (convert tab…
temi54c1l8 Jun 13, 2024
20d7220
crc16-ccitt: static analysis: loss of precision (assignment)
temi54c1l8 Jun 13, 2024
3e6f9c7
CO_LEDs: static analysis: result of assignment operator used in right…
temi54c1l8 Jun 13, 2024
c99b8ae
CO_LEDs: static analysis: statement or comment should appear in defau…
temi54c1l8 Jun 13, 2024
8755f23
CO_SRDO: static analysis: argument of type 'const void *' is not comp…
temi54c1l8 Jun 13, 2024
3c53895
CO_SRDO: static analysis: cannot cast to wider essential type [MISRA…
temi54c1l8 Jun 13, 2024
3b89378
CO_SRDO: static analysis: right operand to == is a composite expressi…
temi54c1l8 Jun 13, 2024
6cf0200
CO_SRDO: static analysis: result of assignment operator used in right…
temi54c1l8 Jun 13, 2024
f112105
CO_SRDO: static analysis: cannot cast 'unsigned16' to wider essential…
temi54c1l8 Jun 13, 2024
6f4df2b
CO_SRDO: static analysis: 'subIndex' is typographically ambiguous wit…
temi54c1l8 Jun 13, 2024
5337877
CO_SRDO: static analysis: cannot assign 'enum (OD_attributes_t)' to d…
temi54c1l8 Jun 13, 2024
2d03662
CO_LSSslave: static analysis: statement or comment should appear in d…
temi54c1l8 Jun 13, 2024
08e7903
CO_LSSslave: static analysis argument 1 is not compatible with argume…
temi54c1l8 Jun 13, 2024
cd1f389
CO_LSSslave: static analysis: cannot assign 'enum' to different essen…
temi54c1l8 Jun 13, 2024
f1e6844
CO_LSSslave: static analysis: unsigned integer literal without a 'U' …
temi54c1l8 Jun 13, 2024
d64f0dc
CO_LSSslave: static analysis: taking address of array
temi54c1l8 Jun 13, 2024
d071882
CO_storage: static analysis: body should be a compound statement [MIS…
temi54c1l8 Jun 13, 2024
2f8f439
CO_storage: static analysis: refactoring OD_extension_init with ignor…
temi54c1l8 Jun 13, 2024
5907aa2
CO_storageEeprom: static analysis: unsigned integer literal without a…
temi54c1l8 Jun 13, 2024
f54f919
CO_LSSmaster: static analysis: use of modifier or type 'int' outside …
temi54c1l8 Jun 13, 2024
f322d42
CO_LSSmaster: static analysis: ignoring return value of function 'CO_…
temi54c1l8 Jun 13, 2024
29673b0
CO_LSSmaster: static analysis: an unsigned value and a signed value c…
temi54c1l8 Jun 13, 2024
5a62e18
CO_LSSmaster: static analysis: missing unconditional break from final…
temi54c1l8 Jun 13, 2024
bad7521
CO_LSSmaster: static analysis: no 'else' at end of 'if ... else if' c…
temi54c1l8 Jun 13, 2024
6ebd390
CO_LSSmaster: departure from MISRA switch syntax: missing break or th…
temi54c1l8 Jun 13, 2024
22fe7b9
CO_LSSmaster: static analysis: statement or comment should appear in …
temi54c1l8 Jun 13, 2024
79aa366
CO_LSSmaster: style changed , add space on if condition
temi54c1l8 Jun 13, 2024
47461cf
CO_LSSmaster: static analysis: cannot assign 'enum' to different esse…
temi54c1l8 Jun 13, 2024
d4b4d29
CO_LSSmaster and CO_LSSslave: static analysis: cannot assign 'enum' t…
temi54c1l8 Jun 14, 2024
6990e11
CO_LSSslave: static analysis: an unsigned value and a signed value ca…
temi54c1l8 Jun 14, 2024
284ba1a
CO_LSSslave: static analysis: remove cast unnecessary
temi54c1l8 Jun 14, 2024
8af3ef3
CO_SDOserver: static analysis: taking address of array
temi54c1l8 Jun 14, 2024
75909f4
CO_ODinterface: static analysis: implicit conversion of enum 'ODR_t' …
temi54c1l8 Jun 14, 2024
4cef820
CO_ODinterface: static analysis: fix cast to correct address assignme…
temi54c1l8 Jun 14, 2024
35cefe0
CO_SDOserver: static analysis: cannot cast 'unsigned8' to wider essen…
temi54c1l8 Jun 14, 2024
ab26145
CO_Emergency: static analysis: side effects on right hand of logical …
temi54c1l8 Jun 14, 2024
06834c1
O_SDOserver: static analysis: side effects on right hand of logical o…
temi54c1l8 Jun 14, 2024
42cea36
CO_LSSmaster and CO_LSSslave: static analysis: repeated include file …
temi54c1l8 Jun 14, 2024
cbf3df7
CO_SDOserver: static analysis: result of assignment operator used in …
temi54c1l8 Jun 14, 2024
29bb799
CO_SDOserver: static analysis: enum constants not used within default…
temi54c1l8 Jun 14, 2024
cac0f78
CO_LSSslave: static analysis: ANSI/ISO minimum translation limit of 3…
temi54c1l8 Jun 14, 2024
41c9e74
CO_Emergency: static analysis: named parameter 'timeDifference_us' of…
temi54c1l8 Jun 14, 2024
8cc4dc1
CO_HBconsumer: static analysis: local variable 'data' could be pointe…
temi54c1l8 Jun 14, 2024
c41aa14
CO_PDO: static analysis: named parameter 'timerNext_us' of 'non-virtu…
temi54c1l8 Jun 14, 2024
d2770c4
CO_SDOserver: static analysis: named parameter 'calculateCrc' of 'non…
temi54c1l8 Jun 14, 2024
f9d8bde
static analysys: local variable 'data' could be pointer to const [MIS…
temi54c1l8 Jun 14, 2024
8cccf6f
minor fix after static analysis
temi54c1l8 Jun 14, 2024
f7c7f9c
Add more static analysis and MISRA.md
temi54c1l8 Jun 24, 2024
5cf0865
Fix commit 29bb7992d2c25d1deda78f4d7cb15fcbcf08e219 won't respond wit…
temi54c1l8 Jun 26, 2024
1e9b6da
CO_fifo: static analysis: ignoring return value of functions [MISRA 2…
temi54c1l8 Jun 26, 2024
29156e8
CO_fifo: static analysis: refactoring changed enum with define to be …
temi54c1l8 Jun 26, 2024
d96ac77
CO_fifo: static analysis: body should be a compound statement [MISRA …
temi54c1l8 Jun 26, 2024
4bef46f
CO_fifo: static analysis: refactoring CO_fifo_readToken for loss of sign
temi54c1l8 Jun 26, 2024
11771f8
CO_fifo: fix doxygen documentation comments
temi54c1l8 Jun 26, 2024
c643683
Update CO_ODinterface.c: fix memcpy boundary verification
CANopenNode Jun 26, 2024
3e08dd4
Update CO_Emergency.h: fix doxygen documentation comments
CANopenNode Jun 26, 2024
7850623
Update CO_PDO.c: make eventTime, inhibitTime and syncStartValue optio…
CANopenNode Jun 26, 2024
c46bb96
CO_fifo: static analysis: side effects on right hand of logical opera…
temi54c1l8 Jun 26, 2024
376d86a
CO_fifo: static analysis: side effects on right hand of logical opera…
temi54c1l8 Jun 26, 2024
f6535de
CO_fifo: static analysis: increment/decrement operation combined with…
temi54c1l8 Jun 26, 2024
a5004f4
CO_fifo: static analysis: result of assignment operator used in right…
temi54c1l8 Jun 26, 2024
8c36f03
CO_fifo: static analysis: cannot assign value to different essential …
temi54c1l8 Jun 26, 2024
36f7481
CO_fifo: static analysis: no 'else' at end of 'if ... else if' chain …
temi54c1l8 Jun 26, 2024
5749014
CO_fifo: static analysis: pointer subtraction [MISRA 2012 Rule 18.2, …
temi54c1l8 Jun 26, 2024
4a8c750
CO_fifo: static analysis: repeated include file 'string.h'
temi54c1l8 Jun 26, 2024
40917a8
CO_SDOclient: static analysis: no 'else' at end of 'if ... else if' c…
temi54c1l8 Jun 26, 2024
022e1e0
CO_SDOclient: static analysis: enum constant case not used within def…
temi54c1l8 Jun 26, 2024
41e637c
CO_SDOclient: static analysis: ignoring return value of function 'CO_…
temi54c1l8 Jun 26, 2024
340ba3f
CO_SDOclient: static analysis: departure from MISRA switch syntax: mi…
temi54c1l8 Jun 26, 2024
d8811ed
CO_SDOclient: static analysis: increment/decrement operation combined…
temi54c1l8 Jun 26, 2024
be69c27
CO_SDOclient: static analysis: the name 'abort' is reserved to the co…
temi54c1l8 Jun 26, 2024
5646616
CO_SDOclient: static analysis: conditional of #if does not evaluate t…
temi54c1l8 Jun 26, 2024
c41d5b7
CO_SDOclient: static analysis: statement or comment should appear in …
temi54c1l8 Jun 26, 2024
7d1da22
CO_SDOclient: static analysis: essential type of condition of 'if' st…
temi54c1l8 Jun 26, 2024
900633a
CO_SDOclient: static analysis: cannot assign 'signed8' to different e…
temi54c1l8 Jun 26, 2024
10816af
CO_SDOclient: static analysis: right operand to +=/-= is a composite …
temi54c1l8 Jun 26, 2024
2a6b781
CO_SDOclient: static analysis: cannot assign a composite expression o…
temi54c1l8 Jun 26, 2024
53f3c58
CO_SDOclient: static analysis: body should be a compound statement [M…
temi54c1l8 Jun 26, 2024
86eb9bf
CO_SDOclient: static analysis: an unsigned value and an enum value ca…
temi54c1l8 Jun 26, 2024
6b41e85
CO_SDOclient: static analysis: body should be a compound statement [M…
temi54c1l8 Jun 26, 2024
b1cba96
CO_SDOclient: static analysis: side effects on right hand of logical …
temi54c1l8 Jun 26, 2024
ad14eb5
CO_SDOclient: static analysis: argument 1 is not compatible with argu…
temi54c1l8 Jun 26, 2024
646e367
CO_SDOclient: static anaylsis: loss of precision (assignment) from 32…
temi54c1l8 Jun 26, 2024
b39334d
CO_SDOclient: static analysis: potential out of bounds pointer access…
temi54c1l8 Jun 27, 2024
d7b77c7
CO_gateway_ascii: static analysis: no 'else' at end of 'if ... else i…
temi54c1l8 Jun 27, 2024
ebf549d
CO_gateway_ascii: static analysis: switch case lacks unconditional br…
temi54c1l8 Jun 27, 2024
df350cc
CO_gateway_ascii: static analysis: body should be a compound statemen…
temi54c1l8 Jun 27, 2024
e0bd857
CO_gateway_ascii: static analysis: dependence placed on operator [MIS…
temi54c1l8 Jun 27, 2024
03fc825
CO_gateway_asci: staatic analysis: the name 'abort' is reserved to th…
temi54c1l8 Jun 27, 2024
732634d
CO_gateway_ascii: static analysis: unsigned integer literal without a…
temi54c1l8 Jun 27, 2024
49c90c5
CO_gateway_ascii: static analysis: cannot assign type to different es…
temi54c1l8 Jun 27, 2024
b73f3c1
CO_gateway_ascii: static analysis: cannot assign a composite expressi…
temi54c1l8 Jun 27, 2024
4db6676
CO_gateway_ascii: static analysis: initializing 'char *' with an expr…
temi54c1l8 Jun 27, 2024
8c798fb
CO_gateway_ascii: static analysis: an value cannot be used together a…
temi54c1l8 Jun 27, 2024
3a414a3
CO_gateway_ascii: static analysis: use of modifier or type 'int' outs…
temi54c1l8 Jun 27, 2024
646eac1
CO_gateway_ascii: static analysis: ignoring return value of functions…
temi54c1l8 Jun 27, 2024
b02b742
CANopenNode\309\CO_gateway_ascii.c(32,0): warning 537: repeated inclu…
temi54c1l8 Jun 27, 2024
0c70d40
CO_gateway_ascii: static analysis: operator '-' followed by operator …
temi54c1l8 Jun 27, 2024
c516049
CO_gateway_ascii: static analysis: both sides have side effects [MISR…
temi54c1l8 Jun 27, 2024
6440f8b
CO_gateway_ascii: static analysis: side effects on right hand of logi…
temi54c1l8 Jun 27, 2024
2e70332
CO_NMT_Heartbeat: static analysis: other minor change
temi54c1l8 Jun 27, 2024
071f6d7
CO_Emergency: static analysis: dependence placed on operator preceden…
temi54c1l8 Jun 27, 2024
d76aeb1
CO_Emergency: static analysis: unsigned integer literal without a 'U'…
temi54c1l8 Jun 27, 2024
ca968aa
CO_Emergency: static analysis: conditional of #if does not evaluate t…
temi54c1l8 Jun 27, 2024
7bf5065
CO_Emergency: static analysis: no 'else' at end of 'if ... else if' c…
temi54c1l8 Jun 27, 2024
ce405b1
CO_Emergency: static analysis: body should be a compound statement [M…
temi54c1l8 Jun 27, 2024
42c39a2
CO_Emergency: static analysis: an unsigned value and a signed value c…
temi54c1l8 Jun 27, 2024
5860617
CO_Emergency: static analysis: side effects on right hand of logical …
temi54c1l8 Jun 27, 2024
d9d9044
CO_Emergency: static analysis: right operand to == is a composite exp…
temi54c1l8 Jun 27, 2024
a501f96
CO_Emergency: ignoring return value of functions [MISRA 2012 Directiv…
temi54c1l8 Jun 27, 2024
baa9e4e
CO_Emergency: static analysis: argument 1 of type 'void *' is not com…
temi54c1l8 Jun 27, 2024
f684b34
CO_SYNC: static analysis: no 'else' at end of 'if ... else if' chain …
temi54c1l8 Jun 27, 2024
d6b3163
CO_SYNC: static analysis: dependence placed on operator precedence [M…
temi54c1l8 Jun 27, 2024
995fed6
CO_SYNC: static analysis: an unsigned value and a signed value cannot…
temi54c1l8 Jun 27, 2024
4ae66f9
CO_SYNC: static analysis: ignoring return value of function 'CO_SYNCs…
temi54c1l8 Jun 27, 2024
f6a4718
CANopen: static analysis: an unsigned value and a signed value cannot…
temi54c1l8 Jun 27, 2024
ff32999
CANopen: static analysis: increment/decrement operation combined with…
temi54c1l8 Jun 27, 2024
d4c69b2
CANopen: staatic analysis: an unsigned value and a signed value canno…
temi54c1l8 Jun 27, 2024
823dcb3
CANopen: static analysis: essential type of condition of 'if' stateme…
temi54c1l8 Jun 27, 2024
6fef978
CO_PDO: static analysis: dependence placed on operator precedence [MI…
temi54c1l8 Jun 27, 2024
1c4a5f6
CO_fifo: static analysis: multiple loop exits [MISRA 2012 Rule 15.4, …
temi54c1l8 Jun 27, 2024
2e4b889
CO_storageEeprom: static analysis: declaration of 'i' hides a local v…
temi54c1l8 Jun 27, 2024
d35a5b6
CO_storageEeprom: static analysis: dependence placed on operator prec…
temi54c1l8 Jun 27, 2024
b17182d
CANopen: static analysis: an unsigned value and a signed value cannot…
temi54c1l8 Jun 27, 2024
dad273b
CANopen: static analysis: expected end of line in preprocessor expres…
temi54c1l8 Jun 27, 2024
5a2f24b
static analysis: ANSI/ISO minimum translation limit of 31 'significan…
temi54c1l8 Jun 27, 2024
3e51408
static analysis: Add exception 9059, C comment contains C++ comment
temi54c1l8 Jun 27, 2024
36f01f3
CO_gateway_ascii: static analysis: format specifies is nominally inco…
temi54c1l8 Jun 27, 2024
86a5064
CO_fifo: static analisys: use of modifier or type outside of a typede…
temi54c1l8 Jun 27, 2024
675d11a
CO_fifo: static analysis: format '%02X' specifies type 'unsigned int'…
temi54c1l8 Jun 27, 2024
b0ae30a
static analysis: Excluded the CO_gateway_ascii and CO_fifo
temi54c1l8 Jun 27, 2024
4a59d6e
static analysis: add recommendation use CO_USE_GLOBALS
temi54c1l8 Jun 27, 2024
586c819
Update CO_storageEeprom.c
CANopenNode Jun 27, 2024
f36345d
CO_storageEeprom.h: Change to fixed sized array
CANopenNode Jun 27, 2024
94022f5
CO_storageEeprom: static analysis: an unsigned value and a signed val…
temi54c1l8 Jul 1, 2024
240dd58
Fix timing message, cycleTimer is only managed by the normal message …
temi54c1l8 Jul 1, 2024
28d3c1f
Fix SRDO problem with PCL Codesys on configuration runtime without reset
temi54c1l8 Jul 4, 2024
07a978a
Merge pull request #1 from temi54c1l8/fix_srdo_frame_time
temi54c1l8 Jul 4, 2024
cf6885b
Merge pull request #2 from temi54c1l8/fix_srdo_verified_on_operationa…
temi54c1l8 Jul 4, 2024
371e89d
Merge pull request #522 from temi54c1l8/static_analysis
CANopenNode Jul 5, 2024
7db21c1
CO_SDO_server.c fix missing "bufShifted"
CANopenNode Jul 5, 2024
fcd89f8
Remove comments from arguments in CO_CANrxBufferInit and CO_CANtxBuff…
CANopenNode Jul 5, 2024
f064eea
Format the license information in files.
CANopenNode Jul 6, 2024
2857d74
.clang-format: do not SortIncludes
CANopenNode Jul 6, 2024
0d016a0
Remove /*********...*/ comment delimiters.
CANopenNode Jul 6, 2024
95c1705
Format the .c files using clang-format v15.
CANopenNode Jul 6, 2024
82c95a2
Format comments in the .c files.
CANopenNode Jul 6, 2024
b87fad2
Format the .h files using clang-format v15.
CANopenNode Jul 6, 2024
f46f1e2
clang-format: ReflowComments: true
CANopenNode Jul 6, 2024
f41bfdc
Format comments in the .h files.
CANopenNode Jul 8, 2024
0554268
Merge pull request #528 from CANopenNode/code_reformatting
CANopenNode Jul 12, 2024
e85410e
CO_PDO.c: additional safety check.
CANopenNode Jul 12, 2024
835bae5
CO_SYNC: bugfix, if CO_CONFIG_FLAG_OD_DYNAMIC is disabled.
CANopenNode Jul 13, 2024
076557a
Update README.md
CANopenNode Aug 5, 2024
05931a6
Fix and update doxygen documentation.
CANopenNode Aug 6, 2024
58012aa
Fix links
CANopenNode Aug 14, 2024
29c5b64
Fix example/CO_storageBlank.c.
CANopenNode Oct 10, 2024
9e9aaf5
CO_ODinterface: fix unreachable statement (#548)
vinchatl Oct 18, 2024
fbd42d4
Make OD_requestTPDO() more clear, remove OD_getFlagsPDO().
CANopenNode Oct 19, 2024
6ef8956
Fixed LSS master message byteswapping for big endian system (#554)
HannuK0 Nov 13, 2024
a9e2b3c
add conformance test adaptation for obj: 13FEh and 13FFh (#563)
temi54c1l8 Mar 1, 2025
f454a3d
change for static analysis for CO_RPDO_process function (#564)
temi54c1l8 Mar 1, 2025
145a15d
Update CANopen.c (#577), Issue #576
CANopenNode May 7, 2025
6dfd4ed
define variable before it is being assigned (#582)
MaJerle Jun 8, 2025
c7a4d26
Fix dereference before NULL check (#585)
cvanbeek13 Jul 15, 2025
c804f7d
Update example/main_blank.c, fix problems with LSS.
CANopenNode Jul 26, 2025
b6e9107
Refine #585 (#593)
stefanct Jul 29, 2025
ef9ac3a
CO_gateway_ascii: function CO_GTWA_log_print() fixed. "log" inquiry n…
CANopenNode Aug 4, 2025
97f0c4d
Adds CANopenNode module
tbitcs Aug 6, 2025
456c8a4
Adds CANopenNode module
tbitcs Aug 6, 2025
7d77d65
Merge commit '456c8a48c41ea5771221d5093a7cd65a66774ae9' into zephyr-m…
tbitcs Aug 6, 2025
08e1a6c
Refactors CANopenNode module for Zephyr
tbitcs Aug 6, 2025
5b58767
Improves CANopenNode Zephyr integration
tbitcs Aug 6, 2025
8e1072a
Improves PDO configuration and storage
tbitcs Aug 7, 2025
148facc
Fix kconfigs and add correct file inclusions.
tbitcs Aug 11, 2025
ce2400e
Enables LED callback for CANopenNode LEDs
tbitcs Aug 13, 2025
7c1646f
Refactors CANopenNode Zephyr integration
tbitcs Aug 13, 2025
b0f57b4
Adds Zephyr module support for CANopenNode
tbitcs Aug 13, 2025
3bfd832
Improves Zephyr driver and integration layers
tbitcs Aug 13, 2025
f880c9f
Adds initial CANopenNode documentation
tbitcs Aug 13, 2025
f4a352b
Refactors CANopenNode storage and initialization
tbitcs Aug 14, 2025
d12997f
Fixes include order and macro definition
tbitcs Aug 14, 2025
54bb113
Enables application-defined CANopen Node-ID
tbitcs Aug 14, 2025
ebe169a
Allows node ID 0 and callback-requested ID 255
tbitcs Aug 14, 2025
d7d62f6
Implements CiA 302-3 Program Download
tbitcs Aug 15, 2025
1d113cb
Delete unneeded files
tbitcs Aug 15, 2025
fefe10e
Enables program download feature for Zephyr
tbitcs Aug 18, 2025
a80f1a1
Refactors node ID handling and logging
tbitcs Aug 19, 2025
68a8e43
Improves CAN bus error handling and ID masking
tbitcs Aug 21, 2025
2c4c0a4
Improves CANopenNode Zephyr integration
tbitcs Sep 10, 2025
5214b84
Improves CANopenNode shutdown and error handling
tbitcs Sep 11, 2025
3d27097
Fix program download error check and add logging Kconfig
tbitcs Apr 3, 2026
b2b20e1
Normalize line endings to LF for all Zephyr files
tbitcs Apr 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
204 changes: 191 additions & 13 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,15 +1,193 @@
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html
BasedOnStyle: LLVM

# indent 4 spaces
---
Language: Cpp
# BasedOnStyle: LLVM
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignArrayOfStructures: None
AlignConsecutiveMacros:
Enabled: true
AcrossEmptyLines: true
AcrossComments: true
AlignConsecutiveAssignments: None
AlignConsecutiveBitFields:
Enabled: true
AcrossEmptyLines: true
AcrossComments: true
AlignConsecutiveDeclarations: None
AlignEscapedNewlines: Right
AlignOperands: Align
SortIncludes: false
InsertBraces: true # Control statements must have curly brackets
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortEnumsOnASingleLine: true
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: AllDefinitions
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: Yes
AttributeMacros:
- __capability
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeConceptDeclarations: true
BreakBeforeBraces: Attach
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 120
CommentPragmas: "^ IWYU pragma:"
QualifierAlignment: Leave
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DeriveLineEnding: true
DerivePointerAlignment: false
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
ExperimentalAutoDetectBinPacking: false
PackConstructorInitializers: BinPack
BasedOnStyle: ""
ConstructorInitializerAllOnOneLineOrOnePerLine: false
AllowAllConstructorInitializersOnNextLine: true
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IfMacros:
- KJ_IF_MAYBE
IncludeBlocks: Preserve
IncludeCategories:
- Regex: "^<(.*)>"
Priority: 0
- Regex: '^"(.*)"'
Priority: 1
- Regex: "(.*)"
Priority: 2
IncludeIsMainRegex: "(Test)?$"
IncludeIsMainSourceRegex: ""
IndentAccessModifiers: false
IndentCaseLabels: true
IndentCaseBlocks: false
IndentGotoLabels: true
IndentPPDirectives: None
IndentExternBlock: AfterExternBlock
IndentRequires: true
IndentWidth: 4
IndentWrappedFunctionNames: false
InsertTrailingCommas: None
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
LambdaBodyIndentation: Signature
MacroBlockBegin: ""
MacroBlockEnd: ""
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 50
PenaltyBreakBeforeFirstCallParameter: 9
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakOpenParenthesis: 0
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PenaltyIndentedWhitespace: 0
PointerAlignment: Left
PPIndentWidth: -1
ReferenceAlignment: Pointer
ReflowComments: true
RemoveBracesLLVM: false
SeparateDefinitionBlocks: Always
ShortNamespaceLines: 1
SortJavaStaticImport: Before
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeParens: ControlStatements
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDefinitionName: false
AfterFunctionDeclarationName: false
AfterIfMacros: true
AfterOverloadedOperator: false
BeforeNonEmptyParentheses: false
SpaceAroundPointerQualifiers: Default
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: Never
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeSquareBrackets: false
BitFieldColonSpacing: Both
Standard: Latest
StatementAttributeLikeMacros:
- Q_EMIT
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 8
UseCRLF: false
UseTab: Never
WhitespaceSensitiveMacros:
- STRINGIZE
- PP_STRINGIZE
- BOOST_PP_STRINGIZE
- NS_SWIFT_NAME
- CF_SWIFT_NAME
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
---

# break before function
BreakBeforeBraces: Linux

# arguments and parameters in same line or one line for each
BinPackArguments: false
BinPackParameters: false

# keep up to two empty lines
MaxEmptyLinesToKeep: 2
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # CANopenNode
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: ['paypal.me/jnz022'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
canopennode
/example/canopennode_blank
/canopend
*.o
*.persist
*.persist.old

doc/
doc/html/

#eclipse
.cproject
.project
.settings/

#kdevelop
*.kdev4
Loading