mirror of
https://github.com/cjfranko/NTP-Timeturner.git
synced 2025-11-08 18:32:02 +00:00
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:
parent
f855cac040
commit
98963b0b9a
3 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue