refactor: move the v2 controller to the repository root

The ESP-IDF project, docs, tools, tests and web UI move from v2/ to the
root, and the Makefile, README, build scripts and test runner drop the
v2/ prefix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Opus 5.5 committed 2026-11-02 23:44:58 +13:00
1 parent 71bd320661
commit 1c222771a5
66 files changed
+30 -31

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env python3
"""Reset the board on PORT and print its console for SECS seconds (no terminal needed)."""
import sys
import time
import serial
port = sys.argv[1] if len(sys.argv) > 1 else "/dev/ttyACM0"
secs = float(sys.argv[2]) if len(sys.argv) > 2 else 10
s = serial.Serial(port, 115200, timeout=0.3)
s.dtr, s.rts = False, True # pulse reset through the USB serial lines
time.sleep(0.1)
s.rts = False
end = time.time() + secs
while time.time() < end:
data = s.read(4096)
if data:
sys.stdout.write(data.decode(errors="replace"))
sys.stdout.flush()