feat: 完成立体声 demo 的 client / server 构建

This commit is contained in:
Del Wang
2025-12-29 11:23:58 +08:00
parent e3c8bbb347
commit d7eeba90fd
7 changed files with 171 additions and 136 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ set -e
# # 1. 编译 demo
# echo "Compiling hello demo..."
# docker run --rm -v $(pwd):/app/hello open-xiaoai-runtime \
# cargo build --manifest-path hello/Cargo.toml --target armv7-unknown-linux-gnueabihf --release
# cargo build --manifest-path hello/Cargo.toml --target armv7-unknown-linux-gnueabihf --bin client --release
# # 2. 上传二进制文件到小爱音箱
# function upload_to_xiaoai() {
@@ -21,5 +21,5 @@ set -e
# upload_to_xiaoai client 192.168.31.153 # left
# upload_to_xiaoai client 192.168.31.235 # right
cargo build --release
cargo build --bin server --release
./target/release/server