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
f064eeaa40
Format the license information in files.
2024-07-06 13:03:00 +02:00
temi54c1l8
8c798fbf20
CO_gateway_ascii: static analysis: an value cannot be used together as operands [MISRA 2012 Rule 10.4, required]
2024-06-27 10:08:52 +02:00
temi54c1l8
c99b8ae07a
CO_LEDs: static analysis: statement or comment should appear in default case [MISRA 2012 Rule 16.1, required], [MISRA 2012 Rule 16.4, required]
2024-06-13 13:58:53 +02:00
temi54c1l8
3e6f9c79d1
CO_LEDs: static analysis: result of assignment operator used in right operand to '=' operator [MISRA 2012 Rule 13.4, advisory]
2024-06-13 13:57:48 +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
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
e3206f2c7f
static analysis: Ignoring return value of function 'memset' [MISRA 2012 Directive 4.7, required]
2024-06-10 11:56:47 +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
a528eb1669
Better organised configuration macros (CO_config.h):
...
- rearranged and better documented
- default values moved from CO_driver.h into appropriate files
- rearranged also in CO_driver_target.h files
- parts of the stack or whole objects can be disabled.
- configuration is verified for depencies
Additional:
- renamed some members of CO_Default_CAN_ID_t
- moved helpers CO_setUint32() etc from CO_SDOserver.h into CO_driver.h.
- change wrong CO_ERROR_PARAMETERS to CO_ERROR_ILLEGAL_ARGUMENT.
- renamed CO_ERROR_PARAMETERS to CO_ERROR_OD_PARAMETERS
2020-09-14 15:50:21 +02:00
Freddie Chopin
7c13199a1a
Fix all possible warnings about unused timerNext_us argument
2020-06-26 11:56:46 +02:00
Janez
aed6a472d4
LSS led flickering fix.
2020-06-14 12:35:42 +02:00
Janez
ca452c47cc
CO_driver interface: remove Emergency object dependency for reporting CAN
...
errors, use CANerrorStatus own variable instead. Emergency object updated.
2020-06-13 14:06:35 +02:00
Janez
bd3326fed9
Make own file for CANopen status LED diodesLED indicator indication
...
(CiA303-3) moved from NMT into own files. Now fully comply to standard.
2020-06-05 18:02:26 +02:00