| applyTo | ** |
|---|
- Firmware for an ESP32-based laser tag "tagger".
- Built and managed using PlatformIO with configuration in
platformio.ini.
- Always run builds from the project root directory.
- Preferred build command for this workspace (used by Copilot):
/Users/urs/.platformio/penv/bin/platformio run -d /Users/urs/development/arduino/projects/smt32/tagger. - Alternative:
make(runs./update_git_hash.shthenplatformio run). - Clean build:
make clean(invokesplatformio run --target clean). - Upload firmware:
make upload(invokesplatformio run -t upload).
- Treat
platformio runas the canonical way to build. - If
platformiois not found in PATH, suggest the user install PlatformIO (https://platformio.org/install) or use their existing IDE integration to build.
- Follow existing formatting and patterns in the
src/directory. - Prefer splitting classes into
.h/.cpppairs, mirroringmotors.h/motors.cpp. - Avoid adding new dependencies unless strictly necessary; rely on PlatformIO-managed libraries in
platformio.ini.
- There are no dedicated unit tests; validation is primarily via successful build and flashing to hardware.
- When changing firmware behavior, suggest the user test on real hardware.