M350b版本

This commit is contained in:
xin
2025-12-24 09:10:08 +08:00
parent 72b1b29c10
commit 257708ae42
83 changed files with 19895 additions and 4 deletions

29
othersoft/co2correct/build.sh Executable file
View File

@ -0,0 +1,29 @@
#!/bin/bash
# CO2传感器校准工具构建脚本
echo "开始构建CO2传感器校准工具..."
# 创建构建目录
if [ ! -d "build" ]; then
mkdir build
fi
cd build
# 运行CMake配置
echo "运行CMake配置..."
cmake ..
# 编译
echo "开始编译..."
make
if [ $? -eq 0 ]; then
echo "构建成功!"
echo "可执行文件位置: $(pwd)/CO2Correct"
else
echo "构建失败!"
exit 1
fi