Commit Graph

186 Commits

Author SHA1 Message Date
Florian Pose fc97788495 Added missing serial.c to dist. 2010-02-16 11:08:05 +01:00
Florian Pose a144042657 Removed tabulators. 2010-02-05 10:29:47 +01:00
Florian Pose 1177892a84 Fixed segfault if creation of TTY devices fails. 2010-01-25 18:31:27 +01:00
Florian Pose d910657cf8 Callback set via own structure. 2010-01-25 17:42:07 +01:00
Florian Pose 7ff6b58427 Named serial ports. 2010-01-22 17:25:36 +01:00
Florian Pose e4ec1cf42f Implemented all 2 ports of EL6002. 2010-01-22 17:01:00 +01:00
Florian Pose 4777f5fb89 Also accept ids 2-port serial slave. 2010-01-22 14:22:48 +01:00
Florian Pose 018507a22e Implemented setting of baud rate, data frame and RTS/CTS. 2010-01-22 14:10:18 +01:00
Florian Pose f2feb90956 Check EL600x frame data configuration. 2010-01-22 10:36:36 +01:00
Florian Pose a98da94149 Passing tty cflag to serial implementation. 2010-01-21 17:53:40 +01:00
Florian Pose e70346e090 TTY example: Auto-create multiple handlers. 2010-01-08 14:03:04 +01:00
Florian Pose 0b5a38767a Fixed function call. 2010-01-08 13:13:50 +01:00
Florian Pose 59853156ca TTY: Sourced serial device functions out into serial.c/serial.h. 2010-01-08 13:10:12 +01:00
Florian Pose 699b184f6f Merged changes from Martin Troxler. 2009-12-14 13:11:36 +01:00
Florian Pose 06bad71e6b Implemented reading direction of tty driver. 2009-12-09 12:42:28 +01:00
Florian Pose 3b37ee4b79 Fixed distribution of TTY example. 2009-12-02 15:46:00 +01:00
Florian Pose 6dbc77cd62 Send direction works! 2009-12-02 15:38:10 +01:00
Florian Pose 3e5dc394f6 Create tty. 2009-12-01 22:29:25 +01:00
Florian Pose fb7f5b73a6 Added tty example. 2009-12-01 16:54:59 +01:00
Martin Troxler bf63d965d8 Merge 2009-11-19 14:44:57 +01:00
Martin Troxler dfeb99b1cb applied komax patch to version r1822
- adapted to 2.6.31 (-rt): init_MUTEX -> sema_init, net_device_ops (Matthias Lüscher)
- 8139too eth driver for 2.6.31 (Matthias Lüscher)
- scan_busy queryable in user mode (ec_master_info_t) (Martin Troxler)
- read alias from register 0x0012 (TODO: reread alias after sii write) (Martin Troxler)
- cancel external SDO/FOE,Reg&SII requests (Martin Troxler)
2009-11-19 14:39:10 +01:00
Florian Pose f411a51ca6 Re-added callback data pointer, because it is necessary for some applications. 2009-07-29 09:19:53 +00:00
Florian Pose 911bf6dbdc Removed more tabulators. 2009-07-27 10:44:16 +00:00
Florian Pose bb8370c5e8 Added semaphore header distinction in minimal example. 2009-07-13 15:26:28 +00:00
Florian Pose a3c32e8b67 Improved the callback mechanism. 2009-07-13 15:18:28 +00:00
Florian Pose f9bca4f0ef EC_TIMEVAL2NANO() takes no pointer argument any more. 2009-05-15 09:06:28 +00:00
Florian Pose cc6e9a7c79 Symbol versions; Makefile improvements. 2009-05-07 08:44:00 +00:00
Florian Pose 6189052af3 Ported examples to new DC configuration function. 2009-05-05 15:18:24 +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 a34809e18d Separated application time from synchronizing reference clock. 2009-05-04 10:05:55 +00:00
Florian Pose d3303e0fa4 Replaced timeval by 64-bit EtherCAT time. 2009-04-24 10:24:53 +00:00
Florian Pose bfb1ce1cf0 DC example applications. 2009-04-23 14:50:23 +00:00
Florian Pose 3f6da06083 Removed IS_ERR() from minimal example. 2009-04-06 09:48:01 +00:00
Florian Pose 12c12b1bab Improved and added license headers. 2009-02-24 12:51:39 +00:00
Florian Pose 50c8c0b45b builddir and srcdir, tbc. 2009-02-04 17:37:06 +00:00
Florian Pose e745837fed Implemented SDO requests in userspace library. 2009-02-02 13:37:00 +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 aca58d41d2 Build examples by default. 2008-10-21 09:58:19 +00:00
Florian Pose eb112061f5 Replaced sleep() with pause(). 2008-10-14 08:39:09 +00:00
Florian Pose ca0a3dcf1b Added state functions; writing of process data works. 2008-10-10 09:37:06 +00:00
Florian Pose 4e6e86c808 Memory-mapped process data. 2008-10-10 08:34:15 +00:00
Florian Pose 95e60a2fec Added some slave configuration methods. 2008-10-09 13:31:50 +00:00
Florian Pose 05e0935e0d Userspace example with priority. 2008-10-02 15:38:35 +00:00
Florian Pose fb34ddb1f2 Activate, Send and received; cyclic timer with setitimer(). 2008-10-02 13:40:23 +00:00
Florian Pose 9e69d015b6 Creating slave configurations. 2008-10-02 10:45:40 +00:00
Florian Pose cd4bb0a38b No kernel handles in userspace; Domain creation. 2008-10-02 10:19:02 +00:00
Florian Pose a4ea4a4590 First version of userspace library with requesting/releasing. 2008-10-01 14:42:28 +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 f2e1893b3d mini top. 2008-09-03 15:36:28 +00:00
Florian Pose 12d30c487a Added VoE handler. 2008-09-01 14:17:18 +00:00
Florian Pose a2e6a8f815 Added analog output to minimal example. 2008-08-01 08:11:23 +00:00
Florian Pose 5e8c08f6cb Alternative Pdo assignment for el3162. 2008-07-29 11:37:29 +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 93a66a3573 Removed MSR example; adapted RTAI example; README files for examples. 2008-07-02 12:16:48 +00:00
Florian Pose 131bcd7203 Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies. 2008-06-30 15:51:46 +00:00
Florian Pose cf54c042c4 Adapted minimal example to sync manager configuration interface. 2008-06-26 14:28:09 +00:00
Florian Pose 258ec19c99 Fixed analog in position. 2008-06-18 11:24:31 +00:00
Florian Pose dae25376a5 Minor changes to minimal example. 2008-06-18 11:21:32 +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 066546e81c Removed ecdb.h 2008-04-25 14:38:11 +00:00
Florian Pose 791aa6d3d1 Added vim modelines and properties. 2008-04-08 11:52:51 +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 90ae651e00 Minor changes. 2008-03-13 12:31:09 +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 88017c1555 Cross blinking. 2008-02-29 08:27:17 +00:00
Florian Pose 8532abfc91 Cleaned up mini module. 2008-02-22 17:31:00 +00:00
Florian Pose b4322990e2 Calculate expected working counter for domains. 2008-02-22 17:23:05 +00:00
Florian Pose 350c159a9d Renamed [PS]DO to [PS]do. 2008-02-22 12:29:30 +00:00
Florian Pose 7db358b508 External domain memory. 2008-02-21 15:49:02 +00:00
Florian Pose ea7aa51ed1 Pdo configuration. 2008-02-19 14:06:50 +00:00
Florian Pose 3a50cd0ff1 Allow bus configuration when link is down. 2008-02-19 09:58:48 +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 b8b3d9bdf7 Added missing svn properties. 2007-11-22 09:01:41 +00:00
Florian Pose 7be3b11fce Removed config.kbuild and replaced Kbuild files by Kbuild.in files. 2007-09-19 08:22:20 +00:00
Florian Pose a2a615ac3f Fixed defines bug in configure; renamed config.kbuild variables. 2007-08-08 10:31:54 +00:00
Florian Pose a5f7899df7 Merged changes of examples/mini/mini.c -r858:859 to
examples/rtai/rtai_sample.c.
2007-03-12 18:15:06 +00:00
Florian Pose 7c0ba422a4 Minor changes in minimal example. 2007-03-12 18:12:30 +00:00
Florian Pose b0c1fbaeb0 Removed X:Y addressing scheme, ec_slave_is_coupler(),
ec_master_calc_addressing(), coupler_index and coupler_subindex variables.
Adapted lsec script and examples.
2007-03-09 13:24:15 +00:00
Florian Pose a44bb45ea0 Adjusted minimal example to interface changes. 2007-03-09 10:32:25 +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 387b398591 Minor: Adjusted minimal example to new testing hardware. 2007-02-12 11:16:54 +00:00
Florian Pose f8ff14458d Adjusted examples to EtherLab starter kit hardware. 2007-01-08 15:02:05 +00:00
Florian Pose 589b1cc8db Minor changes in minimal example. 2007-01-08 08:36:57 +00:00
Florian Pose 09a843f8a0 Shorter critical sections in examples. 2007-01-08 08:32:10 +00:00
Florian Pose f9d1ca97e0 Adjusted examples to 1.2.0 interface changes. 2007-01-02 13:25:26 +00:00
Florian Pose 026dc769d3 Improved autotools, added config.kbuild, --with-msr-dir, --with-rtai-dir, --with-8139too-kernel. 2006-11-06 16:27:40 +00:00
Florian Pose f9f2b40b65 Improved installation, added quick modules_install target. 2006-11-03 14:18:05 +00:00
Florian Pose 7e45d613cb Mini example with KBUS again. 2006-11-02 14:20:24 +00:00
Florian Pose 5fffe7009b Fixed dist files for MSR example. 2006-10-27 15:07:01 +00:00
Florian Pose 6cd0a25ce4 minimal example with SDO configs. 2006-10-27 15:01:10 +00:00
Florian Pose 2bab16bb78 Minor changes to minimal example. 2006-10-27 12:45:44 +00:00
Florian Pose fb9c619686 State acknowledgement in master state machine. 2006-10-27 11:15:07 +00:00