1
0
Fork 0
Commit graph

22 commits

Author SHA1 Message Date
ankit.chudasama1
4c86a61342 Fix variable name and use of pointer for big endian system
1. Variable name update in CO_PDO.c file
2. Correct use of pointer in the CO_SDOserver.c file
2023-02-16 19:36:49 +05:30
Janez
1128bbbaf9
Wrong conditional compilation #420, fixed 2022-12-03 00:08:13 +01:00
Blazej1994
7249ea6acd
TPDO inhibitTime_us / evnetTime_us calculation fix
Added inhibiTime and eventTime casting to uint32_t
2022-07-14 11:48:08 +02:00
Janez
f1e39ccabb
Update CO_PDO.c 2021-08-24 08:20:37 +02:00
Tilen Majerle
88bc36da27
Add conditional compile statement for unused vars 2021-08-14 12:00:08 +02:00
Janez
fe3777b781 Verify for restricted CAN-IDs in SYNC, TIME, EMCY, PDO and SDO COB-ID configuration. 2021-08-09 14:12:19 +02:00
Janez
5338f110e1 Synchronous TPDO: send first in the middle between sync messages. 2021-08-09 14:08:31 +02:00
Janez
3ff84e21ff Fix some SDO abort messages. 2021-08-09 14:06:08 +02:00
Mattia Maldini
2e80d0304a Fixed bug with CANrxData buffer indexing 2021-07-14 19:19:28 +02:00
Freddie Chopin
e8d40fbfb7 Fix error in PDO_initMapping()
The loop should initialize only existing subindexes. Assuming that every
time there are CO_PDO_MAX_MAPPED_ENTRIES subindexes results in the
function returning CO_ERROR_OD_PARAMETERS because the call to
OD_get_u32() to read a non-existing subindex returns ODR_SUB_NOT_EXIST.
2021-07-05 12:33:58 +02:00
Janez
0d33cbb8bd Fix in CO_RPDO_process(), #283 2021-03-22 22:59:49 +01:00
Janez
66d0e14ef4 301/CO_PDO.h/c updated to newOD. 2021-03-18 15:13:06 +01:00
Janez
f73025ef65 CANopenNode V2.0 pre-release 2020-10-07 17:50:25 +02:00
Wilkins White
28925a4e3c
Add CO_SYNCsend() (#225)
* add CO_SYNCsend function

* change return type of CO_TPDOsend
2020-09-29 09:24:21 +02:00
Freddie Chopin
7c13199a1a Fix all possible warnings about unused timerNext_us argument 2020-06-26 11:56:46 +02:00
Janez
229b5c5fd3 Change optional arguments in CO_RPDO_init(), CO_TPDO_init(), CO_GTWA_init() 2020-05-31 22:08:36 +02:00
Freddie Chopin
b4b0fe069f Convert {T,R}PDO_CALLS_EXTENSION to CO_CONFIG_{T,R}PDO_CALLS_EXTENSION
User can now enable extension callbacks in RPDO/TPDO handling paths
simply by configuration flags instead of modifying sources or by passing
the defines directly to the compiler.
2020-05-06 18:22:50 +02:00
Freddie Chopin
aa6075b3c8
Add CO_..._initCallbackPre() for RPDO and SYNC (#178)
* Merge two parts of CO_PDO_receive() into single common code

* Add CO_RPDO_initCallbackPre() for received RPDO messages

This optional mechanism allows to immediatelly wake the thread that
processes RPDO, without waiting for its next tick.

* Add CO_SYNC_initCallbackPre() for received SYNC messages

This optional mechanism allows to immediatelly wake the thread that
processes SYNC, without waiting for its next tick.
2020-05-05 13:23:26 +02:00
Janez
ffd5027cb2 Make SYNC optional in TPDO and RPDO. 2020-03-20 18:47:16 +01:00
Janez
6e28914ca9 Make calculation of timerNext_us optional. 2020-03-20 16:44:37 +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
62ffc7c9f5 Drivers removed from stack, directory structure rearranged.
- Change log added to README.
- Doxygen documentation updated.
2020-02-05 10:52:56 +01:00
Renamed from stack/CO_PDO.c (Browse further)