Rasmus Villemoes
624872fcdb
fix direct uses of up()/down()
...
When converting to the ec_lock_t abstraction, these were missed,
making building with --enable-rtmutex broken.
Fixes: 9955855f7e (Applied 0016-If-enable-rtmutex-use-rtmutexes-instead-of-semaphore.patch)
2022-08-31 15:21:23 +02:00
Florian Pose
9955855f7e
Applied 0016-If-enable-rtmutex-use-rtmutexes-instead-of-semaphore.patch
2022-06-23 11:21:51 +02:00
Florian Pose
980c8d3025
Find flag method with const char * parameter; added method to header.
2021-08-24 17:48:09 +02:00
Florian Pose
2ee65b6387
Added feature flags to API.
2021-08-24 17:47:15 +02:00
Florian Pose
ab0d009bcc
Added export for ecrt_slave_config_reg_pdo_entry_pos(). Fixes #11 .
2021-08-24 17:39:54 +02:00
Florian Pose
41987fec6c
Always clear PDO mapping in ecrt_slave_config_pdos().
2021-08-24 16:17:09 +02:00
Florian Pose
4d70145d53
merge
2016-01-22 13:09:43 +01:00
Florian Pose
9486892f7b
Always clear PDO assignment of configured sync managers.
2016-01-22 10:11:58 +01:00
Florian Pose
99418519bd
Reverted default branch to stable-1.5.
2014-11-03 15:20:05 +01:00
Gavin Lambert
1d35113c85
Abort requests started for slave_configs that don't have any actual slaves.
2015-04-14 09:35:15 -04:00
Gavin Lambert
9e3510c455
When detaching a slave from a slave_config, fail any pending register requests instead of leaving them BUSY forever.
2015-04-14 09:34:15 -04:00
Dave Page
7beb81207d
Refactor fmmu->logical_start_address to fmmu->logical_domain_offset
2015-03-26 17:41:57 -04:00
Dave Page
b8c5ff836d
Integrate skeleton of allow_overlapping_pdos from af21f0bdc7c9
...
Overlapping PDO API added, but not active/working.
No more changes than required to build.
EC_IOCTL_VERSION_MAGIC now 30
2015-03-26 15:16:21 -04:00
Florian Pose
605d25eec9
Replaced all mangled hg keywords.
2012-09-06 14:17:21 +02:00
Florian Pose
03c932486a
Added missing linux/modules.h include.
2012-07-23 16:10:45 +02:00
Florian Pose
ef4fc90c7d
Added --enable-wildcards to use 0xffffffff as wildcard for vendor ID and
...
product code.
2011-11-04 12:21:09 +01:00
Florian Pose
699bb79eca
Fixed spacing and added some thoughts about the overlapping PDOs
...
implementation.
2011-08-11 20:44:18 +02:00
Florian Pose
89cbcd86bb
Avoided casting-away constness in expected working counter calculation.
2011-08-11 19:43:48 +02:00
Martin Troxler
c059ec6f49
use rt_mutex instead of semaphore for mutual exclusion (use --enable-mutex)
2011-01-05 08:36:53 +01:00
Martin Troxler
711764aec3
Inplace I/O bug: correct domain tx-size when tx-size of input and output fmmu is different.
2010-12-06 11:42:48 +01:00
Martin Troxler
f938cab3d1
Merged
2010-11-27 17:02:54 +01:00
Martin Troxler
8ff146ae8d
fixed race when calculating DC offsets and start times due to ec_slave_config_attach: removed obsolete request to change slave state to OP.
...
The request to change to OP is done by ec_master_request_op after activating the master.
2010-11-26 10:33:55 +01:00
Florian Pose
869215071e
Output IDN configuration as part of 'ethercat config -v'.
2010-10-24 08:43:44 +02:00
Martin Troxler
a55d77d7ed
merged
2010-10-18 10:45:07 +02:00
Martin Troxler
911e09392f
Inplace I/O: prevent pairing with already paired fmmus
2010-10-18 10:30:57 +02:00
Florian Pose
190cdce964
Added drive_no parameter to SoE layer.
2010-07-20 10:52:31 +02:00
Florian Pose
26d4687d0e
Added state parameter to ecrt_slave_config_idn().
2010-06-06 22:40:22 +02:00
Florian Pose
9618b9dfe6
Added debug output for ecrt_slave_config_dc().
2010-05-25 13:32:43 +02:00
Florian Pose
6d354de9c0
Fixed format specifiers.
2010-05-20 12:46:09 +02:00
Martin Troxler
d135711521
merged
2010-05-11 13:57:58 +02:00
Florian Pose
62b722ab33
Improved syslog macros.
2010-05-03 18:07:57 +02:00
Martin Troxler
196bc7db4d
Inplace I/O: let input Pdos use the same bus space as Output Pdos
2010-04-29 16:33:32 +02:00
Florian Pose
bf2bffdcf5
Added missing queue_external_datagram(); removed tabs.
2010-03-19 10:48:16 +01:00
Florian Pose
fc4ee4d699
Added ecrt_slave_config_idn() method to store SoE IDN configurations.
2010-03-05 18:05:35 +01:00
Dominik Staubli
60b6807f24
Domain datagram working counter calculation bugfix: increment expected wc for a given slave & direction just once for each datagram
...
This bug occurs if you configure more than one SM in the same direction on the same slave
2010-01-21 11:09:31 +01:00
Florian Pose
7ac08b531f
Avoid warnings on x86_64 platform. Thanks to Thomas Elste.
2009-10-19 13:12:40 +02:00
Florian Pose
10c7501851
Implemented CompleteAccess for SDO downloads.
2009-08-13 13:53:56 +02:00
Florian Pose
4f4ac6e4fa
Added watchdog configuration via application interface (thanks to J. Mohre).
2009-07-27 10:48:52 +00:00
Florian Pose
735f1efbc1
Removed unwanted tabulators.
2009-07-27 10:37:47 +00:00
Florian Pose
7e600a6301
Merged ecrt_slave_config_dc_assign_activate() and
...
ecrt_slave_config_dc_sync_signals() to ecrt_slave_config_dc().
2009-05-05 15:03:59 +00:00
Florian Pose
c39919e6cc
Replaced ecrt_slave_config_dc_cycle_times() and ecrt_slave_config_dc_shift_times() by ecrt_slave_config_dc_sync_signals().
2009-05-04 12:46:30 +00:00
Florian Pose
4b4dc8a5b5
DC shift time working.
2009-04-23 12:25:09 +00:00
Florian Pose
e3b1d8e573
DC cyclic operation and slave configuration. TBC...
2009-04-09 09:17:41 +00:00
Florian Pose
12c12b1bab
Improved and added license headers.
2009-02-24 12:51:39 +00:00
Florian Pose
fe10563a36
Added ec_slave_config_find_sdo_request().
2009-02-02 13:34:01 +00:00
Florian Pose
723a9d66f4
merge -c1610 branches/stable-1.4: Added missing doxygen docs.
2009-01-26 11:58:35 +00:00
Florian Pose
826ae37b26
merge -c1604 branches/stable-1.4: Fixed spelling of EtherCAT terms.
2009-01-26 11:45:30 +00:00
Florian Pose
5ca3d24337
merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only.
2009-01-26 11:16:10 +00:00
Florian Pose
8d46a283f6
Improved error case return codes of many functions.
2008-11-17 17:18:02 +00:00
Florian Pose
bdbaf5d078
Created backend versions of all API functions returing a pointer; using
...
the PTR_ERR()... macros.
2008-11-17 15:04:28 +00:00