Commit Graph

1310 Commits

Author SHA1 Message Date
Florian Pose
419f62161b Merge branch 'add_fake_library' into 'stable-1.6'
Add fake library

See merge request etherlab.org/ethercat!136
2024-07-26 11:18:49 +00:00
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
Bjarne von Horn
1d858d8b3e Fix doxygen wording. 2024-07-22 11:43:51 +02:00
Bjarne von Horn
4f71ac5099 Fix building without EoE
Fixes #123
2024-07-18 14:14:32 +02:00
Bjarne von Horn
c2c3d56a2c Add README to fakelib 2024-07-18 12:02:53 +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
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
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
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
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
Bjarne von Horn
997c81b6fa use separate queue for external datagrams to avoid corrupting master::queue 2024-05-16 09:48:23 +02:00
Florian Pose
018863d9c7 Avoid for loop initial declaration. 2024-05-15 16:32:52 +02:00
Florian Pose
dd1187d942 Fixed byte order. 2024-05-15 14:42:45 +02:00
Florian Pose
f6f4cf74be Fixed format string placeholder. 2024-05-15 14:39:12 +02:00
Florian Pose
a1552bdf61 Use signed char as hostname type. 2024-05-15 13:41:26 +02:00
Florian Pose
ac57cfce24 Fixed uninitialized variable. 2024-05-15 13:40:05 +02:00
Florian Pose
c2f9baf96a Ported API and internal structures to struct in_addr. 2024-05-15 13:04:34 +02:00
Florian Pose
66c5793e7b Comment. 2024-05-15 11:23:32 +02:00
Florian Pose
972337444b Retry receiving an EoE set IP parameter response. 2024-05-14 18:37:17 +02:00
Florian Pose
bfa618ebbb Set EoE IP params during slave configuation. 2024-05-14 17:52:50 +02:00
Florian Pose
0fb163ea5b Introduced ec_eoe_request_valid(). 2024-05-14 17:36:49 +02:00
Florian
40212a30a6 Merge remote-tracking branch 'origin/devel-1.6' into 84-api-call-for-eoe-set-ip-command 2024-05-14 15:38:39 +02:00
Florian Pose
6e8119b955 Merge branch 'int_return_type' into 'devel-1.6'
use int as return type for all application interface methods

See merge request etherlab.org/ethercat!119
2024-04-03 08:40:51 +00:00
Bjarne von Horn
fe160f5c86 Use -ENOBUFS to indicate insufficient preallocated buffer 2024-04-03 10:34:17 +02:00
Bjarne von Horn
614a309bcc use int as return type for ecrt_reg_request_*
See #101
2024-04-03 10:34:17 +02:00
Bjarne von Horn
e78237ed31 use int as return type for ecrt_voe_handler_*
See #101
2024-04-03 10:34:17 +02:00
Bjarne von Horn
8c30331e6e use int as return type for ecrt_soe_request_*
See #101
2024-04-03 10:34:17 +02:00
Bjarne von Horn
885b8717e1 use int as return type for ecrt_sdo_request_*
See #101
2024-04-03 10:34:17 +02:00
Bjarne von Horn
5248b967d2 use int as return type for ecrt_slave_*
See #101
2024-04-03 10:34:17 +02:00
Bjarne von Horn
13e99008c3 use int as return type for ecrt_master_*
See #101
2024-04-03 10:34:17 +02:00
Bjarne von Horn
06b408ef1b use int as return type for ecrt_domain_*
See #101
2024-04-03 10:34:17 +02:00
Bjarne von Horn
5d39d3b0cf Add dwmac_intel and stmmac_pci v6.1.81 2024-04-03 10:33:12 +02:00
Bjarne von Horn
3870a66c8f Fix rtdm rtai redefinition error 2024-02-16 14:06:23 +01:00
Bjarne von Horn
e8213ea7e8 allow non-standard RTAI include dir 2024-02-16 14:05:58 +01:00
Florian Pose
251bb4a147 Changed AL state change timeout. Maybe a fix for #32. 2024-02-08 12:43:17 +01:00