]> git.feebdaed.xyz Git - 0xmirror/SOEM.git/commit
Fix single device inputs/outputs overruning segment size (#907)
authorddi-kkugler <117678618+ddi-kkugler@users.noreply.github.com>
Mon, 5 May 2025 14:44:49 +0000 (07:44 -0700)
committerGitHub <noreply@github.com>
Mon, 5 May 2025 14:44:49 +0000 (16:44 +0200)
commit66a0bf1c557cf1740081182028f842e9b5026228
treef1844ba27cf51416a61db5d7887825c43037bba9
parent83d2f2275813cf65fec8b79341e276b884e604f8
Fix single device inputs/outputs overruning segment size (#907)

* Fix single device inputs/outputs overruning segment size
* Refactor to pack segments tightly.
* Allow segments 2-64 to be EC_MAXLRWDATA bytes.
* Move wkc calcs into relevant config map functions.
* Only split slave data between segments when it is larger than one segment
* Only update wkc when we include data for the current device
soem/ethercatconfig.c