feat: enable mock serial port via HACI_SERIAL_PORT and update logs

Co-authored-by: aider (openai/gpt-5) <aider@aider.chat>
This commit is contained in:
Chaos Rogers 2025-10-21 23:44:29 +01:00
parent f855cac040
commit 98963b0b9a
3 changed files with 5 additions and 1 deletions

View file

@ -20,6 +20,9 @@ if [ "${MOCK_TEENSY:-0}" = "1" ]; then
done
if [ ! -e /dev/ttyACM0 ]; then
echo "[entrypoint] WARNING: Failed to create /dev/ttyACM0 (mock Teensy)" >&2
else
export HACI_SERIAL_PORT=/dev/ttyACM0
echo "[entrypoint] Using mock serial at $HACI_SERIAL_PORT" >&2
fi
fi