@echo off REM One-click build for OTA firmware (Bootloader + App, two independent projects) REM Output -> Output\ (bootloader.hex / app.hex / app.bin ...) REM Both projects reference the top-level Shared\ + Drivers\ directly. REM Change OTA mode in Shared\ota_config.h, then re-run this script. cd /d "%~dp0" set PY=python where python >nul 2>nul || set PY=py %PY% tools\build_all.py pause