Janez
05931a6b76
Fix and update doxygen documentation.
2024-08-07 00:17:39 +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
f064eeaa40
Format the license information in files.
2024-07-06 13:03: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
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
6440f8b6b6
CO_gateway_ascii: static analysis: side effects on right hand of logical operator [MISRA 2012 Rule 13.5, required]
2024-06-27 11:03:40 +02:00
temi54c1l8
c5160499f8
CO_gateway_ascii: static analysis: both sides have side effects [MISRA 2012 Rule 1.3, required]
2024-06-27 10:57:24 +02:00
temi54c1l8
0c70d40105
CO_gateway_ascii: static analysis: operator '-' followed by operator '-' could be confusing without parentheses
2024-06-27 10:20:16 +02:00
temi54c1l8
b02b7424f0
CANopenNode\309\CO_gateway_ascii.c(32,0): warning 537: repeated include file 'string.h'
2024-06-27 10:17:29 +02:00
temi54c1l8
646eac142b
CO_gateway_ascii: static analysis: ignoring return value of functions [MISRA 2012 Directive 4.7, required], [MISRA 2012 Rule 17.7, required]
2024-06-27 10:16:31 +02:00
temi54c1l8
3a414a3b17
CO_gateway_ascii: static analysis: use of modifier or type 'int' outside of a typedef [MISRA 2012 Directive 4.6, advisory]
2024-06-27 10:11:06 +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
4db6676aeb
CO_gateway_ascii: static analysis: initializing 'char *' with an expression of type 'const char [x]' discards qualifiers
2024-06-27 09:45:18 +02:00
temi54c1l8
b73f3c1cf2
CO_gateway_ascii: static analysis: cannot assign a composite expression of type 'unsigned16' to an object of wider type 'unsigned32' [MISRA 2012 Rule 10.6, required]
2024-06-27 09:42:45 +02:00
temi54c1l8
49c90c50f6
CO_gateway_ascii: static analysis: cannot assign type to different essential type [MISRA 2012 Rule 10.3, required]
2024-06-27 09:40:39 +02:00
temi54c1l8
732634d049
CO_gateway_ascii: static analysis: unsigned integer literal without a 'U' suffix [MISRA 2012 Rule 7.2, required]
2024-06-27 09:27:09 +02:00
temi54c1l8
03fc8257f6
CO_gateway_asci: staatic analysis: the name 'abort' is reserved to the compiler [MISRA 2012 Rule 21.2, required]
2024-06-27 09:24:38 +02:00
temi54c1l8
e0bd857df8
CO_gateway_ascii: static analysis: dependence placed on operator [MISRA 2012 Rule 12.1, advisory]
2024-06-27 09:22:02 +02:00
temi54c1l8
df350cc134
CO_gateway_ascii: static analysis: body should be a compound statement [MISRA 2012 Rule 15.6, required]
2024-06-27 09:18:21 +02:00
temi54c1l8
ebf549db2b
CO_gateway_ascii: static analysis: switch case lacks unconditional break or throw [MISRA 2012 Rule 16.3, required]
2024-06-27 09:09:21 +02:00
temi54c1l8
d7b77c7dd6
CO_gateway_ascii: static analysis: no 'else' at end of 'if ... else if' chain [MISRA 2012 Rule 15.7, required]
2024-06-27 08:59:56 +02:00
temi54c1l8
4bef46fb46
CO_fifo: static analysis: refactoring CO_fifo_readToken for loss of sign
2024-06-26 11:43:41 +02:00
temi54c1l8
29156e8ed7
CO_fifo: static analysis: refactoring changed enum with define to be able to use bitwise operators
2024-06-26 10:48:52 +02:00
temi54c1l8
d4b4d29f0b
CO_LSSmaster and CO_LSSslave: static analysis: cannot assign 'enum' to different essential type [MISRA 2012 Rule 10.3, required]
...
refactoring convert enum to macro
2024-06-14 08:12:08 +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
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
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
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
f56c96db3c
Documentation arrangement according to doxygen.
...
- Minor changes in most files
- add CANopenNode.png
- update doxyfile
- move doc/LSSusage.md and doc/gettingStarted.md into CANopenDemo repository
- update README.md
2021-05-17 13:29:13 +02:00
gotocoffee1
591a91be29
fixed some warnings
...
fixed some small bugs
2021-04-27 16:24:00 +02:00
Janez
267a2dafb2
Replace type char with uint8_t or int8_t, where appropriate
...
305/CO_LSS.h now passing -Wextra warnings
2021-01-05 09:22:19 +01:00
Janez
9e9fce74a9
Updates and testing of OD interface, SDO server, SDO client, gateway, etc.
...
- SDO server: Change behavior for string data type + fixes + test all
- SDO client: fixes + test all
- OD interface: Special behavior for string data type
- CO_driver.h: added default debug configuration macros + fix spelling
- Gateway + fifo: added base64 support + updates
- CO_CANopenInit() - added arguments.
- update some documentation
- CO_epoll_interface fixes.
- CO_main_basic.c updates
2020-12-24 14:15:10 +01:00
Janez
f73025ef65
CANopenNode V2.0 pre-release
2020-10-07 17:50:25 +02: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
Miles Simpson
102b503115
Standardized 309 ASCII Gateway newlines to \r\n sequence ( #215 )
2020-08-04 23:09:51 +02:00
Janez
748086a751
Move enumerator CO_SDOclient_return_t to CO_SDO_return_t
...
(from CO_SDOclient.h into CO_SDOserver.h)
2020-07-24 10:10:05 +02:00
Norcio
03df5f65b8
fix for missing int cast which cause compilation warning/error when ctype,__cplusplus and esp32 is used ( #212 )
...
error: array subscript has type 'char' [-Werror=char-subscripts]
2020-07-22 07:31:56 +02:00
Janez
7903f55ef2
Fixed Gateway timeout for small values (SDO read, write) #209
2020-07-14 16:33:40 +02:00
Janez
997a311a38
Fixed: delay between gateway commands #208
2020-07-08 13:48:49 +02:00
Janez
9dd36aa649
Manual merge #202 :
...
- fix conflicts in CO_SRDO.h and CO_SRDO.c
- Add configs for GFC & SRDO for CO_driver.h and not for socketCAN
- Fix doxygen for CO_gateway_ascii
2020-07-01 09:02:40 +02:00
Freddie Chopin
3cf4f62109
Completely disable CO_gateway_ascii module if not enabled by config
...
When CO_CONFIG_GTW_ASCII is not enabled in configuration, this module
produces multiple important warnings, like 2 warnings about implicit
function declaration. Instead of making the source more complex and
fixing each warning individually, in this case it is much easier to just
completely disable compilation of the whole thing.
2020-06-26 12:35:46 +02:00
Freddie Chopin
7c13199a1a
Fix all possible warnings about unused timerNext_us argument
2020-06-26 11:56:46 +02:00
Janez
dd1677b5bc
Integrate LSS slave into CANopenNode more directly.
...
- CO_LSSslave: move expensive code from CAN receive (interrupt) to mainline
CO_LSSslave_process() function.
- LSS slave now runs in parallel to other CANopen objects.
- LSS slave and master can run both on same device.
- LSS slave, LSS master and gateway-ascii(CiA309) LSS functions tested.
- LSSusage.md updated.
2020-06-09 14:55:07 +02:00
Janez
ae1b66e6ea
Gateway - command interface: update help strings, add status LED indication
2020-06-06 08:07:26 +02:00