openpilot v0.9.6 release

date: 2024-02-21T23:02:42
master commit: 0b4d08fab8e35a264bc7383e878538f8083c33e5
This commit is contained in:
FrogAi
2024-02-27 16:34:45 -07:00
commit 2901597132
1940 changed files with 647891 additions and 0 deletions

17
panda/board/jungle/flash.py Executable file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env python3
import os
import subprocess
from panda import PandaJungle
board_path = os.path.dirname(os.path.realpath(__file__))
if __name__ == "__main__":
subprocess.check_call(f"scons -C {board_path}/.. -u -j$(nproc) {board_path}", shell=True)
serials = PandaJungle.list()
print(f"found {len(serials)} panda jungle(s) - {serials}")
for s in serials:
print("flashing", s)
with PandaJungle(serial=s) as p:
p.flash()