Adding environment setup and instructions

This commit is contained in:
Brent Perteet
2025-07-22 14:04:27 -05:00
parent 311981ceb4
commit dc2885e02e
23 changed files with 3741 additions and 114 deletions

22
flash.bat Normal file
View File

@@ -0,0 +1,22 @@
@echo off
REM =============================================
REM Flash ESP32 using Python script + settings.json
REM =============================================
REM Check for venv
IF NOT EXIST .venv\Scripts\python.exe (
echo [ERROR] Python virtual environment not found at .venv\
echo Run setup-env.bat first.
pause
exit /b 1
)
REM Activate venv and run flash.py
call .venv\Scripts\activate.bat
echo [INFO] Flashing firmware using flash.py and settings.json...
python flash_tool\flash.py
REM Pause to view output
echo.
pause