Janez
b5bfeec42a
Added CANopen gateway-ascii command interface according to CiA309-3 as a
...
microcontroller independent module.
It includes NMT master, LSS master and SDO client interface.
Interface is non-blocking, it is added to mainline.
Example for Linux stdio and socket is included.
Added CO_fifo.h/c for fifo data buffer, used with rewritten SDO client, etc
SDO client is rewritten. Now includes r/w fifo interface to transfer data.
doc/gettingStarted.md is updated.
2020-05-12 18:11:43 +02:00
Freddie Chopin
495f827d37
Fix minor typo/edit mistakes in CHANGELOG.md and CO_config.h
2020-05-06 18:00:28 +02:00
Janez
5a2a1e85cf
Update configuration macros. SDO state machine preview.
2020-04-29 13:12:07 +02:00
Janez
06e6f343c9
Update changelog
2020-04-27 12:18:47 +02:00
Janez
3fd799f919
Heartbeat is send immediately after NMT state changes.
2020-03-19 18:59:58 +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
1ce3732e60
SocketCAN: change CO_DRIVER_MULTI_INTERFACE and CO_DRIVER_ERROR_REPORTING
...
- Replace macro USE_EMERGENCY_OBJECT with CO_DRIVER_USE_EMERGENCY 1
- Now define sets macro to 0 or 1. It is easier to set custom value.
2020-03-12 16:20:40 +01:00
Janez
e6b4c1f5b1
socketCAN now compiles and runs.
2020-03-12 08:38:58 +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
b49907f133
Update docs
2020-03-06 11:34:30 +01:00
Janez
9d17b0d671
socketCAN driver:
...
- Always enable CANptr and timestamp info in CO_CANrx_t.
- Update documentation
2020-02-29 22:34:48 +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
3fc564b72f
Remove CO_CANopenInitCallback() from CANopen.h/.c (revert)
2020-02-27 15:25:59 +01:00
Janez
22e66b7bb4
socketCAN/CO_Linux_threads
...
- CANrx_threadTmr_init(uint16_t interval_in_milliseconds
(changed to) uint32_t interval_in_microseconds)
- other timing updated
2020-02-27 13:28:23 +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
a513d84e45
Move Makefile into example/
...
Renamed to example/CO_driver_blank.c and example/main_blank.c
Copied socketCAN/main.c from CANopenSocket project.
2020-02-26 13:01:53 +01:00
Janez
e55674bf6f
Documentation updated, ChangeLog deviceSupport and gettingStarted added.
...
CANopen.h fixed.
2020-02-15 16:35:39 +01:00