You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: board/pedal/Makefile
+3
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,9 @@ DFU_UTIL = "dfu-util"
18
18
CERT = ../../certs/debug
19
19
CFLAGS += "-DALLOW_DEBUG"
20
20
21
+
canflash: obj/$(PROJ_NAME).bin
22
+
../../tests/pedal/enter_canloader.py $<
23
+
21
24
usbflash: obj/$(PROJ_NAME).bin
22
25
../../tests/pedal/enter_canloader.py; sleep 0.5
23
26
PYTHONPATH=../../ python -c "from python import Panda; p = [x for x in [Panda(x) for x in Panda.list()] if x.bootstub]; assert(len(p)==1); p[0].flash('obj/$(PROJ_NAME).bin', reconnect=False)"
0 commit comments