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.

48 lines
887 B

2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. # linux_demo_project
  2. ```
  3. 功能:
  4. 1. 打通CAN通道
  5. 2. 打通ws通道,
  6. 2. 解析CAN消息,并上报给ws
  7. 3. 解析ws消息并发送给CAN
  8. ```
  9. ## 编译RK3328
  10. ```bash
  11. # 板子初始化
  12. ./sh/boardinit.sh \
  13. --device_info "DEVICE_ID=iflytop_demo_device" \
  14. --device_info "FRP_SERVER_ADDR=47.92.195.73" \
  15. --device_info "STARTUP_DEFAULT_URL=127.0.0.1:80" \
  16. --fixmac true \
  17. --ip 192.168.1.191
  18. # 初始化环境
  19. ./build.sh envsetup
  20. # 仅编译
  21. ./build.sh build
  22. # 编译调试版本,Cmake使用的是cmakepc.cmake
  23. ./build.sh buildhost
  24. # 编译打包部署(整包)
  25. ./build.sh --ip <ip> flash
  26. # 编译打包部署,重启系统(整包)
  27. ./build.sh --ip <ip> flash reboot
  28. # 编译并只部署应用
  29. ./build.sh --ip <ip> flashapp "app.out"
  30. # 只部署webapp
  31. ./build.sh --ip <ip> flashwebapp
  32. # 配置ssh-key,免密登录
  33. ./build.sh --ip <ip> ssh_copy_id
  34. ```