ethercat-master 0.2.0__tar.gz → 0.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/.github/workflows/release.yml +16 -6
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/PKG-INFO +1 -1
- ethercat_master-0.2.1/ci/aarch64-toolchain.cmake +13 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/ethercat_master/_soem.py +12 -2
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/pyproject.toml +1 -1
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/.gitignore +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/AGENTS.md +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/CMakeLists.txt +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/LICENSE +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/README.md +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/benchmarks/__init__.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/benchmarks/common.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/benchmarks/pdo_loop.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/benchmarks/thread_isolation_effect.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/benchmarks/timer_resolution_effect.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/benchmarks/timing_precision.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/ci/make_wheel.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/ci/mingw-toolchain.cmake +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/csrc/ecm.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/docs/images/01-bus-overview.png +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/docs/images/02-network-test.png +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/docs/images/03-bus-discovery-mixed.png +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/docs/web-interface.md +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/ethercat_master/__init__.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/ethercat_master/_backend.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/ethercat_master/bus.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/ethercat_master/ethercat_config.json +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/ethercat_master/exceptions.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/ethercat_master/network_test.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/ethercat_master/pdo.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/ethercat_master/slave.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/ethercat_master/webgui/index.html +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/ethercat_master/webgui/style.css +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/ethercat_master/webserver.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/examples/beckhoff.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/examples/discover.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/examples/mixed_bus.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/tests/__init__.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/tests/test_bus.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/tests/test_pdo.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/tests/test_slave.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/.clang-format +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/CMakeLists.txt +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/CMakePresets.json +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/LICENSE.md +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/README.md +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/cmake/AddENI.cmake +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/cmake/Linux.cmake +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/cmake/Windows.cmake +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/cmake/rt-kernel.cmake +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/cmake/tools/FindSphinx.cmake +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/cmake/Modules/Platform/rtems.cmake +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/cmake/rtems.cmake +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/osal/erika/README.md +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/osal/erika/osal.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/osal/erika/osal_defs.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/osal/intime/osal.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/osal/intime/osal_defs.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/osal/macosx/osal.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/osal/macosx/osal_defs.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/osal/rtems/osal.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/osal/rtems/osal_defs.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/osal/vxworks/osal.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/osal/vxworks/osal_defs.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/erika/nicdrv.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/erika/nicdrv.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/erika/oshw.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/erika/oshw.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/intime/nicdrv.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/intime/nicdrv.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/intime/oshw.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/intime/oshw.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/macosx/nicdrv.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/macosx/nicdrv.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/macosx/oshw.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/macosx/oshw.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/rtems/nicdrv.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/rtems/nicdrv.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/rtems/oshw.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/rtems/oshw.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/vxworks/nicdrv.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/vxworks/nicdrv.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/vxworks/oshw.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/vxworks/oshw.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/include/soem/ec_base.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/include/soem/ec_coe.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/include/soem/ec_config.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/include/soem/ec_dc.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/include/soem/ec_eoe.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/include/soem/ec_foe.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/include/soem/ec_main.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/include/soem/ec_options.h.in +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/include/soem/ec_print.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/include/soem/ec_soe.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/include/soem/ec_type.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/include/soem/soem.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/osal/linux/osal.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/osal/linux/osal_defs.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/osal/osal.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/osal/rtk/osal.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/osal/rtk/osal_defs.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/osal/win32/osal.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/osal/win32/osal_defs.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/linux/nicdrv.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/linux/nicdrv.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/linux/oshw.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/linux/oshw.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/rtk/nicdrv.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/rtk/nicdrv.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/rtk/oshw.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/rtk/oshw.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/nicdrv.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/nicdrv.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/oshw.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/oshw.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/Packet32.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/Win32-Extensions.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/bittypes.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/ip6_misc.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/pcap/bluetooth.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/pcap/bpf.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/pcap/namedb.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/pcap/pcap.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/pcap/sll.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/pcap/usb.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/pcap/vlan.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/pcap-bpf.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/pcap-namedb.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/pcap-stdinc.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/pcap.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/remote-ext.h +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Lib/Packet.lib +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Lib/libpacket.a +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Lib/libwpcap.a +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Lib/wpcap.lib +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Lib/x64/Packet.lib +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Lib/x64/wpcap.lib +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/scripts/eniconv.py +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/soem.spdx +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/src/ec_base.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/src/ec_coe.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/src/ec_config.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/src/ec_dc.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/src/ec_eoe.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/src/ec_foe.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/src/ec_main.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/src/ec_print.c +0 -0
- {ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/src/ec_soe.c +0 -0
|
@@ -22,7 +22,8 @@ env:
|
|
|
22
22
|
LLVM_MINGW_DIR: "llvm-mingw-20261117-ucrt-ubuntu-22.04-x86_64"
|
|
23
23
|
|
|
24
24
|
jobs:
|
|
25
|
-
# Compiles libecm.so (host gcc) and
|
|
25
|
+
# Compiles libecm.so for x86_64 (host gcc) and aarch64 (gcc-aarch64-linux-gnu
|
|
26
|
+
# cross-compile), plus libecm.dll (llvm-mingw cross-compile).
|
|
26
27
|
natives:
|
|
27
28
|
runs-on: ubuntu-latest
|
|
28
29
|
steps:
|
|
@@ -39,11 +40,18 @@ jobs:
|
|
|
39
40
|
curl -fsSL "https://github.com/mstorsjo/llvm-mingw/releases/download/${LLVM_MINGW_VERSION}/${LLVM_MINGW_DIR}.tar.xz" | sudo tar -xJ -C /opt
|
|
40
41
|
echo "/opt/${LLVM_MINGW_DIR}/bin" >> "$GITHUB_PATH"
|
|
41
42
|
|
|
42
|
-
- name: Build libecm.so (Linux)
|
|
43
|
+
- name: Build libecm.so (Linux x86_64)
|
|
43
44
|
run: |
|
|
44
45
|
cmake -B build-linux -G Ninja -DCMAKE_BUILD_TYPE=Release
|
|
45
46
|
cmake --build build-linux --target ecm
|
|
46
|
-
cp build-linux/libecm.so ethercat_master/
|
|
47
|
+
cp build-linux/libecm.so ethercat_master/libecm-linux-x86_64.so
|
|
48
|
+
|
|
49
|
+
- name: Build libecm.so (Linux aarch64 cross-compile)
|
|
50
|
+
run: |
|
|
51
|
+
sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu
|
|
52
|
+
cmake -B build-arm64 -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=ci/aarch64-toolchain.cmake
|
|
53
|
+
cmake --build build-arm64 --target ecm
|
|
54
|
+
cp build-arm64/libecm.so ethercat_master/libecm-linux-aarch64.so
|
|
47
55
|
|
|
48
56
|
- name: Build libecm.dll (Windows cross-compile)
|
|
49
57
|
run: |
|
|
@@ -55,7 +63,8 @@ jobs:
|
|
|
55
63
|
with:
|
|
56
64
|
name: natives
|
|
57
65
|
path: |
|
|
58
|
-
ethercat_master/libecm.so
|
|
66
|
+
ethercat_master/libecm-linux-x86_64.so
|
|
67
|
+
ethercat_master/libecm-linux-aarch64.so
|
|
59
68
|
ethercat_master/libecm.dll
|
|
60
69
|
retention-days: 7
|
|
61
70
|
|
|
@@ -90,8 +99,9 @@ jobs:
|
|
|
90
99
|
|
|
91
100
|
- run: ruff check ethercat_master tests benchmarks
|
|
92
101
|
|
|
93
|
-
# One universal wheel: it ships libecm.so + libecm.dll
|
|
94
|
-
# right one per platform. The sdist includes
|
|
102
|
+
# One universal wheel: it ships libecm-linux-{x86_64,aarch64}.so + libecm.dll
|
|
103
|
+
# and _soem picks the right one per platform.machine(). The sdist includes
|
|
104
|
+
# csrc/ + third_party/SOEM.
|
|
95
105
|
package:
|
|
96
106
|
runs-on: ubuntu-latest
|
|
97
107
|
needs: [natives, test]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ethercat-master
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Generic EtherCAT master library built directly on SOEM 2.x — bus management, PDO mapping, slave discovery
|
|
5
5
|
Keywords: ethercat,soem,fieldbus,motion-control,industrial,automation
|
|
6
6
|
Author-Email: Henschel Robotics GmbH <info@henschel-robotics.ch>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# CMake toolchain file: cross-compile for Linux/aarch64 (e.g. Raspberry Pi)
|
|
2
|
+
# with the distro gcc-aarch64-linux-gnu toolchain.
|
|
3
|
+
# Used by .github/workflows/release.yml; also works locally:
|
|
4
|
+
# sudo apt install gcc-aarch64-linux-gnu
|
|
5
|
+
# cmake -B build-arm64 -DCMAKE_TOOLCHAIN_FILE=ci/aarch64-toolchain.cmake
|
|
6
|
+
|
|
7
|
+
set(CMAKE_SYSTEM_NAME Linux)
|
|
8
|
+
set(CMAKE_SYSTEM_PROCESSOR aarch64)
|
|
9
|
+
set(CMAKE_C_COMPILER aarch64-linux-gnu-gcc)
|
|
10
|
+
set(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++)
|
|
11
|
+
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
|
12
|
+
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
|
13
|
+
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import ctypes
|
|
4
4
|
import os
|
|
5
|
+
import platform
|
|
5
6
|
import sys
|
|
6
7
|
import threading
|
|
7
8
|
import warnings
|
|
@@ -99,10 +100,19 @@ def _add_npcap_dll_dir():
|
|
|
99
100
|
os.add_dll_directory(npcap)
|
|
100
101
|
|
|
101
102
|
|
|
103
|
+
def _lib_names():
|
|
104
|
+
if sys.platform == "win32":
|
|
105
|
+
return ["ecm.dll", "libecm.dll"]
|
|
106
|
+
if sys.platform == "darwin":
|
|
107
|
+
return ["libecm.dylib"]
|
|
108
|
+
# Wheels ship libecm-linux-<machine>.so; a bare libecm.so comes from
|
|
109
|
+
# local CMake builds (editable installs, sdists).
|
|
110
|
+
return [f"libecm-linux-{platform.machine()}.so", "libecm.so"]
|
|
111
|
+
|
|
112
|
+
|
|
102
113
|
def _load_library():
|
|
103
114
|
_add_npcap_dll_dir()
|
|
104
|
-
names =
|
|
105
|
-
sys.platform, ["libecm.so"])
|
|
115
|
+
names = _lib_names()
|
|
106
116
|
here = os.path.dirname(os.path.abspath(__file__))
|
|
107
117
|
candidates = [os.environ.get("ETHERCAT_MASTER_ECM_LIB")]
|
|
108
118
|
candidates += [os.path.join(here, n) for n in names]
|
|
@@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ethercat-master"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.1"
|
|
8
8
|
description = "Generic EtherCAT master library built directly on SOEM 2.x — bus management, PDO mapping, slave discovery"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "GPL-3.0-or-later"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/cmake/tools/FindSphinx.cmake
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/osal/erika/README.md
RENAMED
|
File without changes
|
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/osal/erika/osal_defs.h
RENAMED
|
File without changes
|
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/osal/intime/osal_defs.h
RENAMED
|
File without changes
|
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/osal/macosx/osal_defs.h
RENAMED
|
File without changes
|
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/osal/rtems/osal_defs.h
RENAMED
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/osal/vxworks/osal.c
RENAMED
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/osal/vxworks/osal_defs.h
RENAMED
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/erika/nicdrv.c
RENAMED
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/erika/nicdrv.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/intime/nicdrv.c
RENAMED
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/intime/nicdrv.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/macosx/nicdrv.c
RENAMED
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/macosx/nicdrv.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/rtems/nicdrv.c
RENAMED
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/rtems/nicdrv.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/vxworks/nicdrv.c
RENAMED
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/vxworks/nicdrv.h
RENAMED
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/vxworks/oshw.c
RENAMED
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/contrib/oshw/vxworks/oshw.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/include/soem/ec_options.h.in
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/Packet32.h
RENAMED
|
File without changes
|
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/bittypes.h
RENAMED
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/ip6_misc.h
RENAMED
|
File without changes
|
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/pcap/bpf.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/pcap/sll.h
RENAMED
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/pcap/usb.h
RENAMED
|
File without changes
|
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/pcap-bpf.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Include/pcap.h
RENAMED
|
File without changes
|
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Lib/Packet.lib
RENAMED
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Lib/libpacket.a
RENAMED
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Lib/libwpcap.a
RENAMED
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Lib/wpcap.lib
RENAMED
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Lib/x64/Packet.lib
RENAMED
|
File without changes
|
{ethercat_master-0.2.0 → ethercat_master-0.2.1}/third_party/SOEM/oshw/win32/wpcap/Lib/x64/wpcap.lib
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|