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
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
9f8e726e7e
SocketCAN, CO_driver.c: replace CO_notifyPype with simpler eventfd().
2020-03-17 17:39:22 +01:00
Janez
0ee8acaa67
Unify indentation in three files.
2020-03-16 15:30:19 +01:00
Janez
e6b4c1f5b1
socketCAN now compiles and runs.
2020-03-12 08:38:58 +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
d40c1e1c96
Manual merge from updates in master branch - socketCAN
2020-02-28 10:08:11 +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
c40130b70e
socketCAN: add Makefile and do basic changes
2020-02-26 13:04:25 +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
Janez
fdda4c8340
move stack/neuberger-socketCAN/ socketCAN
...
Compare with initial commit of neuberger-socketCAN.
Try to use original code.
2020-01-24 12:22:54 +01:00