feat(Puya-PY32F040): add OTA dual-project codegen template
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user