Florian Pose
805e407f6f
Merge branch 'version-1.6.3' into 'stable-1.6'
...
Version bump to 1.6.3.
See merge request etherlab.org/ethercat!154
2025-02-06 08:37:29 +00:00
Florian Pose
11504f3a0f
Version bump to 1.6.3.
2025-02-06 09:36:40 +01:00
Florian Pose
e2129f7794
Merge branch 'genet-6.12' into 'stable-1.6'
...
[FEAT] add genet device driver for kernel 6.12
See merge request etherlab.org/ethercat!152
2025-02-06 08:28:00 +00:00
Florian Pose
5b3663e15b
Merge branch 'fake_without_domain' into 'stable-1.6'
...
Remove domain information from RtIPC path.
See merge request etherlab.org/ethercat!149
2025-02-06 08:27:18 +00:00
Florian Pose
d15936b8b5
Merge branch 'fix_ccat_aarch64' into 'stable-1.6'
...
Fix ccat for aarch64 >= 6.11.0
See merge request etherlab.org/ethercat!151
2025-02-06 08:26:12 +00:00
Florian Pose
dab517b9ca
Merge branch 'tty-module-fixes' into 'stable-1.6'
...
Fix build issues with tty/module.c
See merge request etherlab.org/ethercat!150
2025-02-06 08:25:41 +00:00
Florian Pose
fa7c40b63e
Merge branch 'fix_warnings' into 'stable-1.6'
...
Fix some warnings
See merge request etherlab.org/ethercat!153
2025-02-06 08:24:22 +00:00
Bjarne von Horn
d06a18f934
Fix -Wold-style-declaration.
2025-02-05 12:58:56 +01:00
Bjarne von Horn
60dd4f94ec
Fix -Wmissing-prototypes
2025-02-05 12:58:56 +01:00
Arnd Begemann
c2cbfa5b93
[FEAT] add genet device driver for kernel 6.12
2025-01-10 14:43:36 +01:00
Bjarne von Horn
de9efb7770
Fix ccat for aarch64 >= 6.11.0
...
return type of platform_driver::remove was changed to void
2025-01-06 14:47:09 +01:00
Thomas Petazzoni
2824232792
tty/module.c: fix ec_tty_send_xchar() prototype for Linux >= 6.8
...
In upstream Linux kernel commit:
3a00da027946cd08db1c1be2de4620950bbdf074 ("tty: make tty_operations::send_xchar accept u8 char")
The prototype of tty_operations->send_xchar() was changed from:
void (*send_xchar)(struct tty_struct *tty, char ch);
to:
void (*send_xchar)(struct tty_struct *tty, u8 ch);
This commit was merged in Linux 6.8, and therefore the
ec_tty_send_xchar() implementation needs to be changed to avoid the
following build failure:
/home/autobuild/autobuild/instance-7/output-1/build/igh-ethercat-1.6.2/./tty/module.c:751:19: error: initialization of "void (*)(struct tty_struct *, u8)" {aka "void (*)(struct tty_struct *, unsigned char)"} from incompatible pointer type "void (*)(struct tty_struct *, char)" [-Werror=incompatible-pointer-types]
751 | .send_xchar = ec_tty_send_xchar,
| ^~~~~~~~~~~~~~~~~
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-12-31 10:42:49 +01:00
Thomas Petazzoni
27175946c4
tty/module.c: fix ec_tty_write() prototype for Linux >= 6.6
...
In upstream Linux kernel commits:
95713967ba52389f7cea75704d0cf048080ec218 ("tty: make tty_operations::write()'s count size_t")
69851e4ab8feeb369119a44ddca430c0ee15f0d8 ("tty: propagate u8 data to tty_operations::write()")
The prototype of tty_operations->write() was changed from:
int (*write)(struct tty_struct * tty,
const unsigned char *buf, int count);
to:
ssize_t (*write)(struct tty_struct *tty, const u8 *buf, size_t count);
Both of those commits were merged in Linux 6.6, and this needs an
update in tty/module.c to avoid the following build failure:
/home/autobuild/autobuild/instance-7/output-1/build/igh-ethercat-1.6.2/./tty/module.c:740:14: error: initialization of "ssize_t (*)(struct tty_struct *, const u8 *, size_t)" {aka "long int (*)(struct tty_struct *, const unsigned char *, long unsigned int)"} from incompatible pointer type "int (*)(struct tty_struct *, const unsigned char *, int)" [-Werror=incompatible-pointer-types]
740 | .write = ec_tty_write,
| ^~~~~~~~~~~~
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-12-31 10:42:49 +01:00
Thomas Petazzoni
aed3ba0acb
tty/module.c: mark internal functions as static
...
Fixes:
/home/autobuild/autobuild/instance-7/output-1/build/igh-ethercat-1.6.2/./tty/module.c:128:12: warning: no previous prototype for ‘ec_tty_init_module’ [-Wmissing-prototypes]
128 | int __init ec_tty_init_module(void)
| ^~~~~~~~~~~~~~~~~~
/home/autobuild/autobuild/instance-7/output-1/build/igh-ethercat-1.6.2/./tty/module.c:189:13: warning: no previous prototype for ‘ec_tty_cleanup_module’ [-Wmissing-prototypes]
189 | void __exit ec_tty_cleanup_module(void)
| ^~~~~~~~~~~~~~~~~~~~~
/home/autobuild/autobuild/instance-7/output-1/build/igh-ethercat-1.6.2/./tty/module.c:216:5: warning: no previous prototype for ‘ec_tty_init’ [-Wmissing-prototypes]
216 | int ec_tty_init(ec_tty_t *t, int minor,
| ^~~~~~~~~~~
/home/autobuild/autobuild/instance-7/output-1/build/igh-ethercat-1.6.2/./tty/module.c:293:6: warning: no previous prototype for ‘ec_tty_clear’ [-Wmissing-prototypes]
293 | void ec_tty_clear(ec_tty_t *tty)
| ^~~~~~~~~~~~
/home/autobuild/autobuild/instance-7/output-1/build/igh-ethercat-1.6.2/./tty/module.c:301:14: warning: no previous prototype for ‘ec_tty_tx_size’ [-Wmissing-prototypes]
301 | unsigned int ec_tty_tx_size(ec_tty_t *tty)
| ^~~~~~~~~~~~~~
/home/autobuild/autobuild/instance-7/output-1/build/igh-ethercat-1.6.2/./tty/module.c:316:14: warning: no previous prototype for ‘ec_tty_tx_space’ [-Wmissing-prototypes]
316 | unsigned int ec_tty_tx_space(ec_tty_t *tty)
| ^~~~~~~~~~~~~~~
/home/autobuild/autobuild/instance-7/output-1/build/igh-ethercat-1.6.2/./tty/module.c:323:14: warning: no previous prototype for ‘ec_tty_rx_size’ [-Wmissing-prototypes]
323 | unsigned int ec_tty_rx_size(ec_tty_t *tty)
| ^~~~~~~~~~~~~~
/home/autobuild/autobuild/instance-7/output-1/build/igh-ethercat-1.6.2/./tty/module.c:338:14: warning: no previous prototype for ‘ec_tty_rx_space’ [-Wmissing-prototypes]
338 | unsigned int ec_tty_rx_space(ec_tty_t *tty)
| ^~~~~~~~~~~~~~~
/home/autobuild/autobuild/instance-7/output-1/build/igh-ethercat-1.6.2/./tty/module.c:345:5: warning: no previous prototype for ‘ec_tty_get_serial_info’ [-Wmissing-prototypes]
345 | int ec_tty_get_serial_info(ec_tty_t *tty, struct serial_struct *data)
| ^~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-12-31 10:42:49 +01:00
Florian Pose
c117849d02
Removed FAKE_EC_DOMAIN_PERMUTATION.
2024-12-16 15:49:33 +01:00
Florian Pose
5ae7662893
Removed domain permutation from documentation; fixed some typos.
2024-12-16 15:45:55 +01:00
Florian Pose
2e9101da99
Remove domain information from RtIPC path.
2024-11-29 14:06:02 +01:00
Florian Pose
ca66cd6ae9
Merge branch 'remove-inline-statement' into 'stable-1.6'
...
Remove unnecessary inline statement causing build -O0 problems
Closes #147
See merge request etherlab.org/ethercat!148
2024-11-18 12:27:14 +00:00
Richard Hacker
5802c72818
Remove unnecessary inline statement causing build -O0 problems
...
Fixes #147
2024-11-18 10:54:00 +01:00
Florian Pose
285cdf0bc3
Merge branch 'version-1.6.2' into 'stable-1.6'
...
Changed version to 1.6.2.
See merge request etherlab.org/ethercat!146
2024-10-31 08:38:07 +00:00
Florian Pose
29fc602642
Changed version to 1.6.2.
2024-10-31 09:29:55 +01:00
Florian Pose
318a92ce81
Merge branch 'remove_doxygen_timestamp' into 'stable-1.6'
...
Remove datetime from footer for reproducible builds.
See merge request etherlab.org/ethercat!145
2024-10-21 09:35:20 +00:00
Bjarne von Horn
50a9b0a23d
Remove datetime from footer for reproducible builds.
2024-10-14 09:30:26 +02:00
Florian Pose
3ad731466b
Merge branch 'fake-typo' into 'stable-1.6'
...
Fixed typo.
See merge request etherlab.org/ethercat!144
2024-10-11 15:24:18 +00:00
Florian Pose
c85676cadf
Fixed typo.
2024-10-11 17:15:42 +02:00
Florian Pose
b0816ee67d
Merge branch 'fix-fake-bit-offset' into 'stable-1.6'
...
Fixed check of non-zero bit offset.
Closes #139
See merge request etherlab.org/ethercat!143
2024-10-11 14:29:14 +00:00
Florian Pose
2dd0ff8d44
Fixed check of non-zero bit offset.
2024-10-11 16:21:44 +02:00
Florian Pose
4a757cedc2
Merge branch 'cherry-pick-45f2d1a9' into 'stable-1.6'
...
Merge branch 'Fix-19'
Closes #19
See merge request etherlab.org/ethercat!142
2024-10-02 12:27:17 +00:00
Florian Pose
bc295a57aa
Merge branch 'Fix-19' into 'master'
...
Fix #19 : directly include soe_error_codes into SoeCommand.cpp
Closes #19
See merge request etherlab.org/ethercat!39
(cherry picked from commit 45f2d1a988 )
e30a39f3 Fix #19 : directly include soe_error_codes into SoeCommand.cpp
Co-authored-by: Florian Pose <fp@igh.de>
2024-10-02 09:33:42 +00:00
Florian Pose
b457365165
Merge branch 'fix_typo' into 'stable-1.6'
...
Fix typo in bash completition.
Closes #137
See merge request etherlab.org/ethercat!141
2024-09-17 14:44:50 +00:00
Bjarne von Horn
be4ff5b22f
Fix typo in bash completition.
...
Fixes #137 .
2024-09-17 09:19:20 +02:00
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
Florian Pose
905b768c58
Fixed typo and updated URLs.
2024-07-26 12:49:24 +02:00
Florian Pose
a0f7a0c8c9
Mention libfakeethercat in PDF documentation.
2024-07-26 12:35:54 +02:00
Florian Pose
04064099e9
Updated doxyfile to 1.11.0.
2024-07-26 11:57:02 +02:00
Bjarne von Horn
0f9ad4c834
Add more methods to fake_lib for EtherLab master block
2024-07-26 10:54:24 +02:00
Bjarne von Horn
185674e2b4
Add ecrt_master_scan_progress to fake lib.
2024-07-26 10:45:54 +02:00
Bjarne von Horn
3e3b938c2f
Version bump to 1.6.1
2024-07-26 09:49:18 +02:00
Bjarne von Horn
f1349ead07
Add reference to EtherLab for swap_io.
2024-07-23 13:33:28 +02:00
Florian Pose
2632042e4e
Merge branch 'stable-1.6-fix-rtdm-device-minor' into 'stable-1.6'
...
Fix "No such file or directory" error when using multiple masters and RTDM
See merge request etherlab.org/ethercat!139
2024-07-23 07:19:24 +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
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
45e8b098d7
add multi-master support to fakelib.
2024-07-19 11:51:17 +02: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
Bjarne von Horn
b5c7527990
fix pdf job dependencies.
2024-07-18 13:34:28 +02:00
Bjarne von Horn
86656eb61a
switch to 15.4
2024-07-18 12:36:02 +02:00
Bjarne von Horn
fe08cb0741
build fakelib in CI.
2024-07-18 12:07:17 +02:00
Bjarne von Horn
c2c3d56a2c
Add README to fakelib
2024-07-18 12:02:53 +02:00