Commit Graph

201 Commits

Author SHA1 Message Date
Florian Pose e745837fed Implemented SDO requests in userspace library. 2009-02-02 13:37:00 +00:00
Florian Pose ae9d759622 Added ecrt_master_slave(). 2009-01-26 14:39:49 +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 fae8df09b0 Included ecrt_voe_handler_read_nosync()-Patch by Mathias Weber. 2008-11-18 11:13:49 +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
Florian Pose a97034d357 Wrapped c function in 'extern "C"' to make the library usable in C++
applications.
2008-10-21 11:58:31 +00:00
Florian Pose 7cdbbc60fe Improved LGPL headers. 2008-10-21 11:31:07 +00:00
Florian Pose 882a01c91f Improved VoE docs. 2008-10-15 10:00:22 +00:00
Florian Pose 4e6e86c808 Memory-mapped process data. 2008-10-10 08:34:15 +00:00
Florian Pose ffe107b658 Made ecrt_domain_size() const. 2008-10-10 07:58:48 +00:00
Florian Pose cfe75e88dc Warning. 2008-10-09 14:35:08 +00:00
Florian Pose 0c998363fb Moved byteorder macros to ecrt.h. 2008-10-09 13:24:17 +00:00
Florian Pose ed9e83fbea External memory only in kernel space. 2008-10-02 15:38:10 +00:00
Florian Pose cd4bb0a38b No kernel handles in userspace; Domain creation. 2008-10-02 10:19:02 +00:00
Florian Pose 96d794582e Used ERR_PTR() macro for return value of ecrt_request_master(). 2008-10-01 10:06:51 +00:00
Florian Pose 09f06703c2 Introduced ecrt_voe_handler_received_header(); renamed
ecrt_voe_handler_header() to ecrt_voe_handler_send_header().
2008-09-30 07:50:34 +00:00
Florian Pose a82d2dbf39 Introduced VoE header. 2008-09-22 15:27:50 +00:00
Florian Pose 12d30c487a Added VoE handler. 2008-09-01 14:17:18 +00:00
Florian Pose 01d2a6eb82 ApplicationInterface 2008-08-01 09:29:40 +00:00
Florian Pose 21216c40d8 Updated doc. 2008-07-17 11:51:22 +00:00
Florian Pose f99fc7a954 Added attention to ecrt_slave_config_sdo(). 2008-07-08 08:35:22 +00:00
Florian Pose c3e4319e34 Minor change. 2008-07-04 16:53:39 +00:00
Florian Pose c0b7fca9b6 Improved source code doc. 2008-07-04 12:06:10 +00:00
Florian Pose 5b5b7e1e00 Updated header docs, features and news file. 2008-07-02 14:28:30 +00:00
Florian Pose d871e4fd08 Renamed ecrt_slave_config_sync_managers() to ecrt_slave_config_pdos();
Added EC_MAX_SYNC_MANAGERS to ecrt.h.
2008-07-02 14:06:10 +00:00
Florian Pose a81228a587 Store sync manager configurations in ec_slave_config_t instead of Pdo
lists for each direction; changed realtime interface to allow sync
manager configuration.
2008-06-26 13:16:15 +00:00
Florian Pose 4688b35ada Implemented ecrt_slave_config_state(); minor changes in
ec_master_state_t and ec_slave_config_state_t; adapted example.
2008-06-18 10:13:58 +00:00
Florian Pose 9927bb1d15 Completed ec_master_state_t and documented ec_master_state_t and
ec_slave_config_state_t.
2008-06-18 09:26:46 +00:00
Florian Pose 9aa0789b33 Reverted revision number checking from r1228. 2008-06-17 09:44:46 +00:00
Florian Pose 541c2a0cd8 Added revision number to slave type checking. 2008-06-16 09:30:58 +00:00
Florian Pose 8b53bd2d8b Minor change. 2008-06-12 13:30:20 +00:00
Florian Pose e6f758b4de Some improvements concerning bit_position. 2008-05-30 08:56:47 +00:00
Richard Hacker 8e0484b1c4 Changed Pdo entry registration function - return byte and bit positions 2008-05-30 07:11:27 +00:00
Florian Pose bf2e1b9ee1 Added bitwise Pdo registration. 2008-05-28 07:26:28 +00:00
Florian Pose 80c1bf823d Removed bus validation; slave configuration during realtime operation;
improved scan/config busy flags.
2008-04-25 12:04:23 +00:00
Florian Pose ec73b9cce0 Improved EC_WRITE macros by replacing in-situ conversions
(cpu_to_lexxs()) by by-value ones (cpu_to_lexx()).
2008-04-16 09:21:51 +00:00
Florian Pose e9ff403255 Exported ecrt_slave_config_sdo(); added documentation. 2008-04-16 08:33:04 +00:00
Florian Pose afce9aea0c Added a few docs. 2008-04-07 10:26:13 +00:00
Florian Pose fc60cae9c7 Implemented Sdo timeout. 2008-04-03 14:08:08 +00:00
Florian Pose 593a5fda9c Changed terms "Pdo mapping" -> "Pdo assignment" and "Pdo configuration"
-> "Pdo mapping"; created ecrt_slave_config_pdo_assign_clear() and
ecrt_slave_config_pdo_mapping_clear().
2008-04-03 13:34:13 +00:00
Florian Pose 208fc51910 Introduced EC_MAP_END. 2008-03-31 09:42:37 +00:00
Florian Pose 257cc237b9 Added ecrt_sdo_request_data_size(). 2008-03-13 12:52:26 +00:00
Florian Pose d10214c017 Added documentation. 2008-03-13 12:42:48 +00:00
Florian Pose ca265cd7b7 Updated docs. 2008-03-04 12:59:50 +00:00
Florian Pose f28f42ceb1 Introduced ec_sdo_request_state_t, making ec_request_t private again;
therefore added EC_REQUEST_INIT and renamed EC_REQUEST_IN_PROGRESS to
EC_REQUEST_BUSY and EC_REQUEST_COMPLETE to EC_REQUEST_SUCCESS.
2008-03-04 11:37:51 +00:00
Florian Pose e90dab2a4e Basic reading realtime Sdo access working. 2008-03-04 09:57:36 +00:00
Florian Pose 66f3b77517 Removed 'const' from Pdo configuration entries. 2008-03-03 11:42:05 +00:00
Florian Pose f8dfda2b19 Fixed 2 bugs in new Pdo mapping function. 2008-02-28 15:28:10 +00:00
Florian Pose ea501996b2 Added ecrt_slave_config_pdo() and ecrt_slave_config_pdo_entry(). 2008-02-28 14:29:50 +00:00
Florian Pose 2a2b442219 Updated news. 2008-02-27 10:28:43 +00:00
Florian Pose 253f8b97a1 Avoided warning concerning EC_READ/WRITE() macros on some compilers. 2008-02-21 15:54:10 +00:00
Florian Pose 7db358b508 External domain memory. 2008-02-21 15:49:02 +00:00
Florian Pose 873e517741 Moved ecrt_domain_reg_pdo_entry() to
ecrt_slave_config_reg_pdo_entry().
2008-02-21 09:50:54 +00:00
Florian Pose b955b2d529 Fixed Pdo configuration information providing. 2008-02-19 09:21:13 +00:00
Florian Pose 6189092aed Implemented most realtime interface changes for version 1.4, improved
ec_pdo_t and ec_pdo_entry_t classes, added fmmu_config_t, adjusted
minimal example, etc...
2008-02-19 08:22:20 +00:00
Florian Pose d1d596e64a Updated doxygen docs. 2008-02-01 22:01:59 +00:00
Florian Pose abee686ffe Minor fixes. 2008-02-01 20:37:10 +00:00
Florian Pose 7c266d11a4 Minor fixes. 2008-02-01 20:35:12 +00:00
Florian Pose c8555e7860 Prepared RT interface 1.4. 2008-02-01 20:26:26 +00:00
Florian Pose c5b3ade0c0 Updated Doxygen documentation. 2007-09-24 12:12:11 +00:00
Florian Pose 805ead3302 Fixed bug on big-endian systems (cpu_to_le32 -> cpu_to_le64). 2007-09-06 09:23:56 +00:00
Florian Pose 808ad3e2f1 Added ecrt_master_get_slave_by_pos(). 2007-08-10 13:46:34 +00:00
Florian Pose 70482be0ac Added parameters for vendor ID and product code to ecrt_get_slave(); PDO
registration functions now take a slave pointer as argument; changed
values for ec_bus_status_t.
2007-03-09 10:24:50 +00:00
Florian Pose 37baf012fb Removed ecrt_master_run(), removed datagram queueing from state
machines, added datagram injection, two different master thread
functions.
2007-03-08 13:02:42 +00:00
Florian Pose d77267e81c Implemented alternative PDO mapping configuration interface. 2007-03-07 17:37:21 +00:00
Florian Pose b4bfda2e62 Introduced master status, ecrt_master_get_status(), tainted flag,
pdos_registered flags and pdo_slaves_offline counter.
2007-03-05 10:35:50 +00:00
Florian Pose 80566cd979 Introduced ECRT version magic. 2007-02-09 10:23:13 +00:00
Florian Pose c0f6188104 Interface changes for version 1.2, see NEWS file. 2006-11-24 11:02:35 +00:00
Florian Pose ded638c296 Version 1.2.0-rc1, re-introduced ecrt_domain_queue(). 2006-11-23 20:19:26 +00:00
Florian Pose daa10ed44a Updated source code documentation. 2006-11-07 13:38:40 +00:00
Florian Pose 1f44556083 Print certain warnings only at debug_level. 2006-10-27 13:59:49 +00:00
Florian Pose 0573bbce4d Moved functionality of ecrt_master_deactivate() (now deprecated) to ecrt_master_release(). 2006-10-27 09:29:46 +00:00
Florian Pose 5d90e96f72 ecrt_domain_register_pdo_range() implemented. 2006-10-18 13:11:48 +00:00
Florian Pose 258b4d998d VERSION 1.1: New realtime interface, only state machines. 2006-08-03 12:51:17 +00:00
Florian Pose 9e3bba8bc1 Minor changes to ecrt.h. 2006-06-27 19:33:04 +00:00
Florian Pose 92a035f82b Added missing documentation. 2006-06-26 16:05:30 +00:00
Florian Pose cb123b86ae Minor changes. 2006-06-21 09:09:55 +00:00
Florian Pose 85bd5d131d Variable-sized data fields, BK1120. 2006-06-20 14:40:04 +00:00
Florian Pose 2916e10b50 Changed license headers and added EtherCAT license notice. 2006-05-18 12:35:47 +00:00
Florian Pose 1f345f7df6 Prepared EoE processing with workqueue. 2006-04-25 13:43:13 +00:00
Florian Pose c7020c319d Locking callback interface. 2006-04-25 12:04:04 +00:00
Florian Pose 0e5ad186f2 Documentation update + Doxygen generate LaTeX reference manual. 2006-04-24 10:28:18 +00:00
Florian Pose 42fca68ae7 Doxygen added interface modules and file documentation. 2006-04-24 10:10:02 +00:00
Florian Pose b3389cee9f GPLv2 License and enhanced Doxygen output. 2006-04-21 12:35:17 +00:00
Florian Pose 91c739da77 Translated all comments and documentation to english language. 2006-04-20 13:31:31 +00:00
Florian Pose 75b31b137c Fixed syntax error in EC_READ_BIT macro. 2006-04-06 09:16:25 +00:00
Florian Pose 98411701ac Plugfest: domain_process mit const-Zeiger. 2006-04-05 07:47:26 +00:00
Florian Pose 8306f3e3c1 Dynamischer Kommandospeicher, Domain-Kommandos als Liste. 2006-04-03 10:03:34 +00:00
Florian Pose aaf5d8646c TO-DO und Fragen aktualisiert, kleine Schönheitskorrekturen. 2006-03-29 15:45:25 +00:00
Florian Pose d919deed4b Verbosity level in ecrt_master_print(). 2006-03-29 15:23:10 +00:00
Florian Pose 5722b4bc9a SDO-Schnittstelle verbessert. 2006-03-29 10:30:13 +00:00
Florian Pose 740bf6d767 SDO-Zugriff aufgeteilt in Expedited und Normal. Noch nicht fertig... 2006-03-28 17:40:57 +00:00
Florian Pose 1e150e4553 Laden der SDO Dictionaries funktioniert. 2006-03-28 13:42:50 +00:00
Florian Pose b1d2985464 Schönheitskorrekturen. 2006-03-21 20:25:50 +00:00
Florian Pose e6ac6a1900 Slave alias implementiert. 2006-03-20 15:28:25 +00:00
Florian Pose 374cda059d Integer-Typen in ecrt.h. 2006-03-20 08:36:08 +00:00
Florian Pose c9e8fc62c9 ecrt_master_prepare_async_io() hinzugefügt. 2006-03-17 16:25:02 +00:00
Florian Pose e310c9f3e4 Domänen-Status (ecrt_domain_state) hinzugefügt. 2006-03-17 15:18:13 +00:00
Florian Pose 1c0347347a MERGE branches/async -> trunk (alle Unterschiede übernommen) 2006-03-17 14:21:35 +00:00