fix: 增加一些脚本

This commit is contained in:
wangzhongjie 2025-05-08 11:13:01 +08:00
parent 8c9a45ac86
commit 974d3c0b60
14 changed files with 122 additions and 0 deletions

13
README.md Normal file
View File

@ -0,0 +1,13 @@
<!--
* @Author: wangzhongjie
* @Date: 2025-05-08 11:10:01
* @LastEditors: wangzhongjie
* @LastEditTime: 2025-05-08 11:12:15
* @Description:
* @Email: shutdown0630@163.com
-->
# 以下说明的目录是可以动的,其它目录切不可动,不可删除,不可新增
## hap目录存放最新的hap包,如果之前有hap包,请先删除或者覆盖,不可存放多个hap包,并且保证名称为entry-default-signed
## in目录存放需要导入到板子中的一些配置文件或者目录
## out目录存放导出到板子中的一些配置文件或者目录
## logs目录存放板子运行时的日志文件,以及轨迹文件导出

9
hap/README.md Normal file
View File

@ -0,0 +1,9 @@
<!--
* @Author: wangzhongjie
* @Date: 2025-05-08 11:08:38
* @LastEditors: wangzhongjie
* @LastEditTime: 2025-05-08 11:09:43
* @Description:
* @Email: shutdown0630@163.com
-->
这个目录存放需要安装的最新的外壳hap包

Binary file not shown.

9
in/README.md Normal file
View File

@ -0,0 +1,9 @@
<!--
* @Author: wangzhongjie
* @Date: 2025-05-08 11:08:38
* @LastEditors: wangzhongjie
* @LastEditTime: 2025-05-08 11:08:59
* @Description:
* @Email: shutdown0630@163.com
-->
这个目录存放需要导入到板子里面的一些配置文件目录

9
out/README.md Normal file
View File

@ -0,0 +1,9 @@
<!--
* @Author: wangzhongjie
* @Date: 2025-05-08 11:08:38
* @LastEditors: wangzhongjie
* @LastEditTime: 2025-05-08 11:09:21
* @Description:
* @Email: shutdown0630@163.com
-->
这里面会存放板子导出来的一些文件目录

View File

@ -0,0 +1,11 @@
@echo off
set TOOLCHAIN_PATH=.\win
set CONFIG_PATH=..\in
cd %TOOLCHAIN_PATH%
.\hdc.exe shell "rm -rf /mnt/hmdfs/100/account/device_view/local/files/skip_scan_dir.conf"
echo "remove skip_scan_dir.conf success"
.\hdc.exe file send %CONFIG_PATH%\skip_scan_dir.conf /mnt/hmdfs/100/account/device_view/local/files
echo "all success"
pause

9
导入voice文件.bat Normal file
View File

@ -0,0 +1,9 @@
@echo off
set TOOLCHAIN_PATH=.\win
set CONFIG_PATH=..\in
cd %TOOLCHAIN_PATH%
.\hdc.exe file send %CONFIG_PATH%\voice /mnt/hmdfs/100/account/device_view/local/files/duolun/voice
echo "all success"
pause

9
导入考车配置.bat Normal file
View File

@ -0,0 +1,9 @@
@echo off
set TOOLCHAIN_PATH=.\win
set CONFIG_PATH=..\in
cd %TOOLCHAIN_PATH%
.\hdc.exe file send %CONFIG_PATH%\config /mnt/hmdfs/100/account/device_view/local/files/duolun/config
echo "all success"
pause

View File

@ -0,0 +1,9 @@
@echo off
set TOOLCHAIN_PATH=.\win
set CONFIG_PATH=..\in
cd %TOOLCHAIN_PATH%
.\hdc.exe file send %CONFIG_PATH%\carcheck.txt /mnt/hmdfs/100/account/device_view/local/files/duolun/config/carcheck.txt
echo "all success"
pause

View File

@ -0,0 +1,9 @@
@echo off
set TOOLCHAIN_PATH=.\win
set CONFIG_PATH=..\out
cd %TOOLCHAIN_PATH%
.\hdc.exe file recv /mnt/hmdfs/100/account/device_view/local/files/skip_scan_dir.conf %CONFIG_PATH%
echo "all success"
pause

9
导出voice文件.bat Normal file
View File

@ -0,0 +1,9 @@
@echo off
set TOOLCHAIN_PATH=.\win
set MODELS_PATH=..\out
cd %TOOLCHAIN_PATH%
.\hdc.exe file recv /mnt/hmdfs/100/account/device_view/local/files/duolun/voice %MODELS_PATH%
echo "all success"
pause

9
导出加密模型.bat Normal file
View File

@ -0,0 +1,9 @@
@echo off
set TOOLCHAIN_PATH=.\win
set MODELS_PATH=..\out
cd %TOOLCHAIN_PATH%
.\hdc.exe file recv /mnt/hmdfs/100/account/device_view/local/files/duolun/models %MODELS_PATH%
echo "all success"
pause

8
导出考车配置.bat Normal file
View File

@ -0,0 +1,8 @@
@echo off
set TOOLCHAIN_PATH=.\win
set CONFIG_PATH=..\out
cd %TOOLCHAIN_PATH%
.\hdc.exe file recv /mnt/hmdfs/100/account/device_view/local/files/duolun/config %CONFIG_PATH%
echo "all success"
pause

View File

@ -0,0 +1,9 @@
@echo off
set TOOLCHAIN_PATH=.\win
set CONFIG_PATH=..\out
cd %TOOLCHAIN_PATH%
.\hdc.exe file recv /mnt/hmdfs/100/account/device_view/local/files/duolun/config/carcheck.txt %CONFIG_PATH%
echo "all success"
pause