Commit Graph

2426 Commits

Author SHA1 Message Date
Florian Pose 74ec61add4 Execute master FSM in fast mode also if slave FSM are busy. 2022-06-08 16:11:43 +02:00
Florian Pose 26e5b9f553 Minor: Fixed indent. 2022-05-17 14:10:51 +02:00
Bjarne von Horn d301cbb992 Fix setting mac_address
eoe->dev->dev_addr is read_only in 5.17.0
using eth_hw_addr_set instead
2022-05-17 12:17:28 +02:00
Florian Pose 54814b770e Fixed distribution of bash completions file. 2022-05-16 10:38:42 +02:00
Florian Pose 980da865cd Merge branch 'stable-1.5' of gitlab.com:etherlab.org/ethercat into stable-1.5 2022-05-16 10:15:19 +02:00
Florian Pose 65b192c09a Install bash completions. 2022-05-16 10:14:37 +02:00
Bjarne von Horn c0c123dc61 add bash completion for ethercat tool 2022-05-16 10:12:05 +02:00
Florian Pose 15f19fbb7b Update .gitlab-ci.yml 2022-04-02 07:58:51 +00:00
Florian Pose 4376e42f2b Update .gitlab-ci.yml 2022-04-02 07:51:47 +00:00
Florian Pose 932577aff8 Use 15.3 images. 2022-04-01 15:14:35 +00:00
Florian Pose 2bdecddf9c Using own texlive image. 2022-04-01 15:08:09 +00:00
Florian Pose a6c3005d31 Use texlive image. 2022-04-01 15:16:21 +02:00
Florian Pose 71ef9da4a1 Commands in build stage. 2022-04-01 15:06:16 +02:00
Florian Pose fb937aa5f2 Test artifacts. 2022-04-01 14:48:23 +02:00
Florian Pose b746ce65b1 Build commands separately. 2022-04-01 14:18:20 +02:00
Florian Pose 86eb89464d ext target for documentation. 2022-04-01 14:10:30 +02:00
Florian Pose 508b465069 Build documentation. 2022-04-01 13:51:00 +02:00
Florian Pose 340584e114 Added missing commands. 2022-04-01 13:49:02 +02:00
Florian Pose 49135bfaff Centrally defined mailbox types. 2022-03-04 10:00:47 +01:00
Florian Pose 9b0a63ab8f Merge branch 'fix_cmake' into 'stable-1.5'
Fix cmake config module

See merge request etherlab.org/ethercat!44
2022-03-02 12:55:08 +00:00
Bjarne von Horn 7e4aba9a6d build user example with cmake and test it 2022-02-22 23:28:42 +01:00
Bjarne von Horn 9d484de82a Fix cmake config module 2022-01-01 23:41:23 +01:00
Florian Pose d599f79832 Merge branch 'fix_aarch64_build' into 'stable-1.5'
Fix DMA detection macro

See merge request etherlab.org/ethercat!43
2021-12-13 09:55:04 +00:00
Bjarne von Horn 2c9286de9b Fix DMA detection macro
Some arm64 builds have CONFIG_PCI, but free_dma() and request_dma()
symbols depend on CONFIG_GENERIC_ISA_DMA
2021-12-06 23:36:35 +01:00
Florian Pose 4dda8f4ae9 Merge branch 'stable-1.5' into 'stable-1.5'
publish doxygen with Gitlab pages

See merge request etherlab.org/ethercat!42
2021-11-30 09:46:41 +00:00
Bjarne von Horn 06e7b48aba publish doxygen with Gitlab pages 2021-11-29 22:29:41 +01:00
Florian Pose 4cdf467935 Merge branch 'feature/addCpuBindAsModuleParameter' into 'stable-1.5'
master: added 'run_on_cpu' module parameter to bind kthreads to a cpu

See merge request etherlab.org/ethercat!35
2021-10-28 15:58:24 +00:00
Matthias Schoepfer e6d842cc8f master: added 'run_on_cpu' module parameter to bind kthreads to a cpu
When you use isolcpus to isolate a cpu for the realtime task, as well
as assiging all relevant interrupts to this cpu, it makes sense to
also bind the EtherCAT-OP / EtherCAT-IDLE task to this cpu to reduce
the cache misses and avoid data migration between cores. Therefore
a parameter 'run_on_cpu' is added, that takes the cpu number (same as
in isolcpus, not a smp_affinity mask). If unset, will bind to any cpu
and will be migratable.

