Browse Source

recode build.sh

master
zhaohe 2 years ago
parent
commit
d5ec292916
  1. 17
      .project/packet.sh
  2. 2
      README.md
  3. 2
      iflybuild

17
.project/packet.sh

@ -3,8 +3,19 @@
########################打包自定义的东西##############################
####################################################################
# 下载唤醒词模型
wget_and_unzip_to_packet_dir xiaomaoxiaomao ftp://zftpuser:zftpzwsd@192.168.1.2/zwsd/manufacturer_mycroft/hotworld/xiaomaoxiaomao/xiaomaoxiaomao_module_20220609.tar.gz
wget_and_untar_to_packet_dir \
192.168.1.2:8021/manufacturer_mycroft/hotworld/xiaomaoxiaomao/xiaomaoxiaomao_module_20220609.tar.gz \
xiaomaoxiaomao \
./ \
xiaomaoxiaomao
# 下载唤醒词引擎
wget_and_unzip_to_packet_dir precise 192.168.1.2:8021/manufacturer_mycroft/mycroft-precise-release/precise-all_0.3.0_aarch64.tar.gz
wget_and_untar_to_packet_dir \
192.168.1.2:8021/manufacturer_mycroft/mycroft-precise-release/precise-all_0.3.0_aarch64.tar.gz \
precise \
./ \
precise
# 下载唤醒词语音
wget_and_cpy_to_packet_dir 192.168.1.2:8021/manufacturer_mycroft/hotworld/xiaomaoxiaomao/test_xiaomaoxiaomao.wav
wget_and_cpy_to_packet_dir 192.168.1.2:8021/manufacturer_mycroft/hotworld/xiaomaoxiaomao/test_xiaomaoxiaomao.wav \
./ \
test_xiaomaoxiaomao.wav

2
README.md

@ -34,7 +34,7 @@
./build.sh --ip <ip> flash reboot
# 编译并只部署应用
./build.sh --ip <ip> --flashapp "app.out"
./build.sh --ip <ip> flashapp "app.out"
# 只部署webapp
./build.sh --ip <ip> flashwebapp

2
iflybuild

@ -1 +1 @@
Subproject commit 2340768938b03846eb3d2879e734c578e721a301
Subproject commit 401d6120357dd2879259fce48bf50adf7c43764d
Loading…
Cancel
Save