Janez
9d1e99f66e
Use enumerators in CO_NMT_t, #327
2021-08-13 19:07:19 +02:00
Janez
f8eb4bc0a1
CO_ODinterface: simplified API to read/write functions. Return variables changed.
2021-03-12 11:42:34 +01:00
Janez
5b8be4ef7e
CO_ODinterface: simplified API to read/write functions. subIndex moved to OD_stream_t.
2021-03-10 15:22:03 +01:00
Janez
db7940ffc4
OD_interface: simplify OD_getPtr() function and add additional check.
2021-02-25 08:12:10 +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
09bf926856
CO_ODinterface - Change some API:
...
- Add OD_getPtr_vs(), OD_getPtr_os() and OD_getPtr_us().
- Move read/write from OD_subEntry_t into OD_IO_t structure.
- Change argument in OD_getSub(), use OD_IO_t instead OD_stream_t.
- OD_getSub(), argument subEntry is optional.
- Change return value of OD_extensionIO_init() to ODR_t.
2020-12-02 16:44:31 +01:00
Janez
ace840fa6c
Fix ODinterface, basic tests passed.
2020-10-26 18:16:00 +01:00
Janez
0e317dddf3
Add CO_errinfo() into CO_driver.h and driver_targets.
...
Add additional error info for 'CO_ERROR_OD_PARAMETERS'.
2020-10-26 18:05:47 +01:00
Janez
f73025ef65
CANopenNode V2.0 pre-release
2020-10-07 17:50:25 +02:00
Freddie Chopin
7c13199a1a
Fix all possible warnings about unused timerNext_us argument
2020-06-26 11:56:46 +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
Janez
6e28914ca9
Make calculation of timerNext_us optional.
2020-03-20 16:44:37 +01:00
Janez
3fd799f919
Heartbeat is send immediately after NMT state changes.
2020-03-19 18:59:58 +01: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
794c0f903a
Added file CO_config.h for stack configuration. Added CO_HBconsumer_initCallback()
2020-03-18 21:06:15 +01:00
Janez
2f204a0c71
Verify return value from CO_CANrxBufferInit() and CO_CANtxBufferInit().
2020-03-12 12:18:05 +01:00
Janez
02e2cc5860
Stack configuration added do CO_driver.h
...
Change macro CO_USE_LEDS -> CO_CONFIG_NMT_LEDS 1
Change macro CO_SDO_BUFFER_SIZE -> CO_CONFIG_SDO_BUFFER_SIZE
2020-03-07 16:26:52 +01:00
Janez
ae48e57c33
CANopen.h/.c revision.
...
- example/main.c updated to microsecond time base.
- NMT master moved from CANopen.h/.c into 301/CO_NMT_Heartbeat.h/.c.
- CANopen.h/.c files revised, changes in interface, compare example/main.c.
- Removed CO_init() from CANopen.h/.c. Use separate functions instead.
- CO_USE_GLOBALS and global definitions removed from CANopen.c.
- CO_USE_OWN_CRC16 removed from CANopen.c. Use CO_driver_target.h.
2020-02-06 00:15:54 +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