The reason to put this into the kernel module is, that the thread is
created during runtime, i.e. when the userspace program is starting
the ethercat master. It would be rather hacky, to find the pid of the
EtherCAT-xx thread and migrate it at this point.

Signed-off-by: Matthias Schoepfer <m.schoepfer@rethinkrobotics.com>
2021-09-27 14:56:01 +02:00
Florian Pose 34dcf04d4c Merge branch 'cherry-pick-5bd40149' into 'stable-1.5'
Avoid double quotes in arithmetic expansion.

See merge request etherlab.org/ethercat!34
2021-09-02 15:16:23 +00:00
Florian Pose 4ac30c966e Avoid double quotes in arithmetic expansion.
(cherry picked from commit 5bd401490f)
2021-09-02 15:12:46 +00:00
Florian Pose 40e4b508a4 Run pipeline also in stable-1.5. 2021-09-01 09:15:59 +00:00
Florian Pose 62d098ca1c Added missing scope for ostream. 2021-09-01 11:01:21 +02:00
Florian Pose eba73fc292 Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-09-01 11:00:49 +02:00
Florian Pose 09d1096623 Avoided warning about unreasonable use of strncpy(). 2021-08-25 12:00:01 +02:00
Florian Pose db44c5be0f Merge branch 'stable-1.5' of gitlab.com:etherlab.org/ethercat into stable-1.5 2021-08-25 09:47:40 +02:00
Florian Pose 4e11a50670 Define set_normal_priority() inside #ifdef EC_EOE. Fixes #12. 2021-08-25 09:47:26 +02:00
Florian Pose dde91be4be Merge branch 'fix-make-clean' into 'stable-1.5'
Fix make clean

See merge request etherlab.org/ethercat!29
2021-08-24 16:04:31 +00:00
Florian Pose cfec20492d Merge branch 'DasRoteSkelett/ethercat-feature/addDeviceNameToEthercatConf' into stable-1.5 2021-08-24 13:29:02 +02:00
Florian Pose b47f9249d7 Documentation for interface names. 2021-08-24 13:27:28 +02:00
Florian Pose d06444d53e Broke long lines. 2021-08-24 13:20:54 +02:00
Florian Pose 72ae0c090c Removed tabs. 2021-08-24 12:36:29 +02:00
Florian Pose a750e08884 Merge branch 'feature-flags' into 'stable-1.5'
Feature Flags / AssignToPdi

See merge request etherlab.org/ethercat!30
2021-08-24 10:15:10 +00:00
Florian Pose 9ec0eb6295 Merge remote-tracking branch 'gitlab/stable-1.5' into stable-1.5 2021-08-10 14:49:56 +02:00
Florian Pose e3d9056cbc Added export for ecrt_slave_config_reg_pdo_entry_pos(). Fixes #11. 2021-08-10 14:48:07 +02:00
Matthias Schoepfer 162e5ef9eb ethercatctl: allow to use the network device name instead of mac address
In the /etc/ethercat.conf file, the MASTERX_DEVICE string is given as a
mac address or a wildcard. When we want to deploy the (same) software (image)
to a bunch of different hardware, and these computers do have more than one
interface that matches the driver, we need a way to define the device by
network interface name. This allows to also define the network device by name
(e.g. eth0, eno1, ...)

Signed-off-by: Matthias Schoepfer <m.schoepfer@rethinkrobotics.com>
2021-07-27 10:44:26 +02:00
Florian Pose 441b7e470e First feature flag: AssignToPdi. 2021-07-23 16:16:18 +02:00
Florian Pose 443a7ad3e3 Find flag method with const char * parameter; added method to header. 2021-07-23 16:15:05 +02:00
Florian Pose a178c9e452 Added feature flags to API. 2021-07-23 15:53:11 +02:00
Florian Pose cd0d17d6a5 Also changed license of gloabl headers to LGPL.
Moved definition of EC_SDO_INJECTION_TIMEOUT to master.c.
2021-07-23 13:33:54 +02:00
Nicola Fontana 89f81d638c Fix make clean
Commit 82399a9239 assumes you can override `make clean` on the fact
that prerequisites of the same target are merged. This is true but
unfortunately defining a `clean` target prevents automake from
generating its own one, hence the default clean actions are not
performed. This can be easily seen by inspecting the generated
`Makefile`.

Solve this issue by manually chaining up the default action.
2021-07-22 17:38:38 +02:00