Commit Graph

1298 Commits

Author SHA1 Message Date
Florian Pose
4a39a106e1 Reviewed API usage. 2024-06-06 15:07:25 +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
Florian Pose
5f8d97edcf Assigned ioctl calls to RT, nRT or both; documented that in header. 2024-02-08 12:05:29 +01:00
Florian Pose
677b8442e3 Minor: Use slave pointer. 2024-02-08 12:04:47 +01:00
Florian Pose
caea048cc9 Merge branch 'prefetch-domain-pointer' into 'devel-1.6'
Prefetch domain pointer / made domain argument const

See merge request etherlab.org/ethercat!118
2024-02-08 08:54:17 +00:00
Bjarne von Horn
d0f4aed39b Make ecrt_master_reset available in RT context
It takes the master_sem, so calling it from RT context is not an option.
The reset is done by a workqueue now, which is triggered in a NMI-safe way.

Fixes #103
2024-02-08 08:59:29 +01:00
Florian Pose
2f4c06afc1 Moved application time ioctl for RT-only; changed some permissions. 2024-02-07 17:08:52 +01:00
Florian Pose
67b3756976 Removed header addition. 2024-02-07 16:18:05 +01:00
Florian Pose
0c9813862f Minor: Broke long lines. 2024-02-07 16:11:02 +01:00
Florian Pose
a5df1c38d1 Moved fetching domain offset to ecrt_master_activate(). 2024-02-07 15:27:47 +01:00
Florian Pose
4bab54a336 Removed some unused variables. 2024-02-07 15:26:37 +01:00
Bjarne von Horn
a5fc2b0f26 remove unused variables. 2024-02-07 15:03:39 +01:00
Bjarne von Horn
26ffb1d265 Merge branch 'genet_5.10' into devel-1.6 2024-02-07 14:48:05 +01:00
Florian Pose
c8ed5fa38d Unified EoE IP parameter names. 2024-02-07 12:44:55 +01:00