Commit Graph

2818 Commits

Author SHA1 Message Date
Xianzi Lu 9ee9497dd4 Fix "No such file or directory" error when using multiple masters and RTDM
This error occurs when we are using multiple masters along with RTDM.
Device minor is not set and device numbers are always one when registering
an RTDM device.
Seems there is no need to change the legacy Xenomai 2.6 RTDM driver, because
the device will be identified by a name instead of a device minor.
2024-07-23 13:34:39 +08:00
Florian Pose b30b7b6561 Merge branch 'fix_disable_eoe' into 'stable-1.6'
Fix building without EoE

Closes #123

See merge request etherlab.org/ethercat!137
2024-07-22 07:47:01 +00:00
Bjarne von Horn eaeddb0c49 Add CI job without EoE. 2024-07-18 14:15:30 +02:00
Bjarne von Horn 4f71ac5099 Fix building without EoE
Fixes #123
2024-07-18 14:14:32 +02:00
Florian Pose bc945f69ab Merge branch 'devel-1.6' into 'stable-1.6'
mention all current drivers in ethercat.conf

See merge request etherlab.org/ethercat!135
2024-06-07 13:16:14 +00:00
Bjarne von Horn 7e8c6cf12a mention all current drivers in ethercat.conf 2024-06-07 15:03:47 +02:00
Florian Pose cafd367785 Merge branch 'docs-on-tag' into 'stable-1.6'
Trigger docs pipeline on new tag.

See merge request etherlab.org/ethercat!134
2024-06-07 12:53:01 +00:00
Florian Pose 2b9b61fd1e Trigger docs pipeline on new tag. 2024-06-07 14:45:40 +02:00
Florian Pose 8330bca82c Merge branch 'devel-1.6' into 'stable-1.6'
Preparations for version 1.6

See merge request etherlab.org/ethercat!114
2024-06-07 11:50:33 +00:00
Bjarne von Horn 057defec1c update doxygen layout. 2024-06-07 13:19:20 +02:00
Bjarne von Horn a62bfcef9a Fix out-of-tree build of various drivers 2024-06-07 11:45:29 +02:00
Bjarne von Horn b02f0492e0 remove unneeded suse conditional. 2024-06-07 11:41:06 +02:00
Bjarne von Horn 807c8ba709 Add missing backslash in Makefile.am 2024-06-07 11:29:58 +02:00
Bjarne von Horn bac16d07a9 Fix systemd service file
network.service is suse-specific,
on Debian its name is networking.service.

According to https://systemd.io/NETWORK_ONLINE/,
there are three targets available in systemd for networking purposes.
2024-06-07 10:55:26 +02:00
Florian Pose c3db4383b6 Determine master version via git tag. 2024-06-07 10:42:23 +02:00
Florian Pose f538987d66 Chapter with userspace application example. 2024-06-07 10:31:01 +02:00
Florian Pose c2996a8bd9 Included application interface header in PDF doc. 2024-06-07 10:15:27 +02:00
Bjarne von Horn 93b60bb812 Fix rt_mutex_lock_interruptible() again for RT >= 3.2 2024-06-06 17:10:13 +02:00
Bjarne von Horn d71e362a5e update doxygen logo and add favicon 2024-06-06 16:38:33 +02:00
Bjarne von Horn 6f928c6fe8 Fix rt_mutex_lock_interruptible for Kernel < 3.17.0 2024-06-06 16:27:04 +02:00
Bjarne von Horn 0cb7cfd973 Fix very old kernels with CONFIG_SUSE_KERNEL 2024-06-06 16:27:04 +02:00
Florian Pose f814e7d328 Merge branch 'rework_doc_again' into 'devel-1.6'
Annotate API restrictions with tags.

