纯前端上位机界面 + esp32_server.py 静态服务/桌面窗口外壳, 不含固件、 不直接访问硬件; 业务 API 由 ESP32_COMM 固件 80 端口跨域提供。 - tabs.html 单窗口多标签外壳, iframe 承载各功能页 - index.html OTA 中继(ESP32 WiFi / GD32 relay / BLE), js/ota + js/ble - can.html / can_monitor.html CAN 通信与接收监控, js/can - motor.html 电机 CAN FD 控制台, js/motor - continuity_test.html LAN9252 通断测试, spi_test.html SPI 测速(临时, 自包含) - 三入口: esp32_app.vbs 桌面窗口 / esp32_web.vbs 浏览器 / serve.bat 控制台调试 - 补 README(页面与目录约定、?v= 缓存版本等改动须知)、.gitignore、 .gitattributes(* -text 保持 Windows 换行原样)
23 lines
568 B
Batchfile
23 lines
568 B
Batchfile
@echo off
|
|
REM Clear MSYS/MINGW env vars to bypass IDF MSys detection when called from Git Bash
|
|
set MSYSTEM=
|
|
set MSYSTEM_CHOST=
|
|
set MSYSTEM_PREFIX=
|
|
set MINGW_CHOST=
|
|
set MINGW_PREFIX=
|
|
set MINGW_PACKAGE_PREFIX=
|
|
set CHERE_INVOKING=
|
|
set MSYS2_PATH_TYPE=
|
|
|
|
REM Toolchain installed at C:\Espressif (see .vscode/settings.json idf.toolsPath)
|
|
set IDF_TOOLS_PATH=C:\Espressif
|
|
|
|
call "F:\software\.espressif\v6.0\esp-idf\export.bat"
|
|
if errorlevel 1 (
|
|
echo EXPORT_FAILED
|
|
exit /b 1
|
|
)
|
|
|
|
cd /d "G:\Robot_v2\DCU\ESP32_COMM"
|
|
idf.py build
|
|
exit /b %errorlevel%
|