Getting Started
Prerequisites
Quick Flash (No Build Required)
If you just want to flash pre-built firmware, use the Web Flasher — no tools or build environment needed, just a Chromium browser and a USB cable.
Build and Flash
The project uses scripts/idf.sh to handle board selection and build directories. Mise tasks provide convenient shortcuts:
# JC8012P4A1C (large, 800x1280) — default board
mise run esp build flash monitor
# JC4880P443C (small, 480x800)
mise run esp-small build flash monitor
# JC1060P470C (medium, 1024x600)
mise run esp-medium build flash monitor
Or use the script directly:
scripts/idf.sh jc8012p4a1c build flash monitor
First Boot
On first boot, the device will:
- Show the WiFi Setup screen — select your network and enter the password
- After connecting, show the Station Search screen — search for your departure station
- Display the Departures board with real-time data
Configuration is saved to flash and persists across reboots.
Development Workflow
- Make changes to shared code in
shared/ - Test quickly with the desktop simulator
- Build and flash to hardware when ready