添加普冉 PY32F040 OTA 双工程代码生成模板

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-18 18:59:56 +08:00
co-authored by Cursor
commit 331864dc64
496 changed files with 329040 additions and 0 deletions
+10
View File
@@ -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