Janez
b9927ff1cd
Remove CO_CONFIG_EM_BUFFER_SIZE macro, size is fetched from Object Dictionary
...
It is necessary to re-generate OD.h file with the latest CANopenEditor
from https://github.com/CANopenNode/CANopenEditor
2021-06-28 12:39:03 +02: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
Janez
66d0e14ef4
301/CO_PDO.h/c updated to newOD.
2021-03-18 15:13:06 +01:00
Janez
bc54b697f4
CO_Emergency fix: CANdevTx is not optional field. CO_EM_init() arguments changed.
2021-02-25 08:35:55 +01:00
Janez
8cff68f196
CO_config.h: use global macros for common definitions
2021-01-25 21:32:51 +01:00
Janez
464a856a3f
301/CO_time.c updated to newOD. Some principles changed.
2021-01-25 12:52:52 +01:00
Janez
9dce037ecb
Add data storage, common and Linux specific functions, tested in Linux.
2021-01-25 12:42:10 +01:00
Janez
5538b5e1f8
Remove CO_errinfo() from driver and put errInfo into CO_CANopenInit() as arg
2021-01-20 12:49:20 +01:00
Janez
51d64df860
OD interface simplified #162
...
OD_extension is now configurable by application only.
2021-01-07 08:34:53 +01:00
Janez
cf9fb2a547
Some updates in OD interface.
...
It matches newly generated OD.h and OD.c files from libedssharp
2020-10-21 11:29:03 +02: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
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
43f86073ee
Minor corrections in documentation.
2020-04-03 11:43:14 +02:00
Janez
c88194e813
Add Stack configuration macros to most of CANopenNode objects.
...
Add CO_NMT_initCallbackPre()
2020-03-19 18:07:23 +01:00
Janez
d9c44c69d1
Change non-descriptive CO_***_initCallback() into CO_***_initCallbackPre().
...
Change CO_NMT_initCallback() into CO_NMT_initCallbackChange().
Change type of NMT->operatingState from uint8_t into enum CO_NMT_internalState_t.
2020-03-18 23:19:29 +01:00
Janez
42f2554f2f
Add emergency receive callback also for own emergency messages.
2020-03-11 17:44:33 +01:00
Janez
78487ba89f
Clarify EM, SDOserver, SDOclient and LSSmaster callback functions.
...
callback functions called also from SDO_blockTransferInProgress.
Clarify timerNext_us parameter to CO_process() function.
2020-02-27 16:43:27 +01:00
Janez
8fb48173c6
Add CO_CANopenInitCallback() into CANopen.h/.c.
...
Change CO_*_initCallback() functions - add 'void *object' argument.
2020-02-27 13:09:48 +01:00
Janez
62ffc7c9f5
Drivers removed from stack, directory structure rearranged.
...
- Change log added to README.
- Doxygen documentation updated.
2020-02-05 10:52:56 +01:00