- protocol: 修复 edc_cycle_parse_byte 状态机死代码 (switch 恒 return, 收帧逻辑不可达), 并加 LEN 未就绪保护 - protocol: UART 默认引脚改为 GPIO11/12 (UART0) - sdkconfig.defaults: 控制台切至 USB Serial/JTAG, 避免与协议 UART0 冲突 - web_ctrl: 新增协议状态 API 与 Cycle 快照; on_cycle 回 DONE 并按 cycle_id 去重 - main: 接入协议初始化与接收任务, 更新接线注释 - 实测: MPU 每秒下发 Cycle, I2C/UART 双通道 12/12 收, DONE 12/12 回
80 lines
1.2 KiB
Plaintext
80 lines
1.2 KiB
Plaintext
# macOS
|
|
.DS_Store
|
|
.AppleDouble
|
|
.LSOverride
|
|
|
|
# Directory metadata
|
|
.directory
|
|
|
|
# Temporary files
|
|
*~
|
|
*.swp
|
|
*.swo
|
|
*.bak
|
|
*.tmp
|
|
|
|
# Log files
|
|
*.log
|
|
|
|
# Build artifacts and directories
|
|
**/build/
|
|
build/
|
|
*.o
|
|
*.a
|
|
*.out
|
|
*.exe # For any host-side utilities compiled on Windows
|
|
|
|
# ESP-IDF specific build outputs
|
|
*.bin
|
|
*.elf
|
|
*.map
|
|
flasher_args.json # Generated in build directory
|
|
sdkconfig.old
|
|
sdkconfig
|
|
|
|
# ESP-IDF dependencies
|
|
# For older versions or manual component management
|
|
/components/.idf/
|
|
**/components/.idf/
|
|
# For modern ESP-IDF component manager
|
|
managed_components/
|
|
# If ESP-IDF tools are installed/referenced locally to the project
|
|
.espressif/
|
|
|
|
# CMake generated files
|
|
CMakeCache.txt
|
|
CMakeFiles/
|
|
cmake_install.cmake
|
|
install_manifest.txt
|
|
CTestTestfile.cmake
|
|
|
|
# Python environment files
|
|
*.pyc
|
|
*.pyo
|
|
*.pyd
|
|
__pycache__/
|
|
*.egg-info/
|
|
dist/
|
|
|
|
# Virtual environment folders
|
|
venv/
|
|
.venv/
|
|
env/
|
|
|
|
# Language Servers
|
|
.clangd/
|
|
.ccls-cache/
|
|
compile_commands.json
|
|
|
|
# Windows specific
|
|
Thumbs.db
|
|
ehthumbs.db
|
|
Desktop.ini
|
|
|
|
# User-specific configuration files
|
|
*.user
|
|
*.workspace # General workspace files, can be from various tools
|
|
*.suo # Visual Studio Solution User Options
|
|
*.sln.docstates # Visual Studio
|
|
|
|
.cache/ |