You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
843 B

3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. # linux_smart_speaker_sdk
  2. ```
  3. # 此工程基于 https://iflytop1.feishu.cn/wiki/wikcnO8wSlckAFUfY6VvZHFsgIc 实现
  4. ```
  5. ## 编译RK3328
  6. ```bash
  7. # 板子初始化
  8. ./sh/boardinit.sh \
  9. --device_info "DEVICE_ID=iflytop_demo_device" \
  10. --device_info "FRP_SERVER_ADDR=47.92.195.73" \
  11. --device_info "STARTUP_DEFAULT_URL=127.0.0.1:80" \
  12. --fixmac true \
  13. --ip 192.168.1.191
  14. # 初始化环境
  15. ./build.sh envsetup
  16. # 仅编译
  17. ./build.sh build
  18. # 编译调试版本,Cmake使用的是cmakepc.cmake
  19. ./build.sh buildhost
  20. # 编译打包部署(整包)
  21. ./build.sh --ip <ip> flash
  22. # 编译打包部署,重启系统(整包)
  23. ./build.sh --ip <ip> flash reboot
  24. # 编译并只部署应用
  25. ./build.sh --ip <ip> flashapp "app.out"
  26. # 只部署webapp
  27. ./build.sh --ip <ip> flashwebapp
  28. # 配置ssh-key,免密登录
  29. ./build.sh --ip <ip> ssh_copy_id
  30. ```