Controller promoted to canonical driver repo grblHAL-glowforge

The step backend now lives in github.com/ScottW514/grblHAL-glowforge
  (grblHAL driver convention: core submodule, driver.c HAL, board header).
  Add build-glowforge.sh, update the BRINGUP runbook (no -t throttle,
  EEPROM path, kill-before-scp, producer stats line, reset/disconnect
  semantics), and teach bench_m2.py to parse the F: status field (no
  spindle registered = no FS: field). Settings-write crash fix is
  upstream as grblHAL/core PR 999.
This commit is contained in:
ScottW514
2026-08-02 14:19:53 -04:00
parent d69bfad77a
commit 78875f8e89
4 changed files with 68 additions and 27 deletions
+4 -1
View File
@@ -75,9 +75,12 @@ class Grbl:
state = st[1:].split('|')[0]
if not states or states[-1] != state:
states.append(state)
for f in st.split('|'):
for f in st[1:-1].split('|'):
# FS:feed,speed with a spindle registered; F:feed without
if f.startswith('FS:'):
peak = max(peak, float(f[3:].split(',')[0]))
elif f.startswith('F:'):
peak = max(peak, float(f[2:].split(',')[0]))
if state.startswith('Idle'):
return peak, states
time.sleep(poll)