按规划持续工作

结论:接通 LinuxCNC M68/M66 到 standalone HAL adapter 的同步边界,新增 native remap/HAL 验证,确认 5axis switchkins remap 所需的 _hal[motion.switchkins-type] 读回路径可用。
This commit is contained in:
2026-06-08 17:05:24 +08:00
parent 3a58f1e495
commit 42da16214d
7 changed files with 207 additions and 0 deletions

View File

@@ -697,6 +697,11 @@ REMAP_PARSE_SOURCES=(
"$WRAP_DIR/linuxcnc_remap_parse_harness.cpp"
)
REMAP_HAL_SYNC_SOURCES=(
"${INTERP_CORE_SOURCES[@]}"
"$WRAP_DIR/linuxcnc_remap_hal_sync_harness.cpp"
)
build_binary_target \
linuxcnc_ini_probe \
"$BUILD_DIR/linuxcnc_ini_probe" \
@@ -1282,6 +1287,28 @@ else
"$BUILD_DIR/linuxcnc_remap_parse_harness.run.stderr.log"
fi
build_binary_target \
linuxcnc_remap_hal_sync_harness \
"$BUILD_DIR/linuxcnc_remap_hal_sync_harness" \
REMAP_RUNTIME_FLAGS \
REMAP_HAL_SYNC_SOURCES \
MINIMAL_LINK_FLAGS
if [[ "$(tr -d '[:space:]' < "$BUILD_DIR/linuxcnc_remap_hal_sync_harness.exitcode")" == "0" ]]; then
set +e
"$BUILD_DIR/linuxcnc_remap_hal_sync_harness" \
>"$BUILD_DIR/linuxcnc_remap_hal_sync_harness.run.stdout.log" \
2>"$BUILD_DIR/linuxcnc_remap_hal_sync_harness.run.stderr.log"
REMAP_HAL_SYNC_RUN_RC=$?
set -e
echo "$REMAP_HAL_SYNC_RUN_RC" > "$BUILD_DIR/linuxcnc_remap_hal_sync_harness.run.exitcode"
else
rm -f \
"$BUILD_DIR/linuxcnc_remap_hal_sync_harness.run.exitcode" \
"$BUILD_DIR/linuxcnc_remap_hal_sync_harness.run.stdout.log" \
"$BUILD_DIR/linuxcnc_remap_hal_sync_harness.run.stderr.log"
fi
build_binary_target \
linuxcnc_indexer_harness \
"$BUILD_DIR/linuxcnc_indexer_harness" \