See merge request etherlab.org/ethercat!130
2024-06-06 13:29:23 +00:00
Florian Pose 5177b6fb14 Fixed ref. 2024-06-06 15:23:29 +02:00
Florian Pose c4e2670164 Fixed tables. 2024-06-06 15:21:59 +02:00
Florian Pose 4a39a106e1 Reviewed API usage. 2024-06-06 15:07:25 +02:00
Florian Pose 220bb4661a Enable -Wmaybe-uninitialised; Fixed uninitialized kfree(). 2024-06-06 14:24:56 +02:00
Florian Pose d22a450aae Merge branch 'dev-base-lock' into 'devel-1.6'
Linux >= 6.9.0 support

See merge request etherlab.org/ethercat!129
2024-06-06 12:10:51 +00:00
Bjarne von Horn 2c3a92ff23 Annotate API restrictions with tags.
Refers to an overview page with tables and explainations.
2024-06-06 13:56:09 +02:00
Bjarne von Horn 495dbc1aa6 Fix return value for ecrt_master_send_ext(). 2024-06-06 13:55:40 +02:00
Bjarne von Horn 3a064cac2a avoid sleeping in ecrt_master_send_ext()
mini.c example now plays well with EoE.
2024-06-05 16:24:12 +02:00
Nicola Fontana 95c25b5071 Remove dev_base_lock for linux >= 6.9.0
Kernel commit 1b3ef46cb7f2618cc0b507393220a69810f6da12 removed
`dev_base_lock` from v6.9 onward.

Use the alternate iterator `for_each_netdev_rcu` introduced by commit
c6d14c84566d6b70ad9dc1618db0dec87cca9300 in 2.6.33+.
2024-06-03 12:45:48 +02:00
Bjarne von Horn f4e9367dde Add igc for 5.15.40 2024-06-03 11:05:20 +02:00
Florian Pose eb6e7bf41b Merge branch 'al-timeout-api' into 'devel-1.6'
Add interface to set AL state change timeouts

See merge request etherlab.org/ethercat!127
2024-05-22 11:07:10 +00:00
Florian Pose 7b40d5fc40 Added missing prototypes. 2024-05-22 12:36:16 +02:00
Florian Pose 95a25495af Added ecrt_slave_config_state_timeout() in user-space library. 2024-05-22 12:06:48 +02:00
Florian Pose b182bef611 AL state timeout lookup logic. 2024-05-22 11:54:36 +02:00
Florian Pose 36d036b081 Added missing prototypes. 2024-05-22 11:05:18 +02:00
Florian Pose 737c3cf3d7 Removed unused methods. 2024-05-22 11:03:10 +02:00
Florian Pose 6503e0a32a Added missing prototypes. 2024-05-22 11:01:37 +02:00
Florian Pose 4fe6b87f89 Added missing prototypes. 2024-05-22 11:00:25 +02:00
Florian Pose 299a039c49 Defined interface. 2024-05-22 10:10:05 +02:00
Florian Pose 609f61af54 Group docs / ecrt_master_scan_progress() is RT. 2024-05-21 17:53:53 +02:00
Florian Pose 45a6acba02 Fixed typo. 2024-05-21 16:16:57 +02:00
Florian Pose d717cfc1e6 Merge branch '84-api-call-for-eoe-set-ip-command' into 'devel-1.6'
API call for EoE Set-IP command

See merge request etherlab.org/ethercat!111
2024-05-21 13:58:03 +00:00
Florian Pose dea5173310 Avoided warning. 2024-05-21 15:49:21 +02:00
Florian Pose ade722eb52 Limit hostname to 32 bit (including terminator) in kernel. 2024-05-21 15:42:49 +02:00
Florian Pose d999311ae8 EoE API docs. 2024-05-21 15:40:04 +02:00
Bjarne von Horn 997c81b6fa use separate queue for external datagrams to avoid corrupting master::queue 2024-05-16 09:48:23 +02:00
Bjarne von Horn 783bc19600 Fix SDO Upload in ethercat tool 2024-05-16 09:44:21 +02:00
Florian Pose 018863d9c7 Avoid for loop initial declaration. 2024-05-15 16:32:52 +02:00