实现小板在线信息,支持主板程序V2.10及以上

This commit is contained in:
ranchuan
2023-12-29 18:10:31 +08:00
parent ff87d33675
commit e44d5716cb
7 changed files with 835 additions and 18 deletions

View File

@@ -228,6 +228,7 @@ class console_dlg(QObject):
self.cmd_list.append("cp "+self.find_file_by_type(".bin")+" /home/root/config/checker_slave.bin")
self.cmd_list.append("cp "+self.find_file_by_type("scheme.json")+" /home/root/config/checker_ye_cfg.json")
self.cmd_list.append("cp cfg.json /home/root/config/cfg.json")
self.cmd_list.append("cp "+self.find_file_by_type(".sh")+" /home/root/config/checker_app_pre.sh")
self.cmd_list.append("cp "+self.find_file_by_type(".axf")+" /lib/firmware/checker_m4.axf")
self.cmd_list.append("cp "+self.find_file_by_type(".dtb")+" /boot/stm32mp157d-atk.dtb")
self.cmd_list.append("cp "+self.find_file_by_type(".py")+ " /home/root/daemon.